From 4fc001f64522474543fc45e44217e919e6b4ab43 Mon Sep 17 00:00:00 2001 From: Riccardo Forina Date: Wed, 27 Nov 2024 10:51:46 +0100 Subject: [PATCH] Improved test app UX --- packages/test-app/src/App.tsx | 15 +- packages/test-app/src/AppContext.tsx | 42 +- .../src/_test-data/github-v3-rest-api.json | 311021 +++++++++++++++ .../src/_test-data/rebilly-rest-api.json | 27363 ++ packages/test-app/src/components/Layout.tsx | 108 +- .../test-app/src/components/SpecUploader.tsx | 112 +- 6 files changed, 338594 insertions(+), 67 deletions(-) create mode 100644 packages/test-app/src/_test-data/github-v3-rest-api.json create mode 100644 packages/test-app/src/_test-data/rebilly-rest-api.json diff --git a/packages/test-app/src/App.tsx b/packages/test-app/src/App.tsx index b7fe288..4703ffc 100644 --- a/packages/test-app/src/App.tsx +++ b/packages/test-app/src/App.tsx @@ -50,10 +50,9 @@ self.MonacoEnvironment = { loader.config({ monaco }); function App() { - const [spec, setSpec] = useState(null); const [captureChanges, setCaptureChanges] = useState(true); const [output, setOutput] = useState(""); - const { showDebugger, showXStateInspector } = useAppContext(); + const { showDebugger, showXStateInspector, spec, setSpec } = useAppContext(); const { inspect, start, stop } = createBrowserInspector({ autoStart: false, }); @@ -92,10 +91,16 @@ function App() { // or, you could do // editorRef.current.updateDocument(...newSpec...); } - }, []); + }, [setSpec]); - if (spec === null) { - return ; + if (spec === undefined) { + return ( + { + setSpec(spec); + }} + /> + ); } return ( <> diff --git a/packages/test-app/src/AppContext.tsx b/packages/test-app/src/AppContext.tsx index f5f5572..bcc61b9 100644 --- a/packages/test-app/src/AppContext.tsx +++ b/packages/test-app/src/AppContext.tsx @@ -1,29 +1,39 @@ -import {createContext, ReactNode, useContext, useState} from "react"; +import { createContext, ReactNode, useContext, useState } from "react"; -const AppContext = createContext<{ - showDebugger: boolean, - showXStateInspector: boolean, - setDebugger: (value: boolean) => void, - setXStateInspector: (value: boolean) => void, -} | undefined>(undefined) +const AppContext = createContext< + | { + spec?: string; + showDebugger: boolean; + showXStateInspector: boolean; + setSpec: (value?: string) => void; + setDebugger: (value: boolean) => void; + setXStateInspector: (value: boolean) => void; + } + | undefined +>(undefined); export function AppProvider({ children }: { children: ReactNode }) { + const [spec, setSpec] = useState(undefined); const [showDebugger, setDebugger] = useState(false); const [showXStateInspector, setXStateInspector] = useState(false); return ( - + {children} - ) + ); } export function useAppContext() { const ctx = useContext(AppContext); - if (!ctx) throw new Error('useAppContext must be used within AppProvider'); + if (!ctx) throw new Error("useAppContext must be used within AppProvider"); return ctx; -} \ No newline at end of file +} diff --git a/packages/test-app/src/_test-data/github-v3-rest-api.json b/packages/test-app/src/_test-data/github-v3-rest-api.json new file mode 100644 index 0000000..b064f96 --- /dev/null +++ b/packages/test-app/src/_test-data/github-v3-rest-api.json @@ -0,0 +1,311021 @@ +{ + "openapi": "3.0.3", + "servers": [ + { + "url": "https://api.github.com" + } + ], + "info": { + "contact": { + "name": "Support", + "url": "https://support.github.com/contact?tags=dotcom-rest-api" + }, + "description": "GitHub's v3 REST API.", + "license": { + "name": "MIT", + "url": "https://spdx.org/licenses/MIT" + }, + "termsOfService": "https://docs.github.com/articles/github-terms-of-service", + "title": "GitHub v3 REST API", + "version": "1.1.4", + "x-apisguru-categories": [ + "collaboration", + "developer_tools" + ], + "x-github-plan": "api.github.com", + "x-logo": { + "url": "https://api.apis.guru/v2/cache/logo/https_twitter.com_github_profile_image.jpeg" + }, + "x-origin": [ + { + "format": "openapi", + "url": "https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json", + "version": "3.0" + } + ], + "x-providerName": "github.com", + "x-serviceName": "api.github.com" + }, + "externalDocs": { + "description": "GitHub v3 REST API", + "url": "https://docs.github.com/rest/" + }, + "tags": [ + { + "description": "Endpoints to manage GitHub Actions using the REST API.", + "name": "actions" + }, + { + "description": "Activity APIs provide access to notifications, subscriptions, and timelines.", + "name": "activity" + }, + { + "description": "Information for integrations and installations.", + "name": "apps" + }, + { + "description": "Monitor charges and usage from Actions and Packages.", + "name": "billing" + }, + { + "description": "Rich interactions with checks run by your integrations.", + "name": "checks" + }, + { + "description": "Retrieve code scanning alerts from a repository.", + "name": "code-scanning" + }, + { + "description": "Insight into codes of conduct for your communities.", + "name": "codes-of-conduct" + }, + { + "description": "Endpoints to manage Codespaces using the REST API.", + "name": "codespaces" + }, + { + "description": "List emojis available to use on GitHub.", + "name": "emojis" + }, + { + "description": "Endpoints to manage Dependabot.", + "name": "dependabot" + }, + { + "description": "Endpoints to access Dependency Graph features.", + "name": "dependency-graph" + }, + { + "description": "View, modify your gists.", + "name": "gists" + }, + { + "description": "Raw Git functionality.", + "name": "git" + }, + { + "description": "View gitignore templates", + "name": "gitignore" + }, + { + "description": "Owner or admin management of users interactions.", + "name": "interactions" + }, + { + "description": "Interact with GitHub Issues.", + "name": "issues" + }, + { + "description": "View various OSS licenses.", + "name": "licenses" + }, + { + "description": "Render GitHub flavored markdown", + "name": "markdown" + }, + { + "description": "Interact with GitHub Merge Queues.", + "name": "merge-queue" + }, + { + "description": "Endpoints that give information about the API.", + "name": "meta" + }, + { + "description": "Move projects to or from GitHub.", + "name": "migrations" + }, + { + "description": "Endpoints to manage GitHub OIDC configuration using the REST API.", + "name": "oidc" + }, + { + "description": "Interact with GitHub Orgs.", + "name": "orgs" + }, + { + "description": "Manage packages for authenticated users and organizations.", + "name": "packages" + }, + { + "description": "Interact with GitHub Projects.", + "name": "projects" + }, + { + "description": "Interact with GitHub Pull Requests.", + "name": "pulls" + }, + { + "description": "Check your current rate limit status", + "name": "rate-limit" + }, + { + "description": "Interact with reactions to various GitHub entities.", + "name": "reactions" + }, + { + "description": "Interact with GitHub Repos.", + "name": "repos" + }, + { + "description": "Look for stuff on GitHub.", + "name": "search" + }, + { + "description": "Retrieve secret scanning alerts from a repository.", + "name": "secret-scanning" + }, + { + "description": "Interact with GitHub Teams.", + "name": "teams" + }, + { + "description": "Interact with and view information about users and also current user.", + "name": "users" + } + ], + "paths": { + "/": { + "get": { + "description": "Get Hypermedia links to resources accessible in GitHub's REST API", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/overview/resources-in-the-rest-api#root-endpoint" + }, + "operationId": "meta/root", + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/root" + } + }, + "schema": { + "$ref": "#/components/schemas/root" + } + } + }, + "description": "Response" + } + }, + "summary": "GitHub API Root", + "tags": [ + "meta" + ], + "x-github": { + "category": "meta", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/app": { + "get": { + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#get-the-authenticated-app" + }, + "operationId": "apps/get-authenticated", + "parameters": [], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/integration" + } + }, + "schema": { + "$ref": "#/components/schemas/integration" + } + } + }, + "description": "Response" + } + }, + "summary": "Get the authenticated app", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/app-manifests/{code}/conversions": { + "post": { + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#create-a-github-app-from-a-manifest" + }, + "operationId": "apps/create-from-manifest", + "parameters": [ + { + "in": "path", + "name": "code", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/integration-from-manifest" + } + }, + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/integration" + }, + { + "additionalProperties": true, + "properties": { + "client_id": { + "type": "string" + }, + "client_secret": { + "type": "string" + }, + "pem": { + "type": "string" + }, + "webhook_secret": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "client_id", + "client_secret", + "webhook_secret", + "pem" + ], + "type": "object" + } + ] + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Create a GitHub App from a manifest", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/app/hook/config": { + "get": { + "description": "Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#get-a-webhook-configuration-for-an-app" + }, + "operationId": "apps/get-webhook-config-for-app", + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/webhook-config" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-config" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a webhook configuration for an app", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + }, + "patch": { + "description": "Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"[Creating a GitHub App](/developers/apps/creating-a-github-app).\"\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#update-a-webhook-configuration-for-an-app" + }, + "operationId": "apps/update-webhook-config-for-app", + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "content_type": "json", + "insecure_ssl": "0", + "secret": "********", + "url": "https://example.com/webhook" + } + } + }, + "schema": { + "properties": { + "content_type": { + "$ref": "#/components/schemas/webhook-config-content-type" + }, + "insecure_ssl": { + "$ref": "#/components/schemas/webhook-config-insecure-ssl" + }, + "secret": { + "$ref": "#/components/schemas/webhook-config-secret" + }, + "url": { + "$ref": "#/components/schemas/webhook-config-url" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/webhook-config" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-config" + } + } + }, + "description": "Response" + } + }, + "summary": "Update a webhook configuration for an app", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + } + }, + "/app/hook/deliveries": { + "get": { + "description": "Returns a list of webhook deliveries for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#list-deliveries-for-an-app-webhook" + }, + "operationId": "apps/list-webhook-deliveries", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/cursor" + }, + { + "in": "query", + "name": "redelivery", + "required": false, + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/hook-delivery-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/hook-delivery-item" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List deliveries for an app webhook", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + } + }, + "/app/hook/deliveries/{delivery_id}": { + "get": { + "description": "Returns a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#get-a-delivery-for-an-app-webhook" + }, + "operationId": "apps/get-webhook-delivery", + "parameters": [ + { + "$ref": "#/components/parameters/delivery-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/hook-delivery" + } + }, + "schema": { + "$ref": "#/components/schemas/hook-delivery" + } + } + }, + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Get a delivery for an app webhook", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + } + }, + "/app/hook/deliveries/{delivery_id}/attempts": { + "post": { + "description": "Redeliver a delivery for the webhook configured for a GitHub App.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook" + }, + "operationId": "apps/redeliver-webhook-delivery", + "parameters": [ + { + "$ref": "#/components/parameters/delivery-id" + } + ], + "responses": { + "202": { + "$ref": "#/components/responses/accepted" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Redeliver a delivery for an app webhook", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + } + }, + "/app/installations": { + "get": { + "description": "You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app" + }, + "operationId": "apps/list-installations", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/since" + }, + { + "in": "query", + "name": "outdated", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/base-installation-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/installation" + }, + "type": "array" + } + } + }, + "description": "The permissions the installation has are included under the `permissions` key.", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List installations for the authenticated app", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/app/installations/{installation_id}": { + "delete": { + "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/rest/reference/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#delete-an-installation-for-the-authenticated-app" + }, + "operationId": "apps/delete-installation", + "parameters": [ + { + "$ref": "#/components/parameters/installation-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete an installation for the authenticated app", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "Enables an authenticated GitHub App to find an installation's information using the installation id.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#get-an-installation-for-the-authenticated-app" + }, + "operationId": "apps/get-installation", + "parameters": [ + { + "$ref": "#/components/parameters/installation-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/base-installation" + } + }, + "schema": { + "$ref": "#/components/schemas/installation" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get an installation for the authenticated app", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/app/installations/{installation_id}/access_tokens": { + "post": { + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps/#create-an-installation-access-token-for-an-app" + }, + "operationId": "apps/create-installation-access-token", + "parameters": [ + { + "$ref": "#/components/parameters/installation-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "permissions": { + "contents": "read", + "issues": "write" + }, + "repository": "Hello-World" + } + } + }, + "schema": { + "properties": { + "permissions": { + "$ref": "#/components/schemas/app-permissions" + }, + "repositories": { + "description": "List of repository names that the token should have access to", + "items": { + "example": "rails", + "type": "string" + }, + "type": "array" + }, + "repository_ids": { + "description": "List of repository IDs that the token should have access to", + "example": [ + 1 + ], + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/installation-token" + } + }, + "schema": { + "$ref": "#/components/schemas/installation-token" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create an installation access token for an app", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/app/installations/{installation_id}/suspended": { + "delete": { + "description": "Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#unsuspend-an-app-installation" + }, + "operationId": "apps/unsuspend-installation", + "parameters": [ + { + "$ref": "#/components/parameters/installation-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Unsuspend an app installation", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "put": { + "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#suspend-an-app-installation" + }, + "operationId": "apps/suspend-installation", + "parameters": [ + { + "$ref": "#/components/parameters/installation-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Suspend an app installation", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/applications/{client_id}/grant": { + "delete": { + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#delete-an-app-authorization" + }, + "operationId": "apps/delete-authorization", + "parameters": [ + { + "$ref": "#/components/parameters/client-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a" + } + } + }, + "schema": { + "properties": { + "access_token": { + "description": "The OAuth access token used to authenticate to the GitHub API.", + "type": "string" + } + }, + "required": [ + "access_token" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Delete an app authorization", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "oauth-applications" + } + } + }, + "/applications/{client_id}/token": { + "delete": { + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#delete-an-app-token" + }, + "operationId": "apps/delete-token", + "parameters": [ + { + "$ref": "#/components/parameters/client-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a" + } + } + }, + "schema": { + "properties": { + "access_token": { + "description": "The OAuth access token used to authenticate to the GitHub API.", + "type": "string" + } + }, + "required": [ + "access_token" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Delete an app token", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "oauth-applications" + } + }, + "patch": { + "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#reset-a-token" + }, + "operationId": "apps/reset-token", + "parameters": [ + { + "$ref": "#/components/parameters/client-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a" + } + } + }, + "schema": { + "properties": { + "access_token": { + "description": "The access_token of the OAuth application.", + "type": "string" + } + }, + "required": [ + "access_token" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/authorization-with-user" + } + }, + "schema": { + "$ref": "#/components/schemas/authorization" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Reset a token", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "oauth-applications" + } + }, + "post": { + "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#check-a-token" + }, + "operationId": "apps/check-token", + "parameters": [ + { + "$ref": "#/components/parameters/client-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a" + } + } + }, + "schema": { + "properties": { + "access_token": { + "description": "The access_token of the OAuth application.", + "type": "string" + } + }, + "required": [ + "access_token" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/authorization-with-user" + } + }, + "schema": { + "$ref": "#/components/schemas/authorization" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Check a token", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "oauth-applications" + } + } + }, + "/applications/{client_id}/token/scoped": { + "post": { + "description": "Use a non-scoped user-to-server access token to create a repository scoped and/or permission scoped user-to-server access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App as the username and password. Invalid tokens will return `404 NOT FOUND`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/apps/apps#create-a-scoped-access-token" + }, + "operationId": "apps/scope-token", + "parameters": [ + { + "$ref": "#/components/parameters/client-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a", + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read" + }, + "target": "octocat" + } + } + }, + "schema": { + "properties": { + "access_token": { + "description": "The access token used to authenticate to the GitHub API.", + "example": "e72e16c7e42f292c6912e7710c838347ae178b4a", + "type": "string" + }, + "permissions": { + "$ref": "#/components/schemas/app-permissions" + }, + "repositories": { + "description": "The list of repository names to scope the user-to-server access token to. `repositories` may not be specified if `repository_ids` is specified.", + "items": { + "example": "rails", + "type": "string" + }, + "type": "array" + }, + "repository_ids": { + "description": "The list of repository IDs to scope the user-to-server access token to. `repository_ids` may not be specified if `repositories` is specified.", + "example": [ + 1 + ], + "items": { + "type": "integer" + }, + "type": "array" + }, + "target": { + "description": "The name of the user or organization to scope the user-to-server access token to. **Required** unless `target_id` is specified.", + "example": "octocat", + "type": "string" + }, + "target_id": { + "description": "The ID of the user or organization to scope the user-to-server access token to. **Required** unless `target` is specified.", + "example": 1, + "type": "integer" + } + }, + "required": [ + "access_token" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/scope-token" + } + }, + "schema": { + "$ref": "#/components/schemas/authorization" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a scoped access token", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "apps" + } + } + }, + "/apps/{app_slug}": { + "get": { + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps/#get-an-app" + }, + "operationId": "apps/get-by-slug", + "parameters": [ + { + "$ref": "#/components/parameters/app-slug" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/integration" + } + }, + "schema": { + "$ref": "#/components/schemas/integration" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get an app", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/codes_of_conduct": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codes-of-conduct#get-all-codes-of-conduct" + }, + "operationId": "codes-of-conduct/get-all-codes-of-conduct", + "parameters": [], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-of-conduct-simple-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/code-of-conduct" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + } + }, + "summary": "Get all codes of conduct", + "tags": [ + "codes-of-conduct" + ], + "x-github": { + "category": "codes-of-conduct", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/codes_of_conduct/{key}": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codes-of-conduct#get-a-code-of-conduct" + }, + "operationId": "codes-of-conduct/get-conduct-code", + "parameters": [ + { + "in": "path", + "name": "key", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-of-conduct" + } + }, + "schema": { + "$ref": "#/components/schemas/code-of-conduct" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a code of conduct", + "tags": [ + "codes-of-conduct" + ], + "x-github": { + "category": "codes-of-conduct", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/emojis": { + "get": { + "description": "Lists all the emojis available to use on GitHub.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/emojis#get-emojis" + }, + "operationId": "emojis/get", + "parameters": [], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/emojis-get" + } + }, + "schema": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + } + }, + "summary": "Get emojis", + "tags": [ + "emojis" + ], + "x-github": { + "category": "emojis", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/enterprises/{enterprise}/dependabot/alerts": { + "get": { + "description": "Lists Dependabot alerts for repositories that are owned by the specified enterprise.\nTo use this endpoint, you must be a member of the enterprise, and you must use an\naccess token with the `repo` scope or `security_events` scope.\nAlerts are only returned for organizations in the enterprise for which you are an organization owner or a security manager. For more information about security managers, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise" + }, + "operationId": "dependabot/list-alerts-for-enterprise", + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-states" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" + }, + { + "$ref": "#/components/parameters/dependabot-alert-scope" + }, + { + "$ref": "#/components/parameters/dependabot-alert-sort" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/pagination-first" + }, + { + "$ref": "#/components/parameters/pagination-last" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-alerts-for-organization" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/dependabot-alert-with-repository" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "List Dependabot alerts for an enterprise", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "previews": [], + "subcategory": "alerts" + } + } + }, + "/enterprises/{enterprise}/secret-scanning/alerts": { + "get": { + "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\nTo use this endpoint, you must be a member of the enterprise, and you must use an access token with the `repo` scope or `security_events` scope. Alerts are only returned for organizations in the enterprise for which you are an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" + }, + "operationId": "secret-scanning/list-alerts-for-enterprise", + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-state" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-secret-type" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-resolution" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-sort" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-secret-scanning-alert-list" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/organization-secret-scanning-alert" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "List secret scanning alerts for an enterprise", + "tags": [ + "secret-scanning" + ], + "x-github": { + "category": "secret-scanning", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/events": { + "get": { + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-public-events" + }, + "operationId": "activity/list-public-events", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/public-events-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/event" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "List public events", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "events" + } + } + }, + "/feeds": { + "get": { + "description": "GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub global public timeline\n* **User**: The public timeline for any user, using [URI template](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#get-feeds" + }, + "operationId": "activity/get-feeds", + "parameters": [], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/feed" + } + }, + "schema": { + "$ref": "#/components/schemas/feed" + } + } + }, + "description": "Response" + } + }, + "summary": "Get feeds", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "feeds" + } + } + }, + "/gists": { + "get": { + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#list-gists-for-the-authenticated-user" + }, + "operationId": "gists/list", + "parameters": [ + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/base-gist-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/base-gist" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List gists for the authenticated user", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#create-a-gist" + }, + "operationId": "gists/create", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Creating a gist", + "value": { + "description": "Example of a gist", + "files": { + "README.md": { + "content": "Hello World" + } + }, + "public": false + } + } + }, + "schema": { + "properties": { + "description": { + "description": "Description of the gist", + "example": "Example Ruby script", + "type": "string" + }, + "files": { + "additionalProperties": { + "properties": { + "content": { + "description": "Content of the file", + "readOnly": false, + "type": "string" + } + }, + "required": [ + "content" + ], + "type": "object" + }, + "description": "Names and content for the files that make up the gist", + "example": { + "hello.rb": { + "content": "puts \"Hello, World!\"" + } + }, + "type": "object" + }, + "public": { + "oneOf": [ + { + "default": false, + "description": "Flag indicating whether the gist is public", + "example": true, + "type": "boolean" + }, + { + "default": "false", + "enum": [ + "true", + "false" + ], + "example": "true", + "type": "string" + } + ] + } + }, + "required": [ + "files" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/gist" + } + }, + "schema": { + "$ref": "#/components/schemas/gist-simple" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/gists/aa5a315d61ae9438b18d", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a gist", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/gists/public": { + "get": { + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#list-public-gists" + }, + "operationId": "gists/list-public", + "parameters": [ + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/base-gist-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/base-gist" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List public gists", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/gists/starred": { + "get": { + "description": "List the authenticated user's starred gists:", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#list-starred-gists" + }, + "operationId": "gists/list-starred", + "parameters": [ + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/base-gist-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/base-gist" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List starred gists", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/gists/{gist_id}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#delete-a-gist" + }, + "operationId": "gists/delete", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a gist", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#get-a-gist" + }, + "operationId": "gists/get", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/gist" + } + }, + "schema": { + "$ref": "#/components/schemas/gist-simple" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden_gist" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a gist", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "patch": { + "description": "Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists/#update-a-gist" + }, + "operationId": "gists/update", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "deleteFile": { + "summary": "Deleting a gist file", + "value": { + "files": { + "hello.py": null + } + } + }, + "renameFile": { + "summary": "Renaming a gist file", + "value": { + "files": { + "hello.py": { + "filename": "goodbye.py" + } + } + } + }, + "updateGist": { + "summary": "Updating a gist", + "value": { + "description": "An updated gist description", + "files": { + "README.md": { + "content": "Hello World from GitHub" + } + } + } + } + }, + "schema": { + "anyOf": [ + { + "required": [ + "description" + ] + }, + { + "required": [ + "files" + ] + } + ], + "nullable": true, + "properties": { + "description": { + "description": "The description of the gist.", + "example": "Example Ruby script", + "type": "string" + }, + "files": { + "additionalProperties": { + "anyOf": [ + { + "required": [ + "content" + ] + }, + { + "required": [ + "filename" + ] + }, + { + "maxProperties": 0, + "type": "object" + } + ], + "nullable": true, + "properties": { + "content": { + "description": "The new content of the file.", + "type": "string" + }, + "filename": { + "description": "The new filename for the file.", + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "description": "The gist files to be updated, renamed, or deleted. Each `key` must match the current filename\n(including extension) of the targeted gist file. For example: `hello.py`.\n\nTo delete a file, set the whole file to null. For example: `hello.py : null`.", + "example": { + "hello.rb": { + "content": "blah", + "filename": "goodbye.rb" + } + }, + "type": "object" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "deleteFile": { + "$ref": "#/components/examples/delete-gist-file" + }, + "renameFile": { + "$ref": "#/components/examples/rename-gist-file" + }, + "updateGist": { + "$ref": "#/components/examples/gist" + } + }, + "schema": { + "$ref": "#/components/schemas/gist-simple" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update a gist", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/gists/{gist_id}/comments": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#list-gist-comments" + }, + "operationId": "gists/list-comments", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/gist-comment-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/gist-comment" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List gist comments", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "comments" + } + }, + "post": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#create-a-gist-comment" + }, + "operationId": "gists/create-comment", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Creating a comment in a gist", + "value": { + "body": "This is a comment to a gist" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The comment text.", + "example": "Body of the attachment", + "maxLength": 65535, + "type": "string" + } + }, + "required": [ + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/gist-comment" + } + }, + "schema": { + "$ref": "#/components/schemas/gist-comment" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Create a gist comment", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "comments" + } + } + }, + "/gists/{gist_id}/comments/{comment_id}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#delete-a-gist-comment" + }, + "operationId": "gists/delete-comment", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a gist comment", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "comments" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#get-a-gist-comment" + }, + "operationId": "gists/get-comment", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/gist-comment" + } + }, + "schema": { + "$ref": "#/components/schemas/gist-comment" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden_gist" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a gist comment", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "comments" + } + }, + "patch": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#update-a-gist-comment" + }, + "operationId": "gists/update-comment", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Updating a comment in a gist", + "value": { + "body": "This is an update to a comment in a gist" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The comment text.", + "example": "Body of the attachment", + "maxLength": 65535, + "type": "string" + } + }, + "required": [ + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/gist-comment" + } + }, + "schema": { + "$ref": "#/components/schemas/gist-comment" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Update a gist comment", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "comments" + } + } + }, + "/gists/{gist_id}/commits": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#list-gist-commits" + }, + "operationId": "gists/list-commits", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/gist-commit-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/gist-commit" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "example": "; rel=\"next\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List gist commits", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/gists/{gist_id}/forks": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#list-gist-forks" + }, + "operationId": "gists/list-forks", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/gist-fork-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/gist-simple" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List gist forks", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#fork-a-gist" + }, + "operationId": "gists/fork", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/base-gist" + } + }, + "schema": { + "$ref": "#/components/schemas/base-gist" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/gists/aa5a315d61ae9438b18d", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Fork a gist", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/gists/{gist_id}/star": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#unstar-a-gist" + }, + "operationId": "gists/unstar", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Unstar a gist", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#check-if-a-gist-is-starred" + }, + "operationId": "gists/check-is-starred", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + } + ], + "responses": { + "204": { + "description": "Response if gist is starred" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "content": { + "application/json": { + "schema": { + "additionalProperties": false, + "properties": {}, + "type": "object" + } + } + }, + "description": "Not Found if gist is not starred" + } + }, + "summary": "Check if a gist is starred", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "put": { + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#star-a-gist" + }, + "operationId": "gists/star", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Star a gist", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/gists/{gist_id}/{sha}": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#get-a-gist-revision" + }, + "operationId": "gists/get-revision", + "parameters": [ + { + "$ref": "#/components/parameters/gist-id" + }, + { + "in": "path", + "name": "sha", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/gist" + } + }, + "schema": { + "$ref": "#/components/schemas/gist-simple" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Get a gist revision", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/gitignore/templates": { + "get": { + "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gitignore#get-all-gitignore-templates" + }, + "operationId": "gitignore/get-all-templates", + "parameters": [], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "value": [ + "Actionscript", + "Android", + "AppceleratorTitanium", + "Autotools", + "Bancha", + "C", + "C++" + ] + } + }, + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + } + }, + "summary": "Get all gitignore templates", + "tags": [ + "gitignore" + ], + "x-github": { + "category": "gitignore", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/gitignore/templates/{name}": { + "get": { + "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/rest/overview/media-types/) to get the raw contents.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gitignore#get-a-gitignore-template" + }, + "operationId": "gitignore/get-template", + "parameters": [ + { + "in": "path", + "name": "name", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/gitignore-template" + } + }, + "schema": { + "$ref": "#/components/schemas/gitignore-template" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + } + }, + "summary": "Get a gitignore template", + "tags": [ + "gitignore" + ], + "x-github": { + "category": "gitignore", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/installation/repositories": { + "get": { + "description": "List repositories that an app installation can access.\n\nYou must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-app-installation" + }, + "operationId": "apps/list-repos-accessible-to-installation", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repository-paginated-2" + } + }, + "schema": { + "properties": { + "repositories": { + "items": { + "$ref": "#/components/schemas/repository" + }, + "type": "array" + }, + "repository_selection": { + "example": "selected", + "type": "string" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "repositories" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List repositories accessible to the app installation", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "installations" + } + } + }, + "/installation/token": { + "delete": { + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create an installation access token for an app](https://docs.github.com/rest/reference/apps#create-an-installation-access-token-for-an-app)\" endpoint.\n\nYou must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#revoke-an-installation-access-token" + }, + "operationId": "apps/revoke-installation-access-token", + "parameters": [], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Revoke an installation access token", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "installations" + } + } + }, + "/issues": { + "get": { + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#list-issues-assigned-to-the-authenticated-user" + }, + "operationId": "issues/list", + "parameters": [ + { + "description": "Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means issues mentioning you. `subscribed` means issues you're subscribed to updates for. `all` or `repos` means all issues you can see, regardless of participation or creation.", + "in": "query", + "name": "filter", + "required": false, + "schema": { + "default": "assigned", + "enum": [ + "assigned", + "created", + "mentioned", + "subscribed", + "repos", + "all" + ], + "type": "string" + } + }, + { + "description": "Indicates the state of the issues to return.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "default": "open", + "enum": [ + "open", + "closed", + "all" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/labels" + }, + { + "description": "What to sort results by.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "created", + "enum": [ + "created", + "updated", + "comments" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/since" + }, + { + "in": "query", + "name": "collab", + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "orgs", + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "owned", + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "pulls", + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue-with-repo-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/issue" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List issues assigned to the authenticated user", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/licenses": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/licenses#get-all-commonly-used-licenses" + }, + "operationId": "licenses/get-all-commonly-used", + "parameters": [ + { + "in": "query", + "name": "featured", + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/license-simple-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/license-simple" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + } + }, + "summary": "Get all commonly used licenses", + "tags": [ + "licenses" + ], + "x-github": { + "category": "licenses", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/licenses/{license}": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/licenses#get-a-license" + }, + "operationId": "licenses/get", + "parameters": [ + { + "in": "path", + "name": "license", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/license" + } + }, + "schema": { + "$ref": "#/components/schemas/license" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a license", + "tags": [ + "licenses" + ], + "x-github": { + "category": "licenses", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/markdown": { + "post": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/markdown#render-a-markdown-document" + }, + "operationId": "markdown/render", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Rendering markdown", + "value": { + "text": "Hello **world**" + } + } + }, + "schema": { + "properties": { + "context": { + "description": "The repository context to use when creating references in `gfm` mode. For example, setting `context` to `octo-org/octo-repo` will change the text `#42` into an HTML link to issue 42 in the `octo-org/octo-repo` repository.", + "type": "string" + }, + "mode": { + "default": "markdown", + "description": "The rendering mode.", + "enum": [ + "markdown", + "gfm" + ], + "example": "markdown", + "type": "string" + }, + "text": { + "description": "The Markdown text to render in HTML.", + "type": "string" + } + }, + "required": [ + "text" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "text/html": { + "examples": { + "default": { + "summary": "Example response", + "value": "

Hello world

" + } + }, + "schema": { + "type": "string" + } + } + }, + "description": "Response", + "headers": { + "Content-Length": { + "example": "279", + "schema": { + "type": "string" + } + }, + "Content-Type": { + "$ref": "#/components/headers/content-type" + }, + "X-CommonMarker-Version": { + "$ref": "#/components/headers/x-common-marker-version" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + } + }, + "summary": "Render a Markdown document", + "tags": [ + "markdown" + ], + "x-github": { + "category": "markdown", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/markdown/raw": { + "post": { + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/markdown#render-a-markdown-document-in-raw-mode" + }, + "operationId": "markdown/render-raw", + "parameters": [], + "requestBody": { + "content": { + "text/plain": { + "examples": { + "default": { + "value": { + "text": "Hello **world**" + } + } + }, + "schema": { + "type": "string" + } + }, + "text/x-markdown": { + "examples": { + "default": { + "summary": "Rendering markdown", + "value": { + "text": "Hello **world**" + } + } + }, + "schema": { + "type": "string" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "text/html": { + "examples": { + "default": { + "summary": "Example response", + "value": "

Hello world

" + } + }, + "schema": { + "type": "string" + } + } + }, + "description": "Response", + "headers": { + "X-CommonMarker-Version": { + "$ref": "#/components/headers/x-common-marker-version" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + } + }, + "summary": "Render a Markdown document in raw mode", + "tags": [ + "markdown" + ], + "x-github": { + "category": "markdown", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/marketplace_listing/accounts/{account_id}": { + "get": { + "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account" + }, + "operationId": "apps/get-subscription-plan-for-account", + "parameters": [ + { + "$ref": "#/components/parameters/account-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/marketplace-purchase" + } + }, + "schema": { + "$ref": "#/components/schemas/marketplace-purchase" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Not Found when the account has not purchased the listing" + } + }, + "summary": "Get a subscription plan for an account", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "marketplace" + } + } + }, + "/marketplace_listing/plans": { + "get": { + "description": "Lists all plans that are part of your GitHub Marketplace listing.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#list-plans" + }, + "operationId": "apps/list-plans", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/marketplace-listing-plan-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/marketplace-listing-plan" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List plans", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "marketplace" + } + } + }, + "/marketplace_listing/plans/{plan_id}/accounts": { + "get": { + "description": "Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#list-accounts-for-a-plan" + }, + "operationId": "apps/list-accounts-for-plan", + "parameters": [ + { + "$ref": "#/components/parameters/plan-id" + }, + { + "$ref": "#/components/parameters/sort" + }, + { + "description": "To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter.", + "in": "query", + "name": "direction", + "required": false, + "schema": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/marketplace-purchase-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/marketplace-purchase" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List accounts for a plan", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "marketplace" + } + } + }, + "/marketplace_listing/stubbed/accounts/{account_id}": { + "get": { + "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account-stubbed" + }, + "operationId": "apps/get-subscription-plan-for-account-stubbed", + "parameters": [ + { + "$ref": "#/components/parameters/account-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/marketplace-purchase" + } + }, + "schema": { + "$ref": "#/components/schemas/marketplace-purchase" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "description": "Not Found when the account has not purchased the listing" + } + }, + "summary": "Get a subscription plan for an account (stubbed)", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "marketplace" + } + } + }, + "/marketplace_listing/stubbed/plans": { + "get": { + "description": "Lists all plans that are part of your GitHub Marketplace listing.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#list-plans-stubbed" + }, + "operationId": "apps/list-plans-stubbed", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/marketplace-listing-plan-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/marketplace-listing-plan" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "summary": "List plans (stubbed)", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "marketplace" + } + } + }, + "/marketplace_listing/stubbed/plans/{plan_id}/accounts": { + "get": { + "description": "Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#list-accounts-for-a-plan-stubbed" + }, + "operationId": "apps/list-accounts-for-plan-stubbed", + "parameters": [ + { + "$ref": "#/components/parameters/plan-id" + }, + { + "$ref": "#/components/parameters/sort" + }, + { + "description": "To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter.", + "in": "query", + "name": "direction", + "required": false, + "schema": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/marketplace-purchase-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/marketplace-purchase" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "summary": "List accounts for a plan (stubbed)", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "marketplace" + } + } + }, + "/meta": { + "get": { + "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/).\"\n\n**Note:** This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported.\n\n**Note:** The IP addresses shown in the documentation's response are only example values. You must always query the API directly to get the latest list of IP addresses.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/meta#get-github-meta-information" + }, + "operationId": "meta/get", + "parameters": [], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/api-overview" + } + }, + "schema": { + "$ref": "#/components/schemas/api-overview" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + } + }, + "summary": "Get GitHub meta information", + "tags": [ + "meta" + ], + "x-github": { + "category": "meta", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/networks/{owner}/{repo}/events": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-public-events-for-a-network-of-repositories" + }, + "operationId": "activity/list-public-events-for-repo-network", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/public-repo-events-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/event" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List public events for a network of repositories", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "events" + } + } + }, + "/notifications": { + "get": { + "description": "List all notifications for the current user, sorted by most recently updated.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user" + }, + "operationId": "activity/list-notifications-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/all" + }, + { + "$ref": "#/components/parameters/participating" + }, + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/before" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "description": "The number of results per page (max 50).", + "in": "query", + "name": "per_page", + "schema": { + "default": 50, + "type": "integer" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/thread-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/thread" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List notifications for the authenticated user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "notifications" + } + }, + "put": { + "description": "Marks all notifications as \"read\" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#mark-notifications-as-read" + }, + "operationId": "activity/mark-notifications-as-read", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "last_read_at": "2022-06-10T00:00:00Z", + "read": true + } + } + }, + "schema": { + "properties": { + "last_read_at": { + "description": "Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp.", + "format": "date-time", + "type": "string" + }, + "read": { + "description": "Whether the notification has been read.", + "type": "boolean" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "202": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/notifications-mark-read" + } + }, + "schema": { + "properties": { + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Response" + }, + "205": { + "description": "Reset Content" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Mark notifications as read", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "notifications" + } + } + }, + "/notifications/threads/{thread_id}": { + "get": { + "description": "Gets information about a notification thread.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#get-a-thread" + }, + "operationId": "activity/get-thread", + "parameters": [ + { + "$ref": "#/components/parameters/thread-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/thread" + } + }, + "schema": { + "$ref": "#/components/schemas/thread" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Get a thread", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "notifications" + } + }, + "patch": { + "description": "Marks a thread as \"read.\" Marking a thread as \"read\" is equivalent to clicking a notification in your notification inbox on GitHub: https://github.com/notifications.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#mark-a-thread-as-read" + }, + "operationId": "activity/mark-thread-as-read", + "parameters": [ + { + "$ref": "#/components/parameters/thread-id" + } + ], + "responses": { + "205": { + "description": "Reset Content" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Mark a thread as read", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "notifications" + } + } + }, + "/notifications/threads/{thread_id}/subscription": { + "delete": { + "description": "Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#delete-a-thread-subscription" + }, + "operationId": "activity/delete-thread-subscription", + "parameters": [ + { + "$ref": "#/components/parameters/thread-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Delete a thread subscription", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "notifications" + } + }, + "get": { + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/rest/reference/activity#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user" + }, + "operationId": "activity/get-thread-subscription-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/thread-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/thread-subscription" + } + }, + "schema": { + "$ref": "#/components/schemas/thread-subscription" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Get a thread subscription for the authenticated user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "notifications" + } + }, + "put": { + "description": "If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.\n\nYou can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.\n\nUnsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/rest/reference/activity#delete-a-thread-subscription) endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#set-a-thread-subscription" + }, + "operationId": "activity/set-thread-subscription", + "parameters": [ + { + "$ref": "#/components/parameters/thread-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "ignored": false + } + } + }, + "schema": { + "properties": { + "ignored": { + "default": false, + "description": "Whether to block all notifications from a thread.", + "type": "boolean" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/thread-subscription" + } + }, + "schema": { + "$ref": "#/components/schemas/thread-subscription" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Set a thread subscription", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "notifications" + } + } + }, + "/octocat": { + "get": { + "description": "Get the octocat as ASCII art", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/meta#get-octocat" + }, + "operationId": "meta/get-octocat", + "parameters": [ + { + "description": "The words to show in Octocat's speech bubble", + "in": "query", + "name": "s", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/octocat-stream": { + "examples": { + "default": { + "$ref": "#/components/examples/octocat" + } + }, + "schema": { + "type": "string" + } + } + }, + "description": "Response" + } + }, + "summary": "Get Octocat", + "tags": [ + "meta" + ], + "x-github": { + "category": "meta", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/organizations": { + "get": { + "description": "Lists all organizations, in the order that they were created on GitHub.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-organizations" + }, + "operationId": "orgs/list", + "parameters": [ + { + "$ref": "#/components/parameters/since-org" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/organization-simple" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "example": "; rel=\"next\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + } + }, + "summary": "List organizations", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}": { + "get": { + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub plan information' below.\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#get-an-organization" + }, + "operationId": "orgs/get", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default-response": { + "$ref": "#/components/examples/organization-full-default-response" + } + }, + "schema": { + "$ref": "#/components/schemas/organization-full" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get an organization", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "patch": { + "description": "**Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#update-an-organization" + }, + "operationId": "orgs/update", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "billing_email": "mona@github.com", + "company": "GitHub", + "default_repository_permission": "read", + "description": "GitHub, the company.", + "email": "mona@github.com", + "location": "San Francisco", + "members_allowed_repository_creation_type": "all", + "members_can_create_repositories": true, + "name": "github", + "twitter_username": "github" + } + } + }, + "schema": { + "properties": { + "advanced_security_enabled_for_new_repositories": { + "description": "Whether GitHub Advanced Security is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "type": "boolean" + }, + "billing_email": { + "description": "Billing email address. This address is not publicized.", + "type": "string" + }, + "blog": { + "example": "\"http://github.blog\"", + "type": "string" + }, + "company": { + "description": "The company name.", + "type": "string" + }, + "default_repository_permission": { + "default": "read", + "description": "Default permission level members have for organization repositories.", + "enum": [ + "read", + "write", + "admin", + "none" + ], + "type": "string" + }, + "dependabot_alerts_enabled_for_new_repositories": { + "description": "Whether Dependabot alerts is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "type": "boolean" + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "description": "Whether Dependabot security updates is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "type": "boolean" + }, + "dependency_graph_enabled_for_new_repositories": { + "description": "Whether dependency graph is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "type": "boolean" + }, + "description": { + "description": "The description of the company.", + "type": "string" + }, + "email": { + "description": "The publicly visible email address.", + "type": "string" + }, + "has_organization_projects": { + "description": "Whether an organization can use organization projects.", + "type": "boolean" + }, + "has_repository_projects": { + "description": "Whether repositories that belong to the organization can use repository projects.", + "type": "boolean" + }, + "location": { + "description": "The location.", + "type": "string" + }, + "members_allowed_repository_creation_type": { + "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", + "enum": [ + "all", + "private", + "none" + ], + "type": "string" + }, + "members_can_create_internal_repositories": { + "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation.", + "type": "boolean" + }, + "members_can_create_pages": { + "default": true, + "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", + "type": "boolean" + }, + "members_can_create_private_pages": { + "default": true, + "description": "Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.", + "type": "boolean" + }, + "members_can_create_private_repositories": { + "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation.", + "type": "boolean" + }, + "members_can_create_public_pages": { + "default": true, + "description": "Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.", + "type": "boolean" + }, + "members_can_create_public_repositories": { + "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation.", + "type": "boolean" + }, + "members_can_create_repositories": { + "default": true, + "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", + "type": "boolean" + }, + "members_can_fork_private_repositories": { + "default": false, + "description": "Whether organization members can fork private organization repositories.", + "type": "boolean" + }, + "name": { + "description": "The shorthand name of the company.", + "type": "string" + }, + "secret_scanning_enabled_for_new_repositories": { + "description": "Whether secret scanning is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "type": "boolean" + }, + "secret_scanning_push_protection_custom_link": { + "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret.", + "type": "string" + }, + "secret_scanning_push_protection_custom_link_enabled": { + "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection.", + "type": "boolean" + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "description": "Whether secret scanning push protection is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "type": "boolean" + }, + "twitter_username": { + "description": "The Twitter username of the company.", + "type": "string" + }, + "web_commit_signoff_required": { + "default": false, + "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", + "type": "boolean" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-full" + } + }, + "schema": { + "$ref": "#/components/schemas/organization-full" + } + } + }, + "description": "Response" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "422": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/validation-error" + }, + { + "$ref": "#/components/schemas/validation-error-simple" + } + ] + } + } + }, + "description": "Validation failed" + } + }, + "summary": "Update an organization", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/actions/cache/usage": { + "get": { + "description": "Gets the total GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nYou must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `organization_admistration:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-github-actions-cache-usage-for-an-organization" + }, + "operationId": "actions/get-actions-cache-usage-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-cache-usage-org-enterprise" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-cache-usage-org-enterprise" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "Get GitHub Actions cache usage for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "cache" + } + } + }, + "/orgs/{org}/actions/cache/usage-by-repository": { + "get": { + "description": "Lists repositories and their GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nYou must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `organization_admistration:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-repositories-with-github-actions-cache-usage-for-an-organization" + }, + "operationId": "actions/get-actions-cache-usage-by-repo-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/org-actions-cache-usage-by-repo" + } + }, + "schema": { + "properties": { + "repository_cache_usages": { + "items": { + "$ref": "#/components/schemas/actions-cache-usage-by-repository" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "repository_cache_usages" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List repositories with GitHub Actions cache usage for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "cache" + } + } + }, + "/orgs/{org}/actions/oidc/customization/sub": { + "get": { + "description": "Gets the customization template for an OpenID Connect (OIDC) subject claim.\nYou must authenticate using an access token with the `read:org` scope to use this endpoint.\nGitHub Apps must have the `organization_administration:write` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization" + }, + "operationId": "oidc/get-oidc-custom-sub-template-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/oidc-custom-sub" + } + }, + "schema": { + "$ref": "#/components/schemas/oidc-custom-sub" + } + } + }, + "description": "A JSON serialized template for OIDC subject claim customization" + } + }, + "summary": "Get the customization template for an OIDC subject claim for an organization", + "tags": [ + "oidc" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "subcategory": "oidc" + } + }, + "put": { + "description": "Creates or updates the customization template for an OpenID Connect (OIDC) subject claim.\nYou must authenticate using an access token with the `write:org` scope to use this endpoint.\nGitHub Apps must have the `admin:org` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization" + }, + "operationId": "oidc/update-oidc-custom-sub-template-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/oidc-custom-sub" + } + }, + "schema": { + "$ref": "#/components/schemas/oidc-custom-sub" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Empty response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Set the customization template for an OIDC subject claim for an organization", + "tags": [ + "oidc" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "previews": [], + "subcategory": "oidc" + } + } + }, + "/orgs/{org}/actions/permissions": { + "get": { + "description": "Gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-organization" + }, + "operationId": "actions/get-github-actions-permissions-organization", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-organization-permissions" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-organization-permissions" + } + } + }, + "description": "Response" + } + }, + "summary": "Get GitHub Actions permissions for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + }, + "put": { + "description": "Sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-organization" + }, + "operationId": "actions/set-github-actions-permissions-organization", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "allowed_actions": "selected", + "enabled_repositories": "all" + } + } + }, + "schema": { + "properties": { + "allowed_actions": { + "$ref": "#/components/schemas/allowed-actions" + }, + "enabled_repositories": { + "$ref": "#/components/schemas/enabled-repositories" + } + }, + "required": [ + "enabled_repositories" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Set GitHub Actions permissions for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + } + }, + "/orgs/{org}/actions/permissions/repositories": { + "get": { + "description": "Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization" + }, + "operationId": "actions/list-selected-repositories-enabled-github-actions-organization", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repository-paginated" + } + }, + "schema": { + "properties": { + "repositories": { + "items": { + "$ref": "#/components/schemas/repository" + }, + "type": "array" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "total_count", + "repositories" + ], + "type": "object" + } + } + }, + "description": "Response" + } + }, + "summary": "List selected repositories enabled for GitHub Actions in an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + }, + "put": { + "description": "Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization" + }, + "operationId": "actions/set-selected-repositories-enabled-github-actions-organization", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 32, + 42 + ] + } + } + }, + "schema": { + "properties": { + "selected_repository_ids": { + "description": "List of repository IDs to enable for GitHub Actions.", + "items": { + "description": "Unique identifier of the repository.", + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "selected_repository_ids" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Set selected repositories enabled for GitHub Actions in an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + } + }, + "/orgs/{org}/actions/permissions/repositories/{repository_id}": { + "delete": { + "description": "Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization" + }, + "operationId": "actions/disable-selected-repository-github-actions-organization", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Disable a selected repository for GitHub Actions in an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + }, + "put": { + "description": "Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization" + }, + "operationId": "actions/enable-selected-repository-github-actions-organization", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Enable a selected repository for GitHub Actions in an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + } + }, + "/orgs/{org}/actions/permissions/selected-actions": { + "get": { + "description": "Gets the selected actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-organization" + }, + "operationId": "actions/get-allowed-actions-organization", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/selected-actions" + } + }, + "schema": { + "$ref": "#/components/schemas/selected-actions" + } + } + }, + "description": "Response" + } + }, + "summary": "Get allowed actions and reusable workflows for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + }, + "put": { + "description": "Sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-organization" + }, + "operationId": "actions/set-allowed-actions-organization", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "selected_actions": { + "$ref": "#/components/examples/selected-actions" + } + }, + "schema": { + "$ref": "#/components/schemas/selected-actions" + } + } + }, + "required": false + }, + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Set allowed actions and reusable workflows for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + } + }, + "/orgs/{org}/actions/permissions/workflow": { + "get": { + "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization,\nas well as whether GitHub Actions can submit approving pull request reviews. For more information, see\n\"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-default-workflow-permissions" + }, + "operationId": "actions/get-github-actions-default-workflow-permissions-organization", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-default-workflow-permissions" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-get-default-workflow-permissions" + } + } + }, + "description": "Response" + } + }, + "summary": "Get default workflow permissions for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + }, + "put": { + "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions\ncan submit approving pull request reviews. For more information, see\n\"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#set-default-workflow-permissions" + }, + "operationId": "actions/set-github-actions-default-workflow-permissions-organization", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-default-workflow-permissions" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-set-default-workflow-permissions" + } + } + }, + "required": false + }, + "responses": { + "204": { + "description": "Success response" + } + }, + "summary": "Set default workflow permissions for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + } + }, + "/orgs/{org}/actions/required_workflows": { + "get": { + "description": "List all required workflows in an organization.\n\nYou must authenticate using an access token with the `read:org` scope to use this endpoint.\n\nFor more information, see \"[Required Workflows](https://docs.github.com/actions/using-workflows/required-workflows).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-required-workflows" + }, + "operationId": "actions/list-required-workflows", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/required-workflows-paginated" + } + }, + "schema": { + "properties": { + "required_workflows": { + "items": { + "$ref": "#/components/schemas/required-workflow" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "required_workflows" + ], + "type": "object" + } + } + }, + "description": "Response" + } + }, + "summary": "List required workflows", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "required-workflows" + } + }, + "post": { + "description": "Create a required workflow in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nFor more information, see \"[Required Workflows](https://docs.github.com/actions/using-workflows/required-workflows).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#create-a-required-workflow" + }, + "operationId": "actions/create-required-workflow", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "repository_id": 53, + "scope": "selected", + "selected_repository_ids": [ + 32, + 91 + ], + "workflow_file_path": ".github/workflows/ci.yaml" + } + } + }, + "schema": { + "properties": { + "repository_id": { + "description": "The ID of the repository that contains the workflow file.", + "type": "string" + }, + "scope": { + "default": "all", + "description": "Enable the required workflow for all repositories or selected repositories in the organization.", + "enum": [ + "selected", + "all" + ], + "type": "string" + }, + "selected_repository_ids": { + "description": "A list of repository IDs where you want to enable the required workflow. You can only provide a list of repository ids when the `scope` is set to `selected`.", + "items": { + "description": "Unique identifier of the repository.", + "type": "integer" + }, + "type": "array" + }, + "workflow_file_path": { + "description": "Path of the workflow file to be configured as a required workflow.", + "type": "string" + } + }, + "required": [ + "workflow_file_path", + "repository_id" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/required-workflow" + } + }, + "schema": { + "$ref": "#/components/schemas/required-workflow" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Create a required workflow", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "required-workflows" + } + } + }, + "/orgs/{org}/actions/required_workflows/{required_workflow_id}": { + "delete": { + "description": "Deletes a required workflow configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nFor more information, see \"[Required Workflows](https://docs.github.com/actions/using-workflows/required-workflows).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#delete-a-required-workflow" + }, + "operationId": "actions/delete-required-workflow", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/required-workflow-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a required workflow", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "required-workflows" + } + }, + "get": { + "description": "Get a required workflow configured in an organization.\n\nYou must authenticate using an access token with the `read:org` scope to use this endpoint.\n\nFor more information, see \"[Required Workflows](https://docs.github.com/actions/using-workflows/required-workflows).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-a-required-workflow" + }, + "operationId": "actions/get-required-workflow", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/required-workflow-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/required-workflow" + } + }, + "schema": { + "$ref": "#/components/schemas/required-workflow" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a required workflow", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "required-workflows" + } + }, + "patch": { + "description": "Update a required workflow in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nFor more information, see \"[Required Workflows](https://docs.github.com/actions/using-workflows/required-workflows).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#update-a-required-workflow" + }, + "operationId": "actions/update-required-workflow", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/required-workflow-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "repository_id": 53, + "scope": "selected", + "selected_repository_ids": [ + 32, + 91 + ], + "workflow_file_path": ".github/workflows/ci.yaml" + } + } + }, + "schema": { + "properties": { + "repository_id": { + "description": "The ID of the repository that contains the workflow file.", + "type": "string" + }, + "scope": { + "default": "all", + "description": "Enable the required workflow for all repositories or selected repositories in the organization.", + "enum": [ + "selected", + "all" + ], + "type": "string" + }, + "selected_repository_ids": { + "description": "A list of repository IDs where you want to enable the required workflow. A list of repository IDs where you want to enable the required workflow. You can only provide a list of repository ids when the `scope` is set to `selected`.", + "items": { + "description": "Unique identifier of the repository.", + "type": "integer" + }, + "type": "array" + }, + "workflow_file_path": { + "description": "Path of the workflow file to be configured as a required workflow.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/required-workflow" + } + }, + "schema": { + "$ref": "#/components/schemas/required-workflow" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Update a required workflow", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "required-workflows" + } + } + }, + "/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories": { + "get": { + "description": "Lists the selected repositories that are configured for a required workflow in an organization. To use this endpoint, the required workflow must be configured to run on selected repositories.\n\nYou must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this endpoint.\n\nFor more information, see \"[Required Workflows](https://docs.github.com/actions/using-workflows/required-workflows).\"", + "externalDocs": { + "description": "API method documentation https://docs.github.com/rest/reference/actions#list-selected-repositories-required-workflows", + "url": "https://docs.github.com/rest/reference/actions#list-selected-repositories-required-workflows" + }, + "operationId": "actions/list-selected-repositories-required-workflow", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/required-workflow-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repository-paginated" + } + }, + "schema": { + "properties": { + "repositories": { + "items": { + "$ref": "#/components/schemas/repository" + }, + "type": "array" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "total_count", + "repositories" + ], + "type": "object" + } + } + }, + "description": "Success" + }, + "404": { + "description": "Resource Not Found" + } + }, + "summary": "List selected repositories for a required workflow", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "required-workflows" + } + }, + "put": { + "description": "Sets the repositories for a required workflow that is required for selected repositories.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nFor more information, see \"[Required Workflows](https://docs.github.com/actions/using-workflows/required-workflows).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#set-selected-repositories-for-a-required-workflow" + }, + "operationId": "actions/set-selected-repos-to-required-workflow", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/required-workflow-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 32, + 91 + ] + } + } + }, + "schema": { + "properties": { + "selected_repository_ids": { + "description": "The IDs of the repositories for which the workflow should be required.", + "items": { + "description": "Unique identifier of the repository.", + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "selected_repository_ids" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Sets repositories for a required workflow", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "required-workflows" + } + } + }, + "/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories/{repository_id}": { + "delete": { + "description": "Removes a repository from a required workflow. To use this endpoint, the required workflow must be configured to run on selected repositories.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nFor more information, see \"[Required Workflows](https://docs.github.com/actions/using-workflows/required-workflows).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#remove-a-repository-from-selected-repositories-list-for-a-required-workflow" + }, + "operationId": "actions/remove-selected-repo-from-required-workflow", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/required-workflow-id" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "404": { + "description": "Resource Not Found" + }, + "422": { + "description": "Validation Error" + } + }, + "summary": "Remove a selected repository from required workflow", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "required-workflows" + } + }, + "put": { + "description": "Adds a repository to a required workflow. To use this endpoint, the required workflow must be configured to run on selected repositories.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\nFor more information, see \"[Required Workflows](https://docs.github.com/actions/using-workflows/required-workflows).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#add-a-repository-to-selected-repositories-list-for-a-required-workflow" + }, + "operationId": "actions/add-selected-repo-to-required-workflow", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/required-workflow-id" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "404": { + "description": "Resource Not Found" + }, + "422": { + "description": "Validation Error" + } + }, + "summary": "Add a repository to a required workflow", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "required-workflows" + } + } + }, + "/orgs/{org}/actions/runners": { + "get": { + "description": "Lists all self-hosted runners configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-organization" + }, + "operationId": "actions/list-self-hosted-runners-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/runner-paginated" + } + }, + "schema": { + "properties": { + "runners": { + "items": { + "$ref": "#/components/schemas/runner" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "runners" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List self-hosted runners for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/downloads": { + "get": { + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-runner-applications-for-an-organization" + }, + "operationId": "actions/list-runner-applications-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/runner-application-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/runner-application" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "List runner applications for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/registration-token": { + "post": { + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using registration token\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org --token TOKEN\n```", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-organization" + }, + "operationId": "actions/create-registration-token-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/authentication-token" + } + }, + "schema": { + "$ref": "#/components/schemas/authentication-token" + } + } + }, + "description": "Response" + } + }, + "summary": "Create a registration token for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/remove-token": { + "post": { + "description": "Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\n\n#### Example using remove token\n\nTo remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by this\nendpoint.\n\n```\n./config.sh remove --token TOKEN\n```", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-organization" + }, + "operationId": "actions/create-remove-token-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/authentication-token-2" + } + }, + "schema": { + "$ref": "#/components/schemas/authentication-token" + } + } + }, + "description": "Response" + } + }, + "summary": "Create a remove token for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}": { + "delete": { + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization" + }, + "operationId": "actions/delete-self-hosted-runner-from-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/runner-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a self-hosted runner from an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + }, + "get": { + "description": "Gets a specific self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-organization" + }, + "operationId": "actions/get-self-hosted-runner-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/runner-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/runner" + } + }, + "schema": { + "$ref": "#/components/schemas/runner" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a self-hosted runner for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}/labels": { + "delete": { + "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization" + }, + "operationId": "actions/remove-all-custom-labels-from-self-hosted-runner-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/runner-id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/actions_runner_labels_readonly" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Remove all custom labels from a self-hosted runner for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + }, + "get": { + "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-organization" + }, + "operationId": "actions/list-labels-for-self-hosted-runner-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/runner-id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/actions_runner_labels" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List labels for a self-hosted runner for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + }, + "post": { + "description": "Add custom labels to a self-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-organization" + }, + "operationId": "actions/add-custom-labels-to-self-hosted-runner-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/runner-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "labels": [ + "gpu", + "accelerated" + ] + } + } + }, + "schema": { + "properties": { + "labels": { + "description": "The names of the custom labels to add to the runner.", + "items": { + "type": "string" + }, + "maxItems": 100, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "labels" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "$ref": "#/components/responses/actions_runner_labels" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Add custom labels to a self-hosted runner for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + }, + "put": { + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-organization" + }, + "operationId": "actions/set-custom-labels-for-self-hosted-runner-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/runner-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "labels": [ + "gpu", + "accelerated" + ] + } + } + }, + "schema": { + "properties": { + "labels": { + "description": "The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.", + "items": { + "type": "string" + }, + "maxItems": 100, + "minItems": 0, + "type": "array" + } + }, + "required": [ + "labels" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "$ref": "#/components/responses/actions_runner_labels" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Set custom labels for a self-hosted runner for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}/labels/{name}": { + "delete": { + "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization" + }, + "operationId": "actions/remove-custom-label-from-self-hosted-runner-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/runner-id" + }, + { + "$ref": "#/components/parameters/runner-label-name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/actions_runner_labels" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Remove a custom label from a self-hosted runner for an organization", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/secrets": { + "get": { + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-organization-secrets" + }, + "operationId": "actions/list-org-secrets", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-secret-paginated" + } + }, + "schema": { + "properties": { + "secrets": { + "items": { + "$ref": "#/components/schemas/organization-actions-secret" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "secrets" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List organization secrets", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/secrets/public-key": { + "get": { + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-an-organization-public-key" + }, + "operationId": "actions/get-org-public-key", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-public-key" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-public-key" + } + } + }, + "description": "Response" + } + }, + "summary": "Get an organization public key", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/secrets/{secret_name}": { + "delete": { + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#delete-an-organization-secret" + }, + "operationId": "actions/delete-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete an organization secret", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "get": { + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-an-organization-secret" + }, + "operationId": "actions/get-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-secret" + } + }, + "schema": { + "$ref": "#/components/schemas/organization-actions-secret" + } + } + }, + "description": "Response" + } + }, + "summary": "Get an organization secret", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "put": { + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to\nuse this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [libsodium-wrappers](https://www.npmjs.com/package/libsodium-wrappers) library.\n\n```\nconst sodium = require('libsodium-wrappers')\nconst secret = 'plain-text-secret' // replace with the secret you want to encrypt\nconst key = 'base64-encoded-public-key' // replace with the Base64 encoded public key\n\n//Check if libsodium is ready and then proceed.\nsodium.ready.then(() => {\n // Convert Secret & Base64 key to Uint8Array.\n let binkey = sodium.from_base64(key, sodium.base64_variants.ORIGINAL)\n let binsec = sodium.from_string(secret)\n\n //Encrypt the secret using LibSodium\n let encBytes = sodium.crypto_box_seal(binsec, binkey)\n\n // Convert encrypted Uint8Array to Base64\n let output = sodium.to_base64(encBytes, sodium.base64_variants.ORIGINAL)\n\n console.log(output)\n});\n```\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret" + }, + "operationId": "actions/create-or-update-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "selected_repository_ids": [ + 1296269, + 1296280 + ], + "visibility": "selected" + } + } + }, + "schema": { + "properties": { + "encrypted_value": { + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/reference/actions#get-an-organization-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", + "type": "string" + }, + "key_id": { + "description": "ID of the key you used to encrypt the secret.", + "type": "string" + }, + "selected_repository_ids": { + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + }, + "type": "array" + }, + "visibility": { + "description": "Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + } + }, + "required": [ + "visibility" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response when creating a secret" + }, + "204": { + "description": "Response when updating a secret" + } + }, + "summary": "Create or update an organization secret", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/secrets/{secret_name}/repositories": { + "get": { + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret" + }, + "operationId": "actions/list-selected-repos-for-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-paginated" + } + }, + "schema": { + "properties": { + "repositories": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "repositories" + ], + "type": "object" + } + } + }, + "description": "Response" + } + }, + "summary": "List selected repositories for an organization secret", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "put": { + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret" + }, + "operationId": "actions/set-selected-repos-for-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + }, + "schema": { + "properties": { + "selected_repository_ids": { + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "selected_repository_ids" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Set selected repositories for an organization secret", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": { + "delete": { + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret" + }, + "operationId": "actions/remove-selected-repo-from-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "in": "path", + "name": "repository_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response when repository was removed from the selected list" + }, + "409": { + "description": "Conflict when visibility type not set to selected" + } + }, + "summary": "Remove selected repository from an organization secret", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "put": { + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#add-selected-repository-to-an-organization-secret" + }, + "operationId": "actions/add-selected-repo-to-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "in": "path", + "name": "repository_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content when repository was added to the selected list" + }, + "409": { + "description": "Conflict when visibility type is not set to selected" + } + }, + "summary": "Add selected repository to an organization secret", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/variables": { + "get": { + "description": "Lists all organization variables. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#list-organization-variables" + }, + "operationId": "actions/list-org-variables", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variables-per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-variables-paginated" + } + }, + "schema": { + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "items": { + "$ref": "#/components/schemas/organization-actions-variable" + }, + "type": "array" + } + }, + "required": [ + "total_count", + "variables" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List organization variables", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + }, + "post": { + "description": "Creates an organization variable that you can reference in a GitHub Actions workflow.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\nGitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#create-an-organization-variable" + }, + "operationId": "actions/create-org-variable", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "name": "USERNAME", + "selected_repository_ids": [ + 1296269, + 1296280 + ], + "value": "octocat", + "visibility": "selected" + } + } + }, + "schema": { + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string" + }, + "selected_repository_ids": { + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + }, + "type": "array" + }, + "value": { + "description": "The value of the variable.", + "type": "string" + }, + "visibility": { + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + } + }, + "required": [ + "name", + "value", + "visibility" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response when creating a variable" + } + }, + "summary": "Create an organization variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + } + }, + "/orgs/{org}/actions/variables/{name}": { + "delete": { + "description": "Deletes an organization variable using the variable name.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\nGitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#delete-an-organization-variable" + }, + "operationId": "actions/delete-org-variable", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete an organization variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + }, + "get": { + "description": "Gets a specific variable in an organization. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#get-an-organization-variable" + }, + "operationId": "actions/get-org-variable", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-variable" + } + }, + "schema": { + "$ref": "#/components/schemas/organization-actions-variable" + } + } + }, + "description": "Response" + } + }, + "summary": "Get an organization variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + }, + "patch": { + "description": "Updates an organization variable that you can reference in a GitHub Actions workflow.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.\nGitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#update-an-organization-variable" + }, + "operationId": "actions/update-org-variable", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "name": "USERNAME", + "selected_repository_ids": [ + 1296269, + 1296280 + ], + "value": "octocat", + "visibility": "selected" + } + } + }, + "schema": { + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string" + }, + "selected_repository_ids": { + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + }, + "type": "array" + }, + "value": { + "description": "The value of the variable.", + "type": "string" + }, + "visibility": { + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Update an organization variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + } + }, + "/orgs/{org}/actions/variables/{name}/repositories": { + "get": { + "description": "Lists all repositories that can access an organization variable that is available to selected repositories. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable" + }, + "operationId": "actions/list-selected-repos-for-org-variable", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-paginated" + } + }, + "schema": { + "properties": { + "repositories": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "repositories" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "summary": "List selected repositories for an organization variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + }, + "put": { + "description": "Replaces all repositories for an organization variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable" + }, + "operationId": "actions/set-selected-repos-for-org-variable", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + }, + "schema": { + "properties": { + "selected_repository_ids": { + "description": "The IDs of the repositories that can access the organization variable.", + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "selected_repository_ids" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "summary": "Set selected repositories for an organization variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + } + }, + "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": { + "delete": { + "description": "Removes a repository from an organization variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable" + }, + "operationId": "actions/remove-selected-repo-from-org-variable", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "in": "path", + "name": "repository_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "summary": "Remove selected repository from an organization variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + }, + "put": { + "description": "Adds a repository to an organization variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable" + }, + "operationId": "actions/add-selected-repo-to-org-variable", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "in": "path", + "name": "repository_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "summary": "Add selected repository to an organization variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + } + }, + "/orgs/{org}/blocks": { + "get": { + "description": "List the users blocked by an organization.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization" + }, + "operationId": "orgs/list-blocked-users", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "List users blocked by an organization", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "blocking" + } + } + }, + "/orgs/{org}/blocks/{username}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#unblock-a-user-from-an-organization" + }, + "operationId": "orgs/unblock-user", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Unblock a user from an organization", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "blocking" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#check-if-a-user-is-blocked-by-an-organization" + }, + "operationId": "orgs/check-blocked-user", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "If the user is blocked" + }, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "If the user is not blocked" + } + }, + "summary": "Check if a user is blocked by an organization", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "blocking" + } + }, + "put": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#block-a-user-from-an-organization" + }, + "operationId": "orgs/block-user", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Block a user from an organization", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "blocking" + } + } + }, + "/orgs/{org}/code-scanning/alerts": { + "get": { + "description": "Lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nTo use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `security_events` read permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-by-organization" + }, + "operationId": "code-scanning/list-alerts-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/tool-name" + }, + { + "$ref": "#/components/parameters/tool-guid" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "description": "If specified, only code scanning alerts with this state will be returned.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "$ref": "#/components/schemas/code-scanning-alert-state" + } + }, + { + "description": "The property by which to sort the results.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "created", + "enum": [ + "created", + "updated" + ], + "type": "string" + } + }, + { + "description": "If specified, only code scanning alerts with this severity will be returned.", + "in": "query", + "name": "severity", + "required": false, + "schema": { + "$ref": "#/components/schemas/code-scanning-alert-severity" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-organization-alert-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/code-scanning-organization-alert-items" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "List code scanning alerts for an organization", + "tags": [ + "code-scanning" + ], + "x-github": { + "category": "code-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/codespaces": { + "get": { + "description": "Lists the codespaces associated to a specified organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#list-in-organization" + }, + "operationId": "codespaces/list-in-organization", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespaces-list" + } + }, + "schema": { + "properties": { + "codespaces": { + "items": { + "$ref": "#/components/schemas/codespace" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "codespaces" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "List codespaces for the organization", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organizations" + } + } + }, + "/orgs/{org}/codespaces/billing": { + "put": { + "description": "Sets which users can access codespaces in an organization. This is synonymous with granting or revoking codespaces billing permissions for users according to the visibility.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#set-codespaces-billing" + }, + "operationId": "codespaces/set-codespaces-billing", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "selected_usernames": [ + "johnDoe", + "atomIO" + ], + "visibility": "selected_members" + } + } + }, + "schema": { + "properties": { + "selected_usernames": { + "description": "The usernames of the organization members who should have access to codespaces in the organization. Required when `visibility` is `selected_members`. The provided list of usernames will replace any existing value.", + "items": { + "type": "string" + }, + "maxItems": 100, + "type": "array" + }, + "visibility": { + "description": "Which users can access codespaces in the organization. `disabled` means that no users can access codespaces in the organization.", + "enum": [ + "disabled", + "selected_members", + "all_members", + "all_members_and_outside_collaborators" + ], + "type": "string" + } + }, + "required": [ + "visibility" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response when successfully modifying permissions." + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "400": { + "description": "Users are neither members nor collaborators of this organization." + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "Manage access control for organization codespaces", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organizations" + } + } + }, + "/orgs/{org}/codespaces/billing/selected_users": { + "delete": { + "description": "Codespaces for the specified users will no longer be billed to the organization.\nTo use this endpoint, the billing settings for the organization must be set to `selected_members`. For information on how to change this setting please see [these docs].(https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces) You must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#delete-codespaces-billing-users" + }, + "operationId": "codespaces/delete-codespaces-billing-users", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "selected_usernames": [ + "johnDoe", + "atomIO" + ] + } + } + }, + "schema": { + "properties": { + "selected_usernames": { + "description": "The usernames of the organization members whose codespaces should not be billed to the organization.", + "items": { + "type": "string" + }, + "maxItems": 100, + "type": "array" + } + }, + "required": [ + "selected_usernames" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response when successfully modifying permissions." + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "400": { + "description": "Users are neither members nor collaborators of this organization." + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "Removes users from Codespaces billing for an organization", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organizations" + } + }, + "post": { + "description": "Codespaces for the specified users will be billed to the organization.\nTo use this endpoint, the billing settings for the organization must be set to `selected_members`. For information on how to change this setting please see [these docs].(https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces) You must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#set-codespaces-billing-users" + }, + "operationId": "codespaces/set-codespaces-billing-users", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "selected_usernames": [ + "johnDoe", + "atomIO" + ] + } + } + }, + "schema": { + "properties": { + "selected_usernames": { + "description": "The usernames of the organization members whose codespaces be billed to the organization.", + "items": { + "type": "string" + }, + "maxItems": 100, + "type": "array" + } + }, + "required": [ + "selected_usernames" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response when successfully modifying permissions." + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "400": { + "description": "Users are neither members nor collaborators of this organization." + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "Add users to Codespaces billing for an organization", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organizations" + } + } + }, + "/orgs/{org}/codespaces/secrets": { + "get": { + "description": "Lists all Codespaces secrets available at the organization-level without revealing their encrypted values.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#list-organization-secrets" + }, + "operationId": "codespaces/list-org-secrets", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repo-codespaces-secret-paginated" + } + }, + "schema": { + "properties": { + "secrets": { + "items": { + "$ref": "#/components/schemas/codespaces-org-secret" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "secrets" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List organization secrets", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organization-secrets" + } + } + }, + "/orgs/{org}/codespaces/secrets/public-key": { + "get": { + "description": "Gets a public key for an organization, which is required in order to encrypt secrets. You need to encrypt the value of a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#get-an-organization-public-key" + }, + "operationId": "codespaces/get-org-public-key", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespaces-public-key" + } + }, + "schema": { + "$ref": "#/components/schemas/codespaces-public-key" + } + } + }, + "description": "Response" + } + }, + "summary": "Get an organization public key", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organization-secrets" + } + } + }, + "/orgs/{org}/codespaces/secrets/{secret_name}": { + "delete": { + "description": "Deletes an organization secret using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#delete-an-organization-secret" + }, + "operationId": "codespaces/delete-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete an organization secret", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organization-secrets" + } + }, + "get": { + "description": "Gets an organization secret without revealing its encrypted value.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#get-an-organization-secret" + }, + "operationId": "codespaces/get-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repo-codespaces-secret" + } + }, + "schema": { + "$ref": "#/components/schemas/codespaces-org-secret" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "Get an organization secret", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organization-secrets" + } + }, + "put": { + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [libsodium-wrappers](https://www.npmjs.com/package/libsodium-wrappers) library.\n\n```\nconst sodium = require('libsodium-wrappers')\nconst secret = 'plain-text-secret' // replace with the secret you want to encrypt\nconst key = 'base64-encoded-public-key' // replace with the Base64 encoded public key\n\n//Check if libsodium is ready and then proceed.\nsodium.ready.then(() => {\n // Convert Secret & Base64 key to Uint8Array.\n let binkey = sodium.from_base64(key, sodium.base64_variants.ORIGINAL)\n let binsec = sodium.from_string(secret)\n\n //Encrypt the secret using LibSodium\n let encBytes = sodium.crypto_box_seal(binsec, binkey)\n\n // Convert encrypted Uint8Array to Base64\n let output = sodium.to_base64(encBytes, sodium.base64_variants.ORIGINAL)\n\n console.log(output)\n});\n```\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#create-or-update-an-organization-secret" + }, + "operationId": "codespaces/create-or-update-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "selected_repository_ids": [ + 1296269, + 1296280 + ], + "visibility": "selected" + } + } + }, + "schema": { + "properties": { + "encrypted_value": { + "description": "The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/reference/codespaces#get-an-organization-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", + "type": "string" + }, + "key_id": { + "description": "The ID of the key you used to encrypt the secret.", + "type": "string" + }, + "selected_repository_ids": { + "description": "An array of repository IDs that can access the organization secret. You can only provide a list of repository IDs when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/codespaces#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + }, + "type": "array" + }, + "visibility": { + "description": "Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + } + }, + "required": [ + "visibility" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response when creating a secret" + }, + "204": { + "description": "Response when updating a secret" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create or update an organization secret", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organization-secrets" + } + } + }, + "/orgs/{org}/codespaces/secrets/{secret_name}/repositories": { + "get": { + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-an-organization-secret" + }, + "operationId": "codespaces/list-selected-repos-for-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-paginated" + } + }, + "schema": { + "properties": { + "repositories": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "repositories" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List selected repositories for an organization secret", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organization-secrets" + } + }, + "put": { + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/codespaces#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-an-organization-secret" + }, + "operationId": "codespaces/set-selected-repos-for-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + }, + "schema": { + "properties": { + "selected_repository_ids": { + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/codespaces#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "selected_repository_ids" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "description": "Conflict when visibility type not set to selected" + } + }, + "summary": "Set selected repositories for an organization secret", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organization-secrets" + } + } + }, + "/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": { + "delete": { + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/codespaces#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#remove-selected-repository-from-an-organization-secret" + }, + "operationId": "codespaces/remove-selected-repo-from-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "in": "path", + "name": "repository_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response when repository was removed from the selected list" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "description": "Conflict when visibility type not set to selected" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Remove selected repository from an organization secret", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organization-secrets" + } + }, + "put": { + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/codespaces#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#add-selected-repository-to-an-organization-secret" + }, + "operationId": "codespaces/add-selected-repo-to-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "in": "path", + "name": "repository_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content when repository was added to the selected list" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "description": "Conflict when visibility type is not set to selected" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Add selected repository to an organization secret", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organization-secrets" + } + } + }, + "/orgs/{org}/dependabot/alerts": { + "get": { + "description": "Lists Dependabot alerts for an organization.\n\nTo use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have **Dependabot alerts** read permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization" + }, + "operationId": "dependabot/list-alerts-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-states" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" + }, + { + "$ref": "#/components/parameters/dependabot-alert-scope" + }, + { + "$ref": "#/components/parameters/dependabot-alert-sort" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/pagination-first" + }, + { + "$ref": "#/components/parameters/pagination-last" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-alerts-for-organization" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/dependabot-alert-with-repository" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "List Dependabot alerts for an organization", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "alerts" + } + } + }, + "/orgs/{org}/dependabot/secrets": { + "get": { + "description": "Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#list-organization-secrets" + }, + "operationId": "dependabot/list-org-secrets", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-dependabot-secret-paginated" + } + }, + "schema": { + "properties": { + "secrets": { + "items": { + "$ref": "#/components/schemas/organization-dependabot-secret" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "secrets" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List organization secrets", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/dependabot/secrets/public-key": { + "get": { + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#get-an-organization-public-key" + }, + "operationId": "dependabot/get-org-public-key", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-public-key" + } + }, + "schema": { + "$ref": "#/components/schemas/dependabot-public-key" + } + } + }, + "description": "Response" + } + }, + "summary": "Get an organization public key", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/dependabot/secrets/{secret_name}": { + "delete": { + "description": "Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#delete-an-organization-secret" + }, + "operationId": "dependabot/delete-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete an organization secret", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "get": { + "description": "Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#get-an-organization-secret" + }, + "operationId": "dependabot/get-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-dependabot-secret" + } + }, + "schema": { + "$ref": "#/components/schemas/organization-dependabot-secret" + } + } + }, + "description": "Response" + } + }, + "summary": "Get an organization secret", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "put": { + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization\npermission to use this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [libsodium-wrappers](https://www.npmjs.com/package/libsodium-wrappers) library.\n\n```\nconst sodium = require('libsodium-wrappers')\nconst secret = 'plain-text-secret' // replace with the secret you want to encrypt\nconst key = 'base64-encoded-public-key' // replace with the Base64 encoded public key\n\n//Check if libsodium is ready and then proceed.\nsodium.ready.then(() => {\n // Convert Secret & Base64 key to Uint8Array.\n let binkey = sodium.from_base64(key, sodium.base64_variants.ORIGINAL)\n let binsec = sodium.from_string(secret)\n\n //Encrypt the secret using LibSodium\n let encBytes = sodium.crypto_box_seal(binsec, binkey)\n\n // Convert encrypted Uint8Array to Base64\n let output = sodium.to_base64(encBytes, sodium.base64_variants.ORIGINAL)\n\n console.log(output)\n});\n```\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret" + }, + "operationId": "dependabot/create-or-update-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "selected_repository_ids": [ + "1296269", + "1296280" + ], + "visibility": "selected" + } + } + }, + "schema": { + "properties": { + "encrypted_value": { + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/reference/dependabot#get-an-organization-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", + "type": "string" + }, + "key_id": { + "description": "ID of the key you used to encrypt the secret.", + "type": "string" + }, + "selected_repository_ids": { + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "string" + }, + "type": "array" + }, + "visibility": { + "description": "Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret.", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + } + }, + "required": [ + "visibility" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response when creating a secret" + }, + "204": { + "description": "Response when updating a secret" + } + }, + "summary": "Create or update an organization secret", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/dependabot/secrets/{secret_name}/repositories": { + "get": { + "description": "Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret" + }, + "operationId": "dependabot/list-selected-repos-for-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-paginated" + } + }, + "schema": { + "properties": { + "repositories": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "repositories" + ], + "type": "object" + } + } + }, + "description": "Response" + } + }, + "summary": "List selected repositories for an organization secret", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "put": { + "description": "Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret" + }, + "operationId": "dependabot/set-selected-repos-for-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + }, + "schema": { + "properties": { + "selected_repository_ids": { + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "selected_repository_ids" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Set selected repositories for an organization secret", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}": { + "delete": { + "description": "Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret" + }, + "operationId": "dependabot/remove-selected-repo-from-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "in": "path", + "name": "repository_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response when repository was removed from the selected list" + }, + "409": { + "description": "Conflict when visibility type not set to selected" + } + }, + "summary": "Remove selected repository from an organization secret", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "put": { + "description": "Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#add-selected-repository-to-an-organization-secret" + }, + "operationId": "dependabot/add-selected-repo-to-org-secret", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "in": "path", + "name": "repository_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content when repository was added to the selected list" + }, + "409": { + "description": "Conflict when visibility type is not set to selected" + } + }, + "summary": "Add selected repository to an organization secret", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/events": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-public-organization-events" + }, + "operationId": "activity/list-public-org-events", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "200-response": { + "$ref": "#/components/examples/public-org-events-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/event" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "List public organization events", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "events" + } + } + }, + "/orgs/{org}/failed_invitations": { + "get": { + "description": "The return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-failed-organization-invitations" + }, + "operationId": "orgs/list-failed-invitations", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-invitation-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/organization-invitation" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List failed organization invitations", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + } + }, + "/orgs/{org}/hooks": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-organization-webhooks" + }, + "operationId": "orgs/list-webhooks", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/org-hook-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/org-hook" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List organization webhooks", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + }, + "post": { + "description": "Here's how you can create a hook that posts payloads in JSON format:", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#create-an-organization-webhook" + }, + "operationId": "orgs/create-webhook", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "active": true, + "config": { + "content_type": "json", + "url": "http://example.com/webhook" + }, + "events": [ + "push", + "pull_request" + ], + "name": "web" + } + } + }, + "schema": { + "properties": { + "active": { + "default": true, + "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", + "type": "boolean" + }, + "config": { + "description": "Key/value pairs to provide settings for this webhook. [These are defined below](https://docs.github.com/rest/reference/orgs#create-hook-config-params).", + "properties": { + "content_type": { + "$ref": "#/components/schemas/webhook-config-content-type" + }, + "insecure_ssl": { + "$ref": "#/components/schemas/webhook-config-insecure-ssl" + }, + "password": { + "example": "\"password\"", + "type": "string" + }, + "secret": { + "$ref": "#/components/schemas/webhook-config-secret" + }, + "url": { + "$ref": "#/components/schemas/webhook-config-url" + }, + "username": { + "example": "\"kdaigle\"", + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "events": { + "default": [ + "push" + ], + "description": "Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for. Set to `[\"*\"]` to receive all possible events.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Must be passed as \"web\".", + "type": "string" + } + }, + "required": [ + "name", + "config" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/org-hook" + } + }, + "schema": { + "$ref": "#/components/schemas/org-hook" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/orgs/octocat/hooks/1", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create an organization webhook", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + } + }, + "/orgs/{org}/hooks/{hook_id}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#delete-an-organization-webhook" + }, + "operationId": "orgs/delete-webhook", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/hook-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete an organization webhook", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + }, + "get": { + "description": "Returns a webhook configured in an organization. To get only the webhook `config` properties, see \"[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#get-an-organization-webhook" + }, + "operationId": "orgs/get-webhook", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/hook-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/org-hook" + } + }, + "schema": { + "$ref": "#/components/schemas/org-hook" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get an organization webhook", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + }, + "patch": { + "description": "Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#update-an-organization-webhook" + }, + "operationId": "orgs/update-webhook", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/hook-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "active": true, + "events": [ + "pull_request" + ] + } + } + }, + "schema": { + "properties": { + "active": { + "default": true, + "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", + "type": "boolean" + }, + "config": { + "description": "Key/value pairs to provide settings for this webhook. [These are defined below](https://docs.github.com/rest/reference/orgs#update-hook-config-params).", + "properties": { + "content_type": { + "$ref": "#/components/schemas/webhook-config-content-type" + }, + "insecure_ssl": { + "$ref": "#/components/schemas/webhook-config-insecure-ssl" + }, + "secret": { + "$ref": "#/components/schemas/webhook-config-secret" + }, + "url": { + "$ref": "#/components/schemas/webhook-config-url" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "events": { + "default": [ + "push" + ], + "description": "Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "example": "\"web\"", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/org-hook-2" + } + }, + "schema": { + "$ref": "#/components/schemas/org-hook" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update an organization webhook", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + } + }, + "/orgs/{org}/hooks/{hook_id}/config": { + "get": { + "description": "Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use \"[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#get-a-webhook-configuration-for-an-organization" + }, + "operationId": "orgs/get-webhook-config-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/hook-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/webhook-config" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-config" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a webhook configuration for an organization", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + }, + "patch": { + "description": "Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use \"[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook).\"\n\nAccess tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#update-a-webhook-configuration-for-an-organization" + }, + "operationId": "orgs/update-webhook-config-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/hook-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Update an existing webhook", + "value": { + "content_type": "json", + "insecure_ssl": "0", + "secret": "********", + "url": "http://example.com/webhook" + } + } + }, + "schema": { + "properties": { + "content_type": { + "$ref": "#/components/schemas/webhook-config-content-type" + }, + "insecure_ssl": { + "$ref": "#/components/schemas/webhook-config-insecure-ssl" + }, + "secret": { + "$ref": "#/components/schemas/webhook-config-secret" + }, + "url": { + "$ref": "#/components/schemas/webhook-config-url" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/webhook-config" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-config" + } + } + }, + "description": "Response" + } + }, + "summary": "Update a webhook configuration for an organization", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + } + }, + "/orgs/{org}/hooks/{hook_id}/deliveries": { + "get": { + "description": "Returns a list of webhook deliveries for a webhook configured in an organization.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-deliveries-for-an-organization-webhook" + }, + "operationId": "orgs/list-webhook-deliveries", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/hook-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/cursor" + }, + { + "in": "query", + "name": "redelivery", + "required": false, + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/hook-delivery-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/hook-delivery-item" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List deliveries for an organization webhook", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + } + }, + "/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}": { + "get": { + "description": "Returns a delivery for a webhook configured in an organization.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#get-a-webhook-delivery-for-an-organization-webhook" + }, + "operationId": "orgs/get-webhook-delivery", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/hook-id" + }, + { + "$ref": "#/components/parameters/delivery-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/hook-delivery" + } + }, + "schema": { + "$ref": "#/components/schemas/hook-delivery" + } + } + }, + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Get a webhook delivery for an organization webhook", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + } + }, + "/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": { + "post": { + "description": "Redeliver a delivery for a webhook configured in an organization.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#redeliver-a-delivery-for-an-organization-webhook" + }, + "operationId": "orgs/redeliver-webhook-delivery", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/hook-id" + }, + { + "$ref": "#/components/parameters/delivery-id" + } + ], + "responses": { + "202": { + "$ref": "#/components/responses/accepted" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Redeliver a delivery for an organization webhook", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + } + }, + "/orgs/{org}/hooks/{hook_id}/pings": { + "post": { + "description": "This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#ping-an-organization-webhook" + }, + "operationId": "orgs/ping-webhook", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/hook-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Ping an organization webhook", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "webhooks" + } + } + }, + "/orgs/{org}/installation": { + "get": { + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app" + }, + "operationId": "apps/get-org-installation", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/installation" + } + }, + "schema": { + "$ref": "#/components/schemas/installation" + } + } + }, + "description": "Response" + } + }, + "summary": "Get an organization installation for the authenticated app", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/installations": { + "get": { + "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-app-installations-for-an-organization" + }, + "operationId": "orgs/list-app-installations", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/installation-paginated" + } + }, + "schema": { + "properties": { + "installations": { + "items": { + "$ref": "#/components/schemas/installation" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "installations" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List app installations for an organization", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/interaction-limits": { + "delete": { + "description": "Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-an-organization" + }, + "operationId": "interactions/remove-restrictions-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Remove interaction restrictions for an organization", + "tags": [ + "interactions" + ], + "x-github": { + "category": "interactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "orgs" + } + }, + "get": { + "description": "Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-an-organization" + }, + "operationId": "interactions/get-restrictions-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/interaction-limit-response" + } + }, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/interaction-limit-response" + }, + { + "additionalProperties": false, + "properties": {}, + "type": "object" + } + ] + } + } + }, + "description": "Response" + } + }, + "summary": "Get interaction restrictions for an organization", + "tags": [ + "interactions" + ], + "x-github": { + "category": "interactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "orgs" + } + }, + "put": { + "description": "Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-an-organization" + }, + "operationId": "interactions/set-restrictions-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "expiry": "one_month", + "limit": "collaborators_only" + } + } + }, + "schema": { + "$ref": "#/components/schemas/interaction-limit" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/interaction-limit-response" + } + }, + "schema": { + "$ref": "#/components/schemas/interaction-limit-response" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Set interaction restrictions for an organization", + "tags": [ + "interactions" + ], + "x-github": { + "category": "interactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/invitations": { + "get": { + "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-pending-organization-invitations" + }, + "operationId": "orgs/list-pending-invitations", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "description": "Filter invitations by their member role.", + "in": "query", + "name": "role", + "required": false, + "schema": { + "default": "all", + "enum": [ + "all", + "admin", + "direct_member", + "billing_manager", + "hiring_manager" + ], + "type": "string" + } + }, + { + "description": "Filter invitations by their invitation source.", + "in": "query", + "name": "invitation_source", + "required": false, + "schema": { + "default": "all", + "enum": [ + "all", + "member", + "scim" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-invitation-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/organization-invitation" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List pending organization invitations", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + }, + "post": { + "description": "Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#create-an-organization-invitation" + }, + "operationId": "orgs/create-invitation", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "email": "octocat@github.com", + "role": "direct_member", + "team_ids": [ + 12, + 26 + ] + } + } + }, + "schema": { + "properties": { + "email": { + "description": "**Required unless you provide `invitee_id`**. Email address of the person you are inviting, which can be an existing GitHub user.", + "type": "string" + }, + "invitee_id": { + "description": "**Required unless you provide `email`**. GitHub user ID for the person you are inviting.", + "type": "integer" + }, + "role": { + "default": "direct_member", + "description": "The role for the new member. \n * `admin` - Organization owners with full administrative rights to the organization and complete access to all repositories and teams. \n * `direct_member` - Non-owner organization members with ability to see other members and join teams by invitation. \n * `billing_manager` - Non-owner organization members with ability to manage the billing settings of your organization.", + "enum": [ + "admin", + "direct_member", + "billing_manager" + ], + "type": "string" + }, + "team_ids": { + "description": "Specify IDs for the teams you want to invite new members to.", + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-invitation" + } + }, + "schema": { + "$ref": "#/components/schemas/organization-invitation" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create an organization invitation", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members", + "triggersNotification": true + } + } + }, + "/orgs/{org}/invitations/{invitation_id}": { + "delete": { + "description": "Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#cancel-an-organization-invitation" + }, + "operationId": "orgs/cancel-invitation", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/invitation-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Cancel an organization invitation", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members", + "triggersNotification": true + } + } + }, + "/orgs/{org}/invitations/{invitation_id}/teams": { + "get": { + "description": "List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-organization-invitation-teams" + }, + "operationId": "orgs/list-invitation-teams", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/invitation-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List organization invitation teams", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + } + }, + "/orgs/{org}/issues": { + "get": { + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user" + }, + "operationId": "issues/list-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "description": "Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means issues mentioning you. `subscribed` means issues you're subscribed to updates for. `all` or `repos` means all issues you can see, regardless of participation or creation.", + "in": "query", + "name": "filter", + "required": false, + "schema": { + "default": "assigned", + "enum": [ + "assigned", + "created", + "mentioned", + "subscribed", + "repos", + "all" + ], + "type": "string" + } + }, + { + "description": "Indicates the state of the issues to return.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "default": "open", + "enum": [ + "open", + "closed", + "all" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/labels" + }, + { + "description": "What to sort results by.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "created", + "enum": [ + "created", + "updated", + "comments" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue-with-repo-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/issue" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List organization issues assigned to the authenticated user", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/members": { + "get": { + "description": "List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-organization-members" + }, + "operationId": "orgs/list-members", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "description": "Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled will be returned. This options is only available for organization owners.", + "in": "query", + "name": "filter", + "required": false, + "schema": { + "default": "all", + "enum": [ + "2fa_disabled", + "all" + ], + "type": "string" + } + }, + { + "description": "Filter members returned by their role.", + "in": "query", + "name": "role", + "required": false, + "schema": { + "default": "all", + "enum": [ + "all", + "admin", + "member" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List organization members", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + } + }, + "/orgs/{org}/members/{username}": { + "delete": { + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#remove-an-organization-member" + }, + "operationId": "orgs/remove-member", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Remove an organization member", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + }, + "get": { + "description": "Check if a user is, publicly or privately, a member of the organization.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#check-organization-membership-for-a-user" + }, + "operationId": "orgs/check-membership-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response if requester is an organization member and user is a member" + }, + "302": { + "description": "Response if requester is not an organization member", + "headers": { + "Location": { + "example": "https://api.github.com/orgs/github/public_members/pezra", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "description": "Not Found if requester is an organization member and user is not a member" + } + }, + "summary": "Check organization membership for a user", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + } + }, + "/orgs/{org}/members/{username}/codespaces": { + "get": { + "description": "Lists the codespaces that a member of an organization has for repositories in that organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#get-codespaces-for-user-in-org" + }, + "operationId": "codespaces/get-codespaces-for-user-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespaces-list" + } + }, + "schema": { + "properties": { + "codespaces": { + "items": { + "$ref": "#/components/schemas/codespace" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "codespaces" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "List codespaces for a user in organization", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organizations" + } + } + }, + "/orgs/{org}/members/{username}/codespaces/{codespace_name}": { + "delete": { + "description": "Deletes a user's codespace.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces" + }, + "operationId": "codespaces/delete-from-organization", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/codespace-name" + } + ], + "responses": { + "202": { + "$ref": "#/components/responses/accepted" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "Delete a codespace from the organization", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organizations" + } + } + }, + "/orgs/{org}/members/{username}/codespaces/{codespace_name}/stop": { + "post": { + "description": "Stops a user's codespace.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces" + }, + "operationId": "codespaces/stop-in-organization", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/codespace-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespace" + } + }, + "schema": { + "$ref": "#/components/schemas/codespace" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "Stop a codespace for an organization user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "organizations" + } + } + }, + "/orgs/{org}/memberships/{username}": { + "delete": { + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#remove-organization-membership-for-a-user" + }, + "operationId": "orgs/remove-membership-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Remove organization membership for a user", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + }, + "get": { + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user" + }, + "operationId": "orgs/get-membership-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response-if-user-has-an-active-admin-membership-with-organization": { + "$ref": "#/components/examples/org-membership-response-if-user-has-an-active-admin-membership-with-organization" + } + }, + "schema": { + "$ref": "#/components/schemas/org-membership" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get organization membership for a user", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + }, + "put": { + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#set-organization-membership-for-a-user" + }, + "operationId": "orgs/set-membership-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Set an organization membership role for a user", + "value": { + "role": "member" + } + } + }, + "schema": { + "properties": { + "role": { + "default": "member", + "description": "The role to give the user in the organization. Can be one of: \n * `admin` - The user will become an owner of the organization. \n * `member` - The user will become a non-owner member of the organization.", + "enum": [ + "admin", + "member" + ], + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response-if-user-already-had-membership-with-organization": { + "$ref": "#/components/examples/org-membership-response-if-user-has-an-active-admin-membership-with-organization" + } + }, + "schema": { + "$ref": "#/components/schemas/org-membership" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Set organization membership for a user", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + } + }, + "/orgs/{org}/migrations": { + "get": { + "description": "Lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).\n\nA list of `repositories` is only returned for export migrations.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/orgs#list-organization-migrations" + }, + "operationId": "migrations/list-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "description": "Exclude attributes from the API response to improve performance", + "in": "query", + "name": "exclude", + "schema": { + "items": { + "description": "Allowed values that can be passed to the exclude param.", + "enum": [ + "repositories" + ], + "example": "repositories", + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/migration-with-short-org-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/migration" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List organization migrations", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "orgs" + } + }, + "post": { + "description": "Initiates the generation of a migration archive.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/orgs#start-an-organization-migration" + }, + "operationId": "migrations/start-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "lock_repositories": true, + "repositories": [ + "github/Hello-World" + ] + } + } + }, + "schema": { + "properties": { + "exclude": { + "description": "Exclude related items from being returned in the response in order to improve performance of the request. The array can include any of: `\"repositories\"`.", + "items": { + "enum": [ + "repositories" + ], + "type": "string" + }, + "type": "array" + }, + "exclude_attachments": { + "default": false, + "description": "Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).", + "example": true, + "type": "boolean" + }, + "exclude_git_data": { + "default": false, + "description": "Indicates whether the repository git data should be excluded from the migration.", + "type": "boolean" + }, + "exclude_metadata": { + "default": false, + "description": "Indicates whether metadata should be excluded and only git source should be included for the migration.", + "type": "boolean" + }, + "exclude_owner_projects": { + "default": false, + "description": "Indicates whether projects owned by the organization or users should be excluded. from the migration.", + "example": true, + "type": "boolean" + }, + "exclude_releases": { + "default": false, + "description": "Indicates whether releases should be excluded from the migration (to reduce migration archive file size).", + "example": true, + "type": "boolean" + }, + "lock_repositories": { + "default": false, + "description": "Indicates whether repositories should be locked (to prevent manipulation) while migrating data.", + "example": true, + "type": "boolean" + }, + "org_metadata_only": { + "default": false, + "description": "Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).", + "example": true, + "type": "boolean" + }, + "repositories": { + "description": "A list of arrays indicating which repositories should be migrated.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "repositories" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/migration-with-short-org-2" + } + }, + "schema": { + "$ref": "#/components/schemas/migration" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Start an organization migration", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/migrations/{migration_id}": { + "get": { + "description": "Fetches the status of a migration.\n\nThe `state` of a migration can be one of the following values:\n\n* `pending`, which means the migration hasn't started yet.\n* `exporting`, which means the migration is in progress.\n* `exported`, which means the migration finished successfully.\n* `failed`, which means the migration failed.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status" + }, + "operationId": "migrations/get-status-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/migration-id" + }, + { + "description": "Exclude attributes from the API response to improve performance", + "in": "query", + "name": "exclude", + "schema": { + "items": { + "description": "Allowed values that can be passed to the exclude param.", + "enum": [ + "repositories" + ], + "example": "repositories", + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/migration-with-short-org" + } + }, + "schema": { + "$ref": "#/components/schemas/migration" + } + } + }, + "description": "* `pending`, which means the migration hasn't started yet.\n* `exporting`, which means the migration is in progress.\n* `exported`, which means the migration finished successfully.\n* `failed`, which means the migration failed." + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get an organization migration status", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/migrations/{migration_id}/archive": { + "delete": { + "description": "Deletes a previous migration archive. Migration archives are automatically deleted after seven days.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive" + }, + "operationId": "migrations/delete-archive-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/migration-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete an organization migration archive", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "orgs" + } + }, + "get": { + "description": "Fetches the URL to a migration archive.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive" + }, + "operationId": "migrations/download-archive-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/migration-id" + } + ], + "responses": { + "302": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Download an organization migration archive", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock": { + "delete": { + "description": "Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository" + }, + "operationId": "migrations/unlock-repo-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/migration-id" + }, + { + "$ref": "#/components/parameters/repo-name" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Unlock an organization repository", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/migrations/{migration_id}/repositories": { + "get": { + "description": "List all the repositories for this organization migration.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration" + }, + "operationId": "migrations/list-repos-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/migration-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List repositories in an organization migration", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/outside_collaborators": { + "get": { + "description": "List all users who are outside collaborators of an organization.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization" + }, + "operationId": "orgs/list-outside-collaborators", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "description": "Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled will be returned.", + "in": "query", + "name": "filter", + "required": false, + "schema": { + "default": "all", + "enum": [ + "2fa_disabled", + "all" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List outside collaborators for an organization", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "outside-collaborators" + } + } + }, + "/orgs/{org}/outside_collaborators/{username}": { + "delete": { + "description": "Removing a user from this list will remove them from all the organization's repositories.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#remove-outside-collaborator-from-an-organization" + }, + "operationId": "orgs/remove-outside-collaborator", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "422": { + "content": { + "application/json": { + "examples": { + "response-if-user-is-a-member-of-the-organization": { + "value": { + "documentation_url": "https://docs.github.com/rest/reference/orgs#remove-outside-collaborator", + "message": "You cannot specify an organization member to remove as an outside collaborator." + } + } + }, + "schema": { + "properties": { + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Unprocessable Entity if user is a member of the organization" + } + }, + "summary": "Remove outside collaborator from an organization", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "outside-collaborators" + } + }, + "put": { + "description": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator" + }, + "operationId": "orgs/convert-member-to-outside-collaborator", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "202": { + "summary": "Status code 202, asynchronous request", + "value": { + "async": true + } + }, + "204": { + "summary": "Status code 204, synchronous request", + "value": null + } + }, + "schema": { + "properties": { + "async": { + "default": false, + "description": "When set to `true`, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.", + "type": "boolean" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "202": { + "content": { + "application/json": { + "examples": { + "202": { + "value": null + } + }, + "schema": { + "additionalProperties": false, + "properties": {}, + "type": "object" + } + } + }, + "description": "User is getting converted asynchronously" + }, + "204": { + "description": "User was converted" + }, + "403": { + "description": "Forbidden if user is the last owner of the organization, not a member of the organization, or if the enterprise enforces a policy for inviting outside collaborators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Convert an organization member to outside collaborator", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "outside-collaborators" + } + } + }, + "/orgs/{org}/packages": { + "get": { + "description": "Lists packages in an organization readable by the user.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#list-packages-for-an-organization" + }, + "operationId": "packages/list-packages-for-organization", + "parameters": [ + { + "description": "The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.", + "in": "query", + "name": "package_type", + "required": true, + "schema": { + "enum": [ + "npm", + "maven", + "rubygems", + "docker", + "nuget", + "container" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/package-visibility" + }, + { + "description": "Page number of the results to fetch.", + "in": "query", + "name": "page", + "schema": { + "default": 1, + "type": "integer" + } + }, + { + "description": "The number of results per page (max 100).", + "in": "query", + "name": "per_page", + "schema": { + "default": 30, + "type": "integer" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/packages-for-org" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/package" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List packages for an organization", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/packages/{package_type}/{package_name}": { + "delete": { + "description": "Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nTo use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:\n- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"\n- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to delete. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#delete-a-package-for-an-organization" + }, + "operationId": "packages/delete-package-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a package for an organization", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "Gets a specific package in an organization.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#get-a-package-for-an-organization" + }, + "operationId": "packages/get-package-for-organization", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/package-org" + } + }, + "schema": { + "$ref": "#/components/schemas/package" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a package for an organization", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/packages/{package_type}/{package_name}/restore": { + "post": { + "description": "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nTo use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:\n- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"\n- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to restore. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#restore-a-package-for-an-organization" + }, + "operationId": "packages/restore-package-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "description": "package token", + "in": "query", + "name": "token", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Restore a package for an organization", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/packages/{package_type}/{package_name}/versions": { + "get": { + "description": "Lists package versions for a package owned by an organization.\n\nIf the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/packages#get-all-package-versions-for-a-package-owned-by-an-organization" + }, + "operationId": "packages/get-all-package-versions-for-package-owned-by-org", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "description": "The state of the package, either active or deleted.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "default": "active", + "enum": [ + "active", + "deleted" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/package-versions-for-org" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/package-version" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List package versions for a package owned by an organization", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": { + "delete": { + "description": "Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nTo use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:\n- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"\n- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to delete. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#delete-a-package-version-for-an-organization" + }, + "operationId": "packages/delete-package-version-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete package version for an organization", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "Gets a specific package version in an organization.\n\nYou must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#get-a-package-version-for-an-organization" + }, + "operationId": "packages/get-package-version-for-organization", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/package-version-org" + } + }, + "schema": { + "$ref": "#/components/schemas/package-version" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a package version for an organization", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { + "post": { + "description": "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nTo use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:\n- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"\n- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to restore. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#restore-a-package-version-for-an-organization" + }, + "operationId": "packages/restore-package-version-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Restore package version for an organization", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/projects": { + "get": { + "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#list-organization-projects" + }, + "operationId": "projects/list-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "description": "Indicates the state of the projects to return.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "default": "open", + "enum": [ + "open", + "closed", + "all" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/project" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "List organization projects", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#create-an-organization-project" + }, + "operationId": "projects/create-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "High-level roadmap for the upcoming year.", + "name": "Organization Roadmap" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The description of the project.", + "type": "string" + }, + "name": { + "description": "The name of the project.", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-2" + } + }, + "schema": { + "$ref": "#/components/schemas/project" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Create an organization project", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/public_members": { + "get": { + "description": "Members of an organization can choose to have their membership publicized or not.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-public-organization-members" + }, + "operationId": "orgs/list-public-members", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List public organization members", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + } + }, + "/orgs/{org}/public_members/{username}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user" + }, + "operationId": "orgs/remove-public-membership-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Remove public organization membership for the authenticated user", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "members" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user" + }, + "operationId": "orgs/check-public-membership-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response if user is a public member" + }, + "404": { + "description": "Not Found if user is not a public member" + } + }, + "summary": "Check public organization membership for a user", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + }, + "put": { + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user" + }, + "operationId": "orgs/set-public-membership-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Set public organization membership for the authenticated user", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "members" + } + } + }, + "/orgs/{org}/repos": { + "get": { + "description": "Lists repositories for the specified organization.\n\n**Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#list-organization-repositories" + }, + "operationId": "repos/list-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "description": "Specifies the types of repositories you want returned.", + "in": "query", + "name": "type", + "required": false, + "schema": { + "enum": [ + "all", + "public", + "private", + "forks", + "sources", + "member" + ], + "type": "string" + } + }, + { + "description": "The property to sort the results by.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "created", + "enum": [ + "created", + "updated", + "pushed", + "full_name" + ], + "type": "string" + } + }, + { + "description": "The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`.", + "in": "query", + "name": "direction", + "required": false, + "schema": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List organization repositories", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#create-an-organization-repository" + }, + "operationId": "repos/create-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "description": "This is your first repository", + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "name": "Hello-World", + "private": false + } + } + }, + "schema": { + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.", + "type": "boolean" + }, + "auto_init": { + "default": false, + "description": "Pass `true` to create an initial commit with empty README.", + "type": "boolean" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. **The authenticated user must be an organization owner to set this property to `true`.**", + "type": "boolean" + }, + "description": { + "description": "A short description of the repository.", + "type": "string" + }, + "gitignore_template": { + "description": "Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, \"Haskell\".", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "example": true, + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Either `true` to enable issues for this repository or `false` to disable them.", + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Either `true` to enable the wiki for this repository or `false` to disable it.", + "type": "boolean" + }, + "homepage": { + "description": "A URL with more information about the repository.", + "type": "string" + }, + "is_template": { + "default": false, + "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.", + "type": "boolean" + }, + "license_template": { + "description": "Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, \"mit\" or \"mpl-2.0\".", + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "private": { + "default": false, + "description": "Whether the repository is private.", + "type": "boolean" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "team_id": { + "description": "The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.", + "type": "integer" + }, + "use_squash_pr_title_as_default": { + "default": false, + "deprecated": true, + "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", + "type": "boolean" + }, + "visibility": { + "description": "The visibility of the repository.", + "enum": [ + "public", + "private" + ], + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repository" + } + }, + "schema": { + "$ref": "#/components/schemas/repository" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create an organization repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/secret-scanning/alerts": { + "get": { + "description": "Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.\nTo use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-organization" + }, + "operationId": "secret-scanning/list-alerts-for-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-state" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-secret-type" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-resolution" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-sort" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/secret-scanning-pagination-before-org-repo" + }, + { + "$ref": "#/components/parameters/secret-scanning-pagination-after-org-repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-secret-scanning-alert-list" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/organization-secret-scanning-alert" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "List secret scanning alerts for an organization", + "tags": [ + "secret-scanning" + ], + "x-github": { + "category": "secret-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/security-managers": { + "get": { + "description": "Lists teams that are security managers for an organization. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nTo use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `read:org` scope.\n\nGitHub Apps must have the `administration` organization read permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-security-manager-teams" + }, + "operationId": "orgs/list-security-manager-teams", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team-simple" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "List security manager teams", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "previews": [], + "subcategory": "security-managers" + } + } + }, + "/orgs/{org}/security-managers/teams/{team_slug}": { + "delete": { + "description": "Removes the security manager role from a team for an organization. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) team from an organization.\"\n\nTo use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.\n\nGitHub Apps must have the `administration` organization read-write permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#remove-a-security-manager-team" + }, + "operationId": "orgs/remove-security-manager-team", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Remove a security manager team", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "previews": [], + "subcategory": "security-managers" + } + }, + "put": { + "description": "Adds a team as a security manager for an organization. For more information, see \"[Managing security for an organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) for an organization.\"\n\nTo use this endpoint, you must be an administrator for the organization, and you must use an access token with the `write:org` scope.\n\nGitHub Apps must have the `administration` organization read-write permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#add-a-security-manager-team" + }, + "operationId": "orgs/add-security-manager-team", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "The organization has reached the maximum number of security manager teams." + } + }, + "summary": "Add a security manager team", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "previews": [], + "subcategory": "security-managers" + } + } + }, + "/orgs/{org}/settings/billing/actions": { + "get": { + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAccess tokens must have the `repo` or `admin:org` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-organization" + }, + "operationId": "billing/get-github-actions-billing-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-billing-usage" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-billing-usage" + } + } + }, + "description": "Response" + } + }, + "summary": "Get GitHub Actions billing for an organization", + "tags": [ + "billing" + ], + "x-github": { + "category": "billing", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/settings/billing/packages": { + "get": { + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `repo` or `admin:org` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-organization" + }, + "operationId": "billing/get-github-packages-billing-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/packages-billing-usage" + } + }, + "schema": { + "$ref": "#/components/schemas/packages-billing-usage" + } + } + }, + "description": "Response" + } + }, + "summary": "Get GitHub Packages billing for an organization", + "tags": [ + "billing" + ], + "x-github": { + "category": "billing", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/settings/billing/shared-storage": { + "get": { + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `repo` or `admin:org` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-an-organization" + }, + "operationId": "billing/get-shared-storage-billing-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/combined-billing-usage" + } + }, + "schema": { + "$ref": "#/components/schemas/combined-billing-usage" + } + } + }, + "description": "Response" + } + }, + "summary": "Get shared storage billing for an organization", + "tags": [ + "billing" + ], + "x-github": { + "category": "billing", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/teams": { + "get": { + "description": "Lists all teams in an organization that are visible to the authenticated user.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#list-teams" + }, + "operationId": "teams/list", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List teams", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://docs.github.com/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/about-teams)\".", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#create-a-team" + }, + "operationId": "teams/create", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "description": "A great team", + "name": "Justice League", + "permission": "push", + "privacy": "closed" + } + } + }, + "schema": { + "properties": { + "description": { + "description": "The description of the team.", + "type": "string" + }, + "maintainers": { + "description": "List GitHub IDs for organization members who will become team maintainers.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "The name of the team.", + "type": "string" + }, + "parent_team_id": { + "description": "The ID of a team to set as the parent team.", + "type": "integer" + }, + "permission": { + "default": "pull", + "description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified.", + "enum": [ + "pull", + "push" + ], + "type": "string" + }, + "privacy": { + "description": "The level of privacy this team should have. The options are: \n**For a non-nested team:** \n * `secret` - only visible to organization owners and members of this team. \n * `closed` - visible to all members of this organization. \nDefault: `secret` \n**For a parent or child team:** \n * `closed` - visible to all members of this organization. \nDefault for child team: `closed`", + "enum": [ + "secret", + "closed" + ], + "type": "string" + }, + "repo_names": { + "description": "The full name (e.g., \"organization-name/repository-name\") of repositories to add the team to.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "name" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-full" + } + }, + "schema": { + "$ref": "#/components/schemas/team-full" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a team", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/teams/{team_slug}": { + "delete": { + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#delete-a-team" + }, + "operationId": "teams/delete-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a team", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "Gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `\"My TEam Näme\"` would become `my-team-name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#get-a-team-by-name" + }, + "operationId": "teams/get-by-name", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-full" + } + }, + "schema": { + "$ref": "#/components/schemas/team-full" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a team by name", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "patch": { + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#update-a-team" + }, + "operationId": "teams/update-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "description": "new team description", + "name": "new team name", + "privacy": "closed" + } + } + }, + "schema": { + "properties": { + "description": { + "description": "The description of the team.", + "type": "string" + }, + "name": { + "description": "The name of the team.", + "type": "string" + }, + "parent_team_id": { + "description": "The ID of a team to set as the parent team.", + "nullable": true, + "type": "integer" + }, + "permission": { + "default": "pull", + "description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified.", + "enum": [ + "pull", + "push", + "admin" + ], + "type": "string" + }, + "privacy": { + "description": "The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. The options are: \n**For a non-nested team:** \n * `secret` - only visible to organization owners and members of this team. \n * `closed` - visible to all members of this organization. \n**For a parent or child team:** \n * `closed` - visible to all members of this organization.", + "enum": [ + "secret", + "closed" + ], + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-full" + } + }, + "schema": { + "$ref": "#/components/schemas/team-full" + } + } + }, + "description": "Response when the updated information already exists" + }, + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-full" + } + }, + "schema": { + "$ref": "#/components/schemas/team-full" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update a team", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/teams/{team_slug}/discussions": { + "get": { + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#list-discussions" + }, + "operationId": "teams/list-discussions-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "description": "Pinned discussions only filter", + "in": "query", + "name": "pinned", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team-discussion" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List discussions", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "discussions" + } + }, + "post": { + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#create-a-discussion" + }, + "operationId": "teams/create-discussion-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Hi! This is an area for us to collaborate as a team.", + "title": "Our first team post" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The discussion post's body text.", + "type": "string" + }, + "private": { + "default": false, + "description": "Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.", + "type": "boolean" + }, + "title": { + "description": "The discussion post's title.", + "type": "string" + } + }, + "required": [ + "title", + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion" + } + }, + "schema": { + "$ref": "#/components/schemas/team-discussion" + } + } + }, + "description": "Response" + } + }, + "summary": "Create a discussion", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "discussions", + "triggersNotification": true + } + } + }, + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": { + "delete": { + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#delete-a-discussion" + }, + "operationId": "teams/delete-discussion-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/discussion-number" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a discussion", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "discussions" + } + }, + "get": { + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#get-a-discussion" + }, + "operationId": "teams/get-discussion-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/discussion-number" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion" + } + }, + "schema": { + "$ref": "#/components/schemas/team-discussion" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a discussion", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "discussions" + } + }, + "patch": { + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#update-a-discussion" + }, + "operationId": "teams/update-discussion-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/discussion-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "title": "Welcome to our first team post" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The discussion post's body text.", + "type": "string" + }, + "title": { + "description": "The discussion post's title.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion-2" + } + }, + "schema": { + "$ref": "#/components/schemas/team-discussion" + } + } + }, + "description": "Response" + } + }, + "summary": "Update a discussion", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "discussions" + } + } + }, + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments": { + "get": { + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#list-discussion-comments" + }, + "operationId": "teams/list-discussion-comments-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion-comment-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team-discussion-comment" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List discussion comments", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "discussion-comments" + } + }, + "post": { + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#create-a-discussion-comment" + }, + "operationId": "teams/create-discussion-comment-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/discussion-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Do you like apples?" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The discussion comment's body text.", + "type": "string" + } + }, + "required": [ + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion-comment" + } + }, + "schema": { + "$ref": "#/components/schemas/team-discussion-comment" + } + } + }, + "description": "Response" + } + }, + "summary": "Create a discussion comment", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "discussion-comments", + "triggersNotification": true + } + } + }, + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": { + "delete": { + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#delete-a-discussion-comment" + }, + "operationId": "teams/delete-discussion-comment-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "$ref": "#/components/parameters/comment-number" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a discussion comment", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "discussion-comments" + } + }, + "get": { + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#get-a-discussion-comment" + }, + "operationId": "teams/get-discussion-comment-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "$ref": "#/components/parameters/comment-number" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion-comment" + } + }, + "schema": { + "$ref": "#/components/schemas/team-discussion-comment" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a discussion comment", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "discussion-comments" + } + }, + "patch": { + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#update-a-discussion-comment" + }, + "operationId": "teams/update-discussion-comment-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "$ref": "#/components/parameters/comment-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Do you like pineapples?" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The discussion comment's body text.", + "type": "string" + } + }, + "required": [ + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion-comment-2" + } + }, + "schema": { + "$ref": "#/components/schemas/team-discussion-comment" + } + } + }, + "description": "Response" + } + }, + "summary": "Update a discussion comment", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "discussion-comments" + } + } + }, + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": { + "get": { + "description": "List the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment" + }, + "operationId": "reactions/list-for-team-discussion-comment-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "$ref": "#/components/parameters/comment-number" + }, + { + "description": "Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to a team discussion comment.", + "in": "query", + "name": "content", + "required": false, + "schema": { + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/reaction" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List reactions for a team discussion comment", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment" + }, + "operationId": "reactions/create-for-team-discussion-comment-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "$ref": "#/components/parameters/comment-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "content": "heart" + } + } + }, + "schema": { + "properties": { + "content": { + "description": "The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the team discussion comment.", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + "required": [ + "content" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Response when the reaction type has already been added to this team discussion comment" + }, + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Response" + } + }, + "summary": "Create reaction for a team discussion comment", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": { + "delete": { + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#delete-team-discussion-comment-reaction" + }, + "operationId": "reactions/delete-for-team-discussion-comment", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "$ref": "#/components/parameters/comment-number" + }, + { + "$ref": "#/components/parameters/reaction-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete team discussion comment reaction", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": { + "get": { + "description": "List the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion" + }, + "operationId": "reactions/list-for-team-discussion-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "description": "Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to a team discussion.", + "in": "query", + "name": "content", + "required": false, + "schema": { + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/reaction" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List reactions for a team discussion", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion" + }, + "operationId": "reactions/create-for-team-discussion-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/discussion-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "content": "heart" + } + } + }, + "schema": { + "properties": { + "content": { + "description": "The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the team discussion.", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + "required": [ + "content" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Response" + }, + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Response" + } + }, + "summary": "Create reaction for a team discussion", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": { + "delete": { + "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#delete-team-discussion-reaction" + }, + "operationId": "reactions/delete-for-team-discussion", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "$ref": "#/components/parameters/reaction-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete team discussion reaction", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/teams/{team_slug}/invitations": { + "get": { + "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#list-pending-team-invitations" + }, + "operationId": "teams/list-pending-invitations-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-invitation-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/organization-invitation" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List pending team invitations", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + } + }, + "/orgs/{org}/teams/{team_slug}/members": { + "get": { + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#list-team-members" + }, + "operationId": "teams/list-members-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "description": "Filters members returned by their role in the team.", + "in": "query", + "name": "role", + "required": false, + "schema": { + "default": "all", + "enum": [ + "member", + "maintainer", + "all" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List team members", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + } + }, + "/orgs/{org}/teams/{team_slug}/memberships/{username}": { + "delete": { + "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user" + }, + "operationId": "teams/remove-membership-for-user-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden if team synchronization is set up" + } + }, + "summary": "Remove team membership for a user", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + }, + "get": { + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user" + }, + "operationId": "teams/get-membership-for-user-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response-if-user-is-a-team-maintainer": { + "$ref": "#/components/examples/team-membership-response-if-user-is-a-team-maintainer" + } + }, + "schema": { + "$ref": "#/components/schemas/team-membership" + } + } + }, + "description": "Response" + }, + "404": { + "description": "if user has no team membership" + } + }, + "summary": "Get team membership for a user", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + }, + "put": { + "description": "Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user" + }, + "operationId": "teams/add-or-update-membership-for-user-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Add or update team membership for an organization member", + "value": { + "role": "maintainer" + } + } + }, + "schema": { + "properties": { + "role": { + "default": "member", + "description": "The role that this user should have in the team.", + "enum": [ + "member", + "maintainer" + ], + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response-if-users-membership-with-team-is-now-pending": { + "$ref": "#/components/examples/team-membership-response-if-users-membership-with-team-is-now-pending" + } + }, + "schema": { + "$ref": "#/components/schemas/team-membership" + } + } + }, + "description": "Response" + }, + "403": { + "description": "Forbidden if team synchronization is set up" + }, + "422": { + "description": "Unprocessable Entity if you attempt to add an organization to a team" + } + }, + "summary": "Add or update team membership for a user", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "members" + } + } + }, + "/orgs/{org}/teams/{team_slug}/projects": { + "get": { + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#list-team-projects" + }, + "operationId": "teams/list-projects-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-project-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team-project" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List team projects", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/teams/{team_slug}/projects/{project_id}": { + "delete": { + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#remove-a-project-from-a-team" + }, + "operationId": "teams/remove-project-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/project-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Remove a project from a team", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project" + }, + "operationId": "teams/check-permissions-for-project-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/project-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-project" + } + }, + "schema": { + "$ref": "#/components/schemas/team-project" + } + } + }, + "description": "Response" + }, + "404": { + "description": "Not Found if project is not managed by this team" + } + }, + "summary": "Check team permissions for a project", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "put": { + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions" + }, + "operationId": "teams/add-or-update-project-permissions-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/project-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Updates the permissions for the team to write for the project", + "value": { + "permission": "write" + } + } + }, + "schema": { + "nullable": true, + "properties": { + "permission": { + "description": "The permission to grant to the team for this project. Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"", + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "content": { + "application/json": { + "examples": { + "response-if-the-project-is-not-owned-by-the-organization": { + "value": { + "documentation_url": "https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions", + "message": "Must have admin rights to Repository." + } + } + }, + "schema": { + "properties": { + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Forbidden if the project is not owned by the organization" + } + }, + "summary": "Add or update team project permissions", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/teams/{team_slug}/repos": { + "get": { + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#list-team-repositories" + }, + "operationId": "teams/list-repos-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List team repositories", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": { + "delete": { + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams/#remove-a-repository-from-a-team" + }, + "operationId": "teams/remove-repo-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Remove a repository from a team", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-repository" + }, + "operationId": "teams/check-permissions-for-repo-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "alternative-response-with-repository-permissions": { + "$ref": "#/components/examples/team-repository-alternative-response-with-repository-permissions" + } + }, + "schema": { + "$ref": "#/components/schemas/team-repository" + } + } + }, + "description": "Alternative response with repository permissions" + }, + "204": { + "description": "Response if team has permission for the repository. This is the response when the repository media type hasn't been provded in the Accept header." + }, + "404": { + "description": "Not Found if team does not have permission for the repository" + } + }, + "summary": "Check team permissions for a repository", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "put": { + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions" + }, + "operationId": "teams/add-or-update-repo-permissions-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Adding a team to an organization repository with the write role", + "value": { + "permission": "push" + } + } + }, + "schema": { + "properties": { + "permission": { + "default": "push", + "description": "The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Add or update team repository permissions", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/teams/{team_slug}/teams": { + "get": { + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#list-child-teams" + }, + "operationId": "teams/list-child-in-org", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response-if-child-teams-exist": { + "$ref": "#/components/examples/team-items-response-if-child-teams-exist" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team" + }, + "type": "array" + } + } + }, + "description": "if child teams exist", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List child teams", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/orgs/{org}/{security_product}/{enablement}": { + "post": { + "description": "Enables or disables the specified security feature for all repositories in an organization.\n\nTo use this endpoint, you must be an organization owner or be member of a team with the security manager role.\nA token with the 'write:org' scope is also required.\n\nGitHub Apps must have the `organization_administration:write` permission to use this endpoint.\n\nFor more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#enable-or-disable-security-product-on-all-org-repos" + }, + "operationId": "orgs/enable-or-disable-security-product-on-all-org-repos", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/security-product" + }, + { + "$ref": "#/components/parameters/org-security-product-enablement" + } + ], + "responses": { + "204": { + "description": "Action started" + }, + "422": { + "description": "The action could not be taken due to an in progress enablement, or a policy is preventing enablement" + } + }, + "summary": "Enable or disable a security feature for an organization", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "previews": [], + "subcategory": "orgs" + } + } + }, + "/projects/columns/cards/{card_id}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#delete-a-project-card" + }, + "operationId": "projects/delete-card", + "parameters": [ + { + "$ref": "#/components/parameters/card-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "content": { + "application/json": { + "schema": { + "properties": { + "documentation_url": { + "type": "string" + }, + "errors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a project card", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "cards" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#get-a-project-card" + }, + "operationId": "projects/get-card", + "parameters": [ + { + "$ref": "#/components/parameters/card-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-card" + } + }, + "schema": { + "$ref": "#/components/schemas/project-card" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a project card", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "cards" + } + }, + "patch": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#update-a-project-card" + }, + "operationId": "projects/update-card", + "parameters": [ + { + "$ref": "#/components/parameters/card-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Change the note on the card", + "value": { + "note": "Add payload for delete Project column" + } + } + }, + "schema": { + "properties": { + "archived": { + "description": "Whether or not the card is archived", + "example": false, + "type": "boolean" + }, + "note": { + "description": "The project card's note", + "example": "Update all gems", + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-card" + } + }, + "schema": { + "$ref": "#/components/schemas/project-card" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Update an existing project card", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "cards" + } + } + }, + "/projects/columns/cards/{card_id}/moves": { + "post": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#move-a-project-card" + }, + "operationId": "projects/move-card", + "parameters": [ + { + "$ref": "#/components/parameters/card-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Move the card to the bottom of the column", + "value": { + "column_id": 42, + "position": "bottom" + } + } + }, + "schema": { + "properties": { + "column_id": { + "description": "The unique identifier of the column the card should be moved to", + "example": 42, + "type": "integer" + }, + "position": { + "description": "The position of the card in a column. Can be one of: `top`, `bottom`, or `after:` to place after the specified card.", + "example": "bottom", + "pattern": "^(?:top|bottom|after:\\d+)$", + "type": "string" + } + }, + "required": [ + "position" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "additionalProperties": false, + "properties": {}, + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "content": { + "application/json": { + "schema": { + "properties": { + "documentation_url": { + "type": "string" + }, + "errors": { + "items": { + "properties": { + "code": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "resource": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "items": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Response" + } + }, + "summary": "Move a project card", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "cards" + } + } + }, + "/projects/columns/{column_id}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#delete-a-project-column" + }, + "operationId": "projects/delete-column", + "parameters": [ + { + "$ref": "#/components/parameters/column-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Delete a project column", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "columns" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#get-a-project-column" + }, + "operationId": "projects/get-column", + "parameters": [ + { + "$ref": "#/components/parameters/column-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-column" + } + }, + "schema": { + "$ref": "#/components/schemas/project-column" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a project column", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "columns" + } + }, + "patch": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#update-a-project-column" + }, + "operationId": "projects/update-column", + "parameters": [ + { + "$ref": "#/components/parameters/column-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Rename the project column", + "value": { + "name": "To Do" + } + } + }, + "schema": { + "properties": { + "name": { + "description": "Name of the project column", + "example": "Remaining tasks", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-column" + } + }, + "schema": { + "$ref": "#/components/schemas/project-column" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Update an existing project column", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "columns" + } + } + }, + "/projects/columns/{column_id}/cards": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#list-project-cards" + }, + "operationId": "projects/list-cards", + "parameters": [ + { + "$ref": "#/components/parameters/column-id" + }, + { + "description": "Filters the project cards that are returned by the card's state.", + "in": "query", + "name": "archived_state", + "required": false, + "schema": { + "default": "not_archived", + "enum": [ + "all", + "archived", + "not_archived" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-card-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/project-card" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List project cards", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "cards" + } + }, + "post": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#create-a-project-card" + }, + "operationId": "projects/create-card", + "parameters": [ + { + "$ref": "#/components/parameters/column-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Create a new card", + "value": { + "note": "Add payload for delete Project column" + } + } + }, + "schema": { + "oneOf": [ + { + "properties": { + "note": { + "description": "The project card's note", + "example": "Update all gems", + "nullable": true, + "type": "string" + } + }, + "required": [ + "note" + ], + "type": "object" + }, + { + "properties": { + "content_id": { + "description": "The unique identifier of the content associated with the card", + "example": 42, + "type": "integer" + }, + "content_type": { + "description": "The piece of content associated with the card", + "example": "PullRequest", + "type": "string" + } + }, + "required": [ + "content_id", + "content_type" + ], + "type": "object" + } + ] + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-card" + } + }, + "schema": { + "$ref": "#/components/schemas/project-card" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/validation-error" + }, + { + "$ref": "#/components/schemas/validation-error-simple" + } + ] + } + } + }, + "description": "Validation failed" + }, + "503": { + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "items": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Response" + } + }, + "summary": "Create a project card", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "cards" + } + } + }, + "/projects/columns/{column_id}/moves": { + "post": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#move-a-project-column" + }, + "operationId": "projects/move-column", + "parameters": [ + { + "$ref": "#/components/parameters/column-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Move the column to the end of the board", + "value": { + "position": "last" + } + } + }, + "schema": { + "properties": { + "position": { + "description": "The position of the column in a project. Can be one of: `first`, `last`, or `after:` to place after the specified column.", + "example": "last", + "pattern": "^(?:first|last|after:\\d+)$", + "type": "string" + } + }, + "required": [ + "position" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "additionalProperties": false, + "properties": {}, + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Move a project column", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "columns" + } + } + }, + "/projects/{project_id}": { + "delete": { + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#delete-a-project" + }, + "operationId": "projects/delete", + "parameters": [ + { + "$ref": "#/components/parameters/project-id" + } + ], + "responses": { + "204": { + "description": "Delete Success" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "content": { + "application/json": { + "schema": { + "properties": { + "documentation_url": { + "type": "string" + }, + "errors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "summary": "Delete a project", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#get-a-project" + }, + "operationId": "projects/get", + "parameters": [ + { + "$ref": "#/components/parameters/project-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-3" + } + }, + "schema": { + "$ref": "#/components/schemas/project" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Get a project", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "patch": { + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#update-a-project" + }, + "operationId": "projects/update", + "parameters": [ + { + "$ref": "#/components/parameters/project-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Change the name, state, and permissions for a project", + "value": { + "name": "Week One Sprint", + "organization_permission": "write", + "state": "open" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "Body of the project", + "example": "This project represents the sprint of the first week in January", + "nullable": true, + "type": "string" + }, + "name": { + "description": "Name of the project", + "example": "Week One Sprint", + "type": "string" + }, + "organization_permission": { + "description": "The baseline permission that all organization members have on this project", + "enum": [ + "read", + "write", + "admin", + "none" + ], + "type": "string" + }, + "private": { + "description": "Whether or not this project can be seen by everyone.", + "type": "boolean" + }, + "state": { + "description": "State of the project; either 'open' or 'closed'", + "example": "open", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-3" + } + }, + "schema": { + "$ref": "#/components/schemas/project" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "content": { + "application/json": { + "schema": { + "properties": { + "documentation_url": { + "type": "string" + }, + "errors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Forbidden" + }, + "404": { + "description": "Not Found if the authenticated user does not have access to the project" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Update a project", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/projects/{project_id}/collaborators": { + "get": { + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#list-project-collaborators" + }, + "operationId": "projects/list-collaborators", + "parameters": [ + { + "$ref": "#/components/parameters/project-id" + }, + { + "description": "Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's organization. `direct` means collaborators with permissions to a project, regardless of organization membership status. `all` means all collaborators the authenticated user can see.", + "in": "query", + "name": "affiliation", + "required": false, + "schema": { + "default": "all", + "enum": [ + "outside", + "direct", + "all" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List project collaborators", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "collaborators" + } + } + }, + "/projects/{project_id}/collaborators/{username}": { + "delete": { + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#remove-project-collaborator" + }, + "operationId": "projects/remove-collaborator", + "parameters": [ + { + "$ref": "#/components/parameters/project-id" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Remove user as a collaborator", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "collaborators" + } + }, + "put": { + "description": "Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#add-project-collaborator" + }, + "operationId": "projects/add-collaborator", + "parameters": [ + { + "$ref": "#/components/parameters/project-id" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Applying write permissions for the new collaborator", + "value": { + "permission": "write" + } + } + }, + "schema": { + "nullable": true, + "properties": { + "permission": { + "default": "write", + "description": "The permission to grant the collaborator.", + "enum": [ + "read", + "write", + "admin" + ], + "example": "write", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Add project collaborator", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "collaborators" + } + } + }, + "/projects/{project_id}/collaborators/{username}/permission": { + "get": { + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#get-project-permission-for-a-user" + }, + "operationId": "projects/get-permission-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/project-id" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-collaborator-permission" + } + }, + "schema": { + "$ref": "#/components/schemas/project-collaborator-permission" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Get project permission for a user", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "collaborators" + } + } + }, + "/projects/{project_id}/columns": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#list-project-columns" + }, + "operationId": "projects/list-columns", + "parameters": [ + { + "$ref": "#/components/parameters/project-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-column-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/project-column" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List project columns", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "columns" + } + }, + "post": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#create-a-project-column" + }, + "operationId": "projects/create-column", + "parameters": [ + { + "$ref": "#/components/parameters/project-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "name": "Remaining tasks" + } + } + }, + "schema": { + "properties": { + "name": { + "description": "Name of the project column", + "example": "Remaining tasks", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "cards_url": "https://api.github.com/projects/columns/367/cards", + "created_at": "2016-09-05T14:18:44Z", + "id": 367, + "name": "To Do", + "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", + "project_url": "https://api.github.com/projects/120", + "updated_at": "2016-09-05T14:22:28Z", + "url": "https://api.github.com/projects/columns/367" + } + } + }, + "schema": { + "$ref": "#/components/schemas/project-column" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Create a project column", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "columns" + } + } + }, + "/rate_limit": { + "get": { + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user" + }, + "operationId": "rate-limit/get", + "parameters": [], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/rate-limit-overview" + } + }, + "schema": { + "$ref": "#/components/schemas/rate-limit-overview" + } + } + }, + "description": "Response", + "headers": { + "X-RateLimit-Limit": { + "$ref": "#/components/headers/x-rate-limit-limit" + }, + "X-RateLimit-Remaining": { + "$ref": "#/components/headers/x-rate-limit-remaining" + }, + "X-RateLimit-Reset": { + "$ref": "#/components/headers/x-rate-limit-reset" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get rate limit status for the authenticated user", + "tags": [ + "rate-limit" + ], + "x-github": { + "category": "rate-limit", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{org}/{repo}/actions/required_workflows": { + "get": { + "description": "Lists the required workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. For more information, see \"[Required Workflows](https://docs.github.com/actions/using-workflows/required-workflows).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-repository-required-workflows" + }, + "operationId": "actions/list-repo-required-workflows", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repo-required-workflow-paginated" + } + }, + "schema": { + "properties": { + "required_workflows": { + "items": { + "$ref": "#/components/schemas/repo-required-workflow" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "required_workflows" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List repository required workflows", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "required-workflows" + } + } + }, + "/repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}": { + "get": { + "description": "Gets a specific required workflow present in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. For more information, see \"[Required Workflows](https://docs.github.com/actions/using-workflows/required-workflows).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-repository-required-workflow" + }, + "operationId": "actions/get-repo-required-workflow", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/repo-required-workflow-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repo-required-workflow" + } + }, + "schema": { + "$ref": "#/components/schemas/repo-required-workflow" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a required workflow entity for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "required-workflows" + } + } + }, + "/repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/timing": { + "get": { + "description": "Gets the number of billable minutes used by a specific required workflow during the current billing cycle.\n\nBillable minutes only apply to required workflows running in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions).\"\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-repository-required-workflow-usage" + }, + "operationId": "actions/get-repo-required-workflow-usage", + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/repo-required-workflow-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/workflow-usage" + } + }, + "schema": { + "$ref": "#/components/schemas/workflow-usage" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get required workflow usage", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "required-workflows" + } + } + }, + "/repos/{owner}/{repo}": { + "delete": { + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#delete-a-repository" + }, + "operationId": "repos/delete", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "307": { + "$ref": "#/components/responses/temporary_redirect" + }, + "403": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "documentation_url": "https://docs.github.com/rest/reference/repos#delete-a-repository", + "message": "Organization members cannot delete repositories." + } + } + }, + "schema": { + "properties": { + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n**Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#get-a-repository" + }, + "operationId": "repos/get", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default-response": { + "$ref": "#/components/examples/full-repository-default-response" + } + }, + "schema": { + "$ref": "#/components/schemas/full-repository" + } + } + }, + "description": "Response" + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "patch": { + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/rest/reference/repos#replace-all-repository-topics) endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#update-a-repository" + }, + "operationId": "repos/update", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "description": "This is your first repository", + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "name": "Hello-World", + "private": true + } + } + }, + "schema": { + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.", + "type": "boolean" + }, + "allow_forking": { + "default": false, + "description": "Either `true` to allow private forks, or `false` to prevent private forks.", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.", + "type": "boolean" + }, + "allow_update_branch": { + "default": false, + "description": "Either `true` to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.", + "type": "boolean" + }, + "archived": { + "default": false, + "description": "Whether to archive this repository. `false` will unarchive a previously archived repository.", + "type": "boolean" + }, + "default_branch": { + "description": "Updates the default branch for this repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.", + "type": "boolean" + }, + "description": { + "description": "A short description of the repository.", + "type": "string" + }, + "has_issues": { + "default": true, + "description": "Either `true` to enable issues for this repository or `false` to disable them.", + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Either `true` to enable the wiki for this repository or `false` to disable it.", + "type": "boolean" + }, + "homepage": { + "description": "A URL with more information about the repository.", + "type": "string" + }, + "is_template": { + "default": false, + "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.", + "type": "boolean" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "private": { + "default": false, + "description": "Either `true` to make the repository private or `false` to make it public. Default: `false`. \n**Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.", + "type": "boolean" + }, + "security_and_analysis": { + "description": "Specify which security and analysis features to enable or disable for the repository.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nFor example, to enable GitHub Advanced Security, use this data in the body of the `PATCH` request:\n`{ \"security_and_analysis\": {\"advanced_security\": { \"status\": \"enabled\" } } }`.\n\nYou can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.", + "nullable": true, + "properties": { + "advanced_security": { + "description": "Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see \"[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security).\"", + "properties": { + "status": { + "description": "Can be `enabled` or `disabled`.", + "type": "string" + } + }, + "type": "object" + }, + "secret_scanning": { + "description": "Use the `status` property to enable or disable secret scanning for this repository. For more information, see \"[About secret scanning](/code-security/secret-security/about-secret-scanning).\"", + "properties": { + "status": { + "description": "Can be `enabled` or `disabled`.", + "type": "string" + } + }, + "type": "object" + }, + "secret_scanning_push_protection": { + "description": "Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see \"[Protecting pushes with secret scanning](/code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"", + "properties": { + "status": { + "description": "Can be `enabled` or `disabled`.", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "deprecated": true, + "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", + "type": "boolean" + }, + "visibility": { + "description": "The visibility of the repository.", + "enum": [ + "public", + "private" + ], + "type": "string" + }, + "web_commit_signoff_required": { + "default": false, + "description": "Either `true` to require contributors to sign off on web-based commits, or `false` to not require contributors to sign off on web-based commits.", + "type": "boolean" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/full-repository" + } + }, + "schema": { + "$ref": "#/components/schemas/full-repository" + } + } + }, + "description": "Response" + }, + "307": { + "$ref": "#/components/responses/temporary_redirect" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/actions/artifacts": { + "get": { + "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-artifacts-for-a-repository" + }, + "operationId": "actions/list-artifacts-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "description": "Filters artifacts by exact match on their name field.", + "in": "query", + "name": "name", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/artifact-paginated" + } + }, + "schema": { + "properties": { + "artifacts": { + "items": { + "$ref": "#/components/schemas/artifact" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "artifacts" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List artifacts for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "artifacts" + } + } + }, + "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}": { + "delete": { + "description": "Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#delete-an-artifact" + }, + "operationId": "actions/delete-artifact", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/artifact-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete an artifact", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "artifacts" + } + }, + "get": { + "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-an-artifact" + }, + "operationId": "actions/get-artifact", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/artifact-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/artifact" + } + }, + "schema": { + "$ref": "#/components/schemas/artifact" + } + } + }, + "description": "Response" + } + }, + "summary": "Get an artifact", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "artifacts" + } + } + }, + "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}": { + "get": { + "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#download-an-artifact" + }, + "operationId": "actions/download-artifact", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/artifact-id" + }, + { + "in": "path", + "name": "archive_format", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "302": { + "description": "Response", + "headers": { + "Location": { + "$ref": "#/components/headers/location" + } + } + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "summary": "Download an artifact", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "artifacts" + } + } + }, + "/repos/{owner}/{repo}/actions/cache/usage": { + "get": { + "description": "Gets GitHub Actions cache usage for a repository.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-github-actions-cache-usage-for-a-repository" + }, + "operationId": "actions/get-actions-cache-usage", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-cache-usage" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-cache-usage-by-repository" + } + } + }, + "description": "Response" + } + }, + "summary": "Get GitHub Actions cache usage for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "cache" + } + } + }, + "/repos/{owner}/{repo}/actions/caches": { + "delete": { + "description": "Deletes one or more GitHub Actions caches for a repository, using a complete cache key. By default, all caches that match the provided key are deleted, but you can optionally provide a Git ref to restrict deletions to caches that match both the provided key and the Git ref.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nGitHub Apps must have the `actions:write` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key" + }, + "operationId": "actions/delete-actions-cache-by-key", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/actions-cache-key-required" + }, + { + "$ref": "#/components/parameters/git-ref" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-cache-list" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-cache-list" + } + } + }, + "description": "Response" + } + }, + "summary": "Delete GitHub Actions caches for a repository (using a cache key)", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "cache" + } + }, + "get": { + "description": "Lists the GitHub Actions caches for a repository.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository" + }, + "operationId": "actions/get-actions-cache-list", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/git-ref" + }, + { + "$ref": "#/components/parameters/actions-cache-key" + }, + { + "$ref": "#/components/parameters/actions-cache-list-sort" + }, + { + "$ref": "#/components/parameters/direction" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-cache-list" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-cache-list" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List GitHub Actions caches for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "previews": [], + "subcategory": "cache" + } + } + }, + "/repos/{owner}/{repo}/actions/caches/{cache_id}": { + "delete": { + "description": "Deletes a GitHub Actions cache for a repository, using a cache ID.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\nGitHub Apps must have the `actions:write` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id" + }, + "operationId": "actions/delete-actions-cache-by-id", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/cache-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a GitHub Actions cache for a repository (using a cache ID)", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "cache" + } + } + }, + "/repos/{owner}/{repo}/actions/jobs/{job_id}": { + "get": { + "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-a-job-for-a-workflow-run" + }, + "operationId": "actions/get-job-for-workflow-run", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/job-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/job" + } + }, + "schema": { + "$ref": "#/components/schemas/job" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a job for a workflow run", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-jobs" + } + } + }, + "/repos/{owner}/{repo}/actions/jobs/{job_id}/logs": { + "get": { + "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can\nuse this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must\nhave the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#download-job-logs-for-a-workflow-run" + }, + "operationId": "actions/download-job-logs-for-workflow-run", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/job-id" + } + ], + "responses": { + "302": { + "description": "Response", + "headers": { + "Location": { + "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/jobs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", + "schema": { + "type": "string" + } + } + } + } + }, + "summary": "Download job logs for a workflow run", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-jobs" + } + } + }, + "/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun": { + "post": { + "description": "Re-run a job and its dependent jobs in a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#re-run-job-for-workflow-run" + }, + "operationId": "actions/re-run-job-for-workflow-run", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/job-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "nullable": true, + "properties": { + "enable_debug_logging": { + "default": false, + "description": "Whether to enable debug logging for the re-run.", + "type": "boolean" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Re-run a job from a workflow run", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/oidc/customization/sub": { + "get": { + "description": "Gets the customization template for an OpenID Connect (OIDC) subject claim.\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint. GitHub Apps must have the `organization_administration:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository" + }, + "operationId": "actions/get-custom-oidc-sub-claim-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/oidc-custom-sub-repo" + } + }, + "schema": { + "$ref": "#/components/schemas/oidc-custom-sub-repo" + } + } + }, + "description": "Status response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get the customization template for an OIDC subject claim for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "previews": [], + "subcategory": "oidc" + } + }, + "put": { + "description": "Sets the customization template and `opt-in` or `opt-out` flag for an OpenID Connect (OIDC) subject claim for a repository.\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository" + }, + "operationId": "actions/set-custom-oidc-sub-claim-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "include_claim_keys": [ + "repo", + "context" + ], + "use_default": false + } + } + }, + "schema": { + "description": "Actions OIDC subject customization for a repository", + "properties": { + "include_claim_keys": { + "description": "Array of unique strings. Each claim key can only contain alphanumeric characters and underscores.", + "items": { + "type": "string" + }, + "type": "array" + }, + "use_default": { + "description": "Whether to use the default template or not. If `true`, the `include_claim_keys` field is ignored.", + "type": "boolean" + } + }, + "required": [ + "use_default" + ], + "title": "Actions OIDC subject customization for a repository", + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Empty response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Set the customization template for an OIDC subject claim for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "previews": [], + "subcategory": "oidc" + } + } + }, + "/repos/{owner}/{repo}/actions/permissions": { + "get": { + "description": "Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions and reusable workflows allowed to run in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository" + }, + "operationId": "actions/get-github-actions-permissions-repository", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-repository-permissions" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-repository-permissions" + } + } + }, + "description": "Response" + } + }, + "summary": "Get GitHub Actions permissions for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + }, + "put": { + "description": "Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions and reusable workflows in the repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository" + }, + "operationId": "actions/set-github-actions-permissions-repository", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "allowed_actions": "selected", + "enabled": true + } + } + }, + "schema": { + "properties": { + "allowed_actions": { + "$ref": "#/components/schemas/allowed-actions" + }, + "enabled": { + "$ref": "#/components/schemas/actions-enabled" + } + }, + "required": [ + "enabled" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Set GitHub Actions permissions for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + } + }, + "/repos/{owner}/{repo}/actions/permissions/access": { + "get": { + "description": "Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to private repositories.\nFor more information, see \"[Allowing access to components in a private repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the\nrepository `administration` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-workflow-access-level-to-a-repository" + }, + "operationId": "actions/get-workflow-access-to-repository", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-workflow-access-to-repository" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-workflow-access-to-repository" + } + } + }, + "description": "Response" + } + }, + "summary": "Get the level of access for workflows outside of the repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "previews": [], + "subcategory": "permissions" + } + }, + "put": { + "description": "Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to private repositories.\nFor more information, see \"[Allowing access to components in a private repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)\".\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the\nrepository `administration` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#set-workflow-access-to-a-repository" + }, + "operationId": "actions/set-workflow-access-to-repository", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-workflow-access-to-repository" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-workflow-access-to-repository" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Set the level of access for workflows outside of the repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "previews": [], + "subcategory": "permissions" + } + } + }, + "/repos/{owner}/{repo}/actions/permissions/selected-actions": { + "get": { + "description": "Gets the settings for selected actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-allowed-actions-for-a-repository" + }, + "operationId": "actions/get-allowed-actions-repository", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/selected-actions" + } + }, + "schema": { + "$ref": "#/components/schemas/selected-actions" + } + } + }, + "description": "Response" + } + }, + "summary": "Get allowed actions and reusable workflows for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + }, + "put": { + "description": "Sets the actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see \"[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#set-allowed-actions-for-a-repository" + }, + "operationId": "actions/set-allowed-actions-repository", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "selected_actions": { + "$ref": "#/components/examples/selected-actions" + } + }, + "schema": { + "$ref": "#/components/schemas/selected-actions" + } + } + }, + "required": false + }, + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Set allowed actions and reusable workflows for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + } + }, + "/repos/{owner}/{repo}/actions/permissions/workflow": { + "get": { + "description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository,\nas well as if GitHub Actions can submit approving pull request reviews.\nFor more information, see \"[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the repository `administration` permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-default-workflow-permissions-for-a-repository" + }, + "operationId": "actions/get-github-actions-default-workflow-permissions-repository", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-default-workflow-permissions" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-get-default-workflow-permissions" + } + } + }, + "description": "Response" + } + }, + "summary": "Get default workflow permissions for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + }, + "put": { + "description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository, and sets if GitHub Actions\ncan submit approving pull request reviews.\nFor more information, see \"[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the repository `administration` permission to use this API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#set-default-workflow-permissions-for-a-repository" + }, + "operationId": "actions/set-github-actions-default-workflow-permissions-repository", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-default-workflow-permissions" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-set-default-workflow-permissions" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success response" + }, + "409": { + "description": "Conflict response when changing a setting is prevented by the owning organization" + } + }, + "summary": "Set default workflow permissions for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "permissions" + } + } + }, + "/repos/{owner}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/runs": { + "get": { + "description": "List all workflow runs for a required workflow. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. For more information, see \"[Required Workflows](https://docs.github.com/actions/using-workflows/required-workflows).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-required-workflow-runs" + }, + "operationId": "actions/list-required-workflow-runs", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/repo-required-workflow-id" + }, + { + "$ref": "#/components/parameters/actor" + }, + { + "$ref": "#/components/parameters/workflow-run-branch" + }, + { + "$ref": "#/components/parameters/event" + }, + { + "$ref": "#/components/parameters/workflow-run-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/created" + }, + { + "$ref": "#/components/parameters/exclude-pull-requests" + }, + { + "$ref": "#/components/parameters/workflow-run-check-suite-id" + }, + { + "$ref": "#/components/parameters/workflow-run-head-sha" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/workflow-run-paginated" + } + }, + "schema": { + "properties": { + "total_count": { + "type": "integer" + }, + "workflow_runs": { + "items": { + "$ref": "#/components/schemas/workflow-run" + }, + "type": "array" + } + }, + "required": [ + "total_count", + "workflow_runs" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List workflow runs for a required workflow", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/runners": { + "get": { + "description": "Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-a-repository" + }, + "operationId": "actions/list-self-hosted-runners-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/runner-paginated" + } + }, + "schema": { + "properties": { + "runners": { + "items": { + "$ref": "#/components/schemas/runner" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "runners" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List self-hosted runners for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + } + }, + "/repos/{owner}/{repo}/actions/runners/downloads": { + "get": { + "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-runner-applications-for-a-repository" + }, + "operationId": "actions/list-runner-applications-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/runner-application-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/runner-application" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "List runner applications for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + } + }, + "/repos/{owner}/{repo}/actions/runners/registration-token": { + "post": { + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate\nusing an access token with the `repo` scope to use this endpoint.\n\n#### Example using registration token\n \nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.\n\n```\n./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n```", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#create-a-registration-token-for-a-repository" + }, + "operationId": "actions/create-registration-token-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/authentication-token" + } + }, + "schema": { + "$ref": "#/components/schemas/authentication-token" + } + } + }, + "description": "Response" + } + }, + "summary": "Create a registration token for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + } + }, + "/repos/{owner}/{repo}/actions/runners/remove-token": { + "post": { + "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\n\n#### Example using remove token\n \nTo remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.\n\n```\n./config.sh remove --token TOKEN\n```", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#create-a-remove-token-for-a-repository" + }, + "operationId": "actions/create-remove-token-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/authentication-token-2" + } + }, + "schema": { + "$ref": "#/components/schemas/authentication-token" + } + } + }, + "description": "Response" + } + }, + "summary": "Create a remove token for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + } + }, + "/repos/{owner}/{repo}/actions/runners/{runner_id}": { + "delete": { + "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo`\nscope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository" + }, + "operationId": "actions/delete-self-hosted-runner-from-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/runner-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a self-hosted runner from a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + }, + "get": { + "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-a-repository" + }, + "operationId": "actions/get-self-hosted-runner-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/runner-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/runner" + } + }, + "schema": { + "$ref": "#/components/schemas/runner" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a self-hosted runner for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + } + }, + "/repos/{owner}/{repo}/actions/runners/{runner_id}/labels": { + "delete": { + "description": "Remove all custom labels from a self-hosted runner configured in a\nrepository. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository" + }, + "operationId": "actions/remove-all-custom-labels-from-self-hosted-runner-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/runner-id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/actions_runner_labels_readonly" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Remove all custom labels from a self-hosted runner for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + }, + "get": { + "description": "Lists all labels for a self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-a-repository" + }, + "operationId": "actions/list-labels-for-self-hosted-runner-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/runner-id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/actions_runner_labels" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List labels for a self-hosted runner for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + }, + "post": { + "description": "Add custom labels to a self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-a-repository" + }, + "operationId": "actions/add-custom-labels-to-self-hosted-runner-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/runner-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "labels": [ + "gpu", + "accelerated" + ] + } + } + }, + "schema": { + "properties": { + "labels": { + "description": "The names of the custom labels to add to the runner.", + "items": { + "type": "string" + }, + "maxItems": 100, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "labels" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "$ref": "#/components/responses/actions_runner_labels" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Add custom labels to a self-hosted runner for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + }, + "put": { + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-a-repository" + }, + "operationId": "actions/set-custom-labels-for-self-hosted-runner-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/runner-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "labels": [ + "gpu", + "accelerated" + ] + } + } + }, + "schema": { + "properties": { + "labels": { + "description": "The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.", + "items": { + "type": "string" + }, + "maxItems": 100, + "minItems": 0, + "type": "array" + } + }, + "required": [ + "labels" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "$ref": "#/components/responses/actions_runner_labels" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Set custom labels for a self-hosted runner for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + } + }, + "/repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}": { + "delete": { + "description": "Remove a custom label from a self-hosted runner configured\nin a repository. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `repo` scope to use this\nendpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository" + }, + "operationId": "actions/remove-custom-label-from-self-hosted-runner-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/runner-id" + }, + { + "$ref": "#/components/parameters/runner-label-name" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/actions_runner_labels" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Remove a custom label from a self-hosted runner for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "self-hosted-runners" + } + } + }, + "/repos/{owner}/{repo}/actions/runs": { + "get": { + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-workflow-runs-for-a-repository" + }, + "operationId": "actions/list-workflow-runs-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/actor" + }, + { + "$ref": "#/components/parameters/workflow-run-branch" + }, + { + "$ref": "#/components/parameters/event" + }, + { + "$ref": "#/components/parameters/workflow-run-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/created" + }, + { + "$ref": "#/components/parameters/exclude-pull-requests" + }, + { + "$ref": "#/components/parameters/workflow-run-check-suite-id" + }, + { + "$ref": "#/components/parameters/workflow-run-head-sha" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/workflow-run-paginated" + } + }, + "schema": { + "properties": { + "total_count": { + "type": "integer" + }, + "workflow_runs": { + "items": { + "$ref": "#/components/schemas/workflow-run" + }, + "type": "array" + } + }, + "required": [ + "total_count", + "workflow_runs" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List workflow runs for a repository", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}": { + "delete": { + "description": "Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is\nprivate you must use an access token with the `repo` scope. GitHub Apps must have the `actions:write` permission to use\nthis endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#delete-a-workflow-run" + }, + "operationId": "actions/delete-workflow-run", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a workflow run", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + }, + "get": { + "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-a-workflow-run" + }, + "operationId": "actions/get-workflow-run", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + }, + { + "$ref": "#/components/parameters/exclude-pull-requests" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/workflow-run" + } + }, + "schema": { + "$ref": "#/components/schemas/workflow-run" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a workflow run", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/approvals": { + "get": { + "description": "Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-the-review-history-for-a-workflow-run" + }, + "operationId": "actions/get-reviews-for-run", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/environment-approvals-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/environment-approvals" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "Get the review history for a workflow run", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/approve": { + "post": { + "description": "Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see [\"Approving workflow runs from public forks](https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#approve-a-workflow-run-for-a-fork-pull-request" + }, + "operationId": "actions/approve-workflow-run", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Approve a workflow run for a fork pull request", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts": { + "get": { + "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-workflow-run-artifacts" + }, + "operationId": "actions/list-workflow-run-artifacts", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/artifact-paginated" + } + }, + "schema": { + "properties": { + "artifacts": { + "items": { + "$ref": "#/components/schemas/artifact" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "artifacts" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List workflow run artifacts", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "artifacts" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}": { + "get": { + "description": "Gets a specific workflow run attempt. Anyone with read access to the repository\ncan use this endpoint. If the repository is private you must use an access token\nwith the `repo` scope. GitHub Apps must have the `actions:read` permission to\nuse this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-a-workflow-run-attempt" + }, + "operationId": "actions/get-workflow-run-attempt", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + }, + { + "$ref": "#/components/parameters/attempt-number" + }, + { + "$ref": "#/components/parameters/exclude-pull-requests" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/workflow-run" + } + }, + "schema": { + "$ref": "#/components/schemas/workflow-run" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a workflow run attempt", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs": { + "get": { + "description": "Lists jobs for a specific workflow run attempt. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run-attempt" + }, + "operationId": "actions/list-jobs-for-workflow-run-attempt", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + }, + { + "$ref": "#/components/parameters/attempt-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/job-paginated" + } + }, + "schema": { + "properties": { + "jobs": { + "items": { + "$ref": "#/components/schemas/job" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "jobs" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List jobs for a workflow run attempt", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-jobs" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs": { + "get": { + "description": "Gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after\n1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#download-workflow-run-attempt-logs" + }, + "operationId": "actions/download-workflow-run-attempt-logs", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + }, + { + "$ref": "#/components/parameters/attempt-number" + } + ], + "responses": { + "302": { + "description": "Response", + "headers": { + "Location": { + "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/runs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", + "schema": { + "type": "string" + } + } + } + } + }, + "summary": "Download workflow run attempt logs", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/cancel": { + "post": { + "description": "Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#cancel-a-workflow-run" + }, + "operationId": "actions/cancel-workflow-run", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + } + ], + "responses": { + "202": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "summary": "Cancel a workflow run", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs": { + "get": { + "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run" + }, + "operationId": "actions/list-jobs-for-workflow-run", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + }, + { + "description": "Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all jobs for a workflow run, including from old executions of the workflow run.", + "in": "query", + "name": "filter", + "required": false, + "schema": { + "default": "latest", + "enum": [ + "latest", + "all" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/job-paginated" + } + }, + "schema": { + "properties": { + "jobs": { + "items": { + "$ref": "#/components/schemas/job" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "jobs" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List jobs for a workflow run", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-jobs" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/logs": { + "delete": { + "description": "Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#delete-workflow-run-logs" + }, + "operationId": "actions/delete-workflow-run-logs", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "Delete workflow run logs", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + }, + "get": { + "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use\nthis endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have\nthe `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#download-workflow-run-logs" + }, + "operationId": "actions/download-workflow-run-logs", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + } + ], + "responses": { + "302": { + "description": "Response", + "headers": { + "Location": { + "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/runs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", + "schema": { + "type": "string" + } + } + } + } + }, + "summary": "Download workflow run logs", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments": { + "get": { + "description": "Get all deployment environments for a workflow run that are waiting for protection rules to pass.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-pending-deployments-for-a-workflow-run" + }, + "operationId": "actions/get-pending-deployments-for-run", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pending-deployment-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/pending-deployment" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "Get pending deployments for a workflow run", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + }, + "post": { + "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#review-pending-deployments-for-a-workflow-run" + }, + "operationId": "actions/review-pending-deployments-for-run", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "comment": "Ship it!", + "environment_ids": [ + 161171787 + ], + "state": "approved" + } + } + }, + "schema": { + "properties": { + "comment": { + "description": "A comment to accompany the deployment review", + "example": "Ship it!", + "type": "string" + }, + "environment_ids": { + "description": "The list of environment ids to approve or reject", + "example": [ + 161171787, + 161171795 + ], + "items": { + "example": 161171787, + "type": "integer" + }, + "type": "array" + }, + "state": { + "description": "Whether to approve or reject deployment to the specified environments.", + "enum": [ + "approved", + "rejected" + ], + "example": "approved", + "type": "string" + } + }, + "required": [ + "environment_ids", + "state", + "comment" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/deployment-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/deployment" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "Review pending deployments for a workflow run", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun": { + "post": { + "description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#re-run-a-workflow" + }, + "operationId": "actions/re-run-workflow", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "nullable": true, + "properties": { + "enable_debug_logging": { + "default": false, + "description": "Whether to enable debug logging for the re-run.", + "type": "boolean" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response" + } + }, + "summary": "Re-run a workflow", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs": { + "post": { + "description": "Re-run all of the failed jobs and their dependent jobs in a workflow run using the `id` of the workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#re-run-workflow-failed-jobs" + }, + "operationId": "actions/re-run-workflow-failed-jobs", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "nullable": true, + "properties": { + "enable_debug_logging": { + "default": false, + "description": "Whether to enable debug logging for the re-run.", + "type": "boolean" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response" + } + }, + "summary": "Re-run failed jobs from a workflow run", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/timing": { + "get": { + "description": "Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-workflow-run-usage" + }, + "operationId": "actions/get-workflow-run-usage", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/run-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/workflow-run-usage" + } + }, + "schema": { + "$ref": "#/components/schemas/workflow-run-usage" + } + } + }, + "description": "Response" + } + }, + "summary": "Get workflow run usage", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/secrets": { + "get": { + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-repository-secrets" + }, + "operationId": "actions/list-repo-secrets", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-secret-paginated" + } + }, + "schema": { + "properties": { + "secrets": { + "items": { + "$ref": "#/components/schemas/actions-secret" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "secrets" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List repository secrets", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/actions/secrets/public-key": { + "get": { + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-a-repository-public-key" + }, + "operationId": "actions/get-repo-public-key", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-public-key" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-public-key" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a repository public key", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/actions/secrets/{secret_name}": { + "delete": { + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#delete-a-repository-secret" + }, + "operationId": "actions/delete-repo-secret", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a repository secret", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "get": { + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-a-repository-secret" + }, + "operationId": "actions/get-repo-secret", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-secret" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-secret" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a repository secret", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "put": { + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [libsodium-wrappers](https://www.npmjs.com/package/libsodium-wrappers) library.\n\n```\nconst sodium = require('libsodium-wrappers')\nconst secret = 'plain-text-secret' // replace with the secret you want to encrypt\nconst key = 'base64-encoded-public-key' // replace with the Base64 encoded public key\n\n//Check if libsodium is ready and then proceed.\nsodium.ready.then(() => {\n // Convert Secret & Base64 key to Uint8Array.\n let binkey = sodium.from_base64(key, sodium.base64_variants.ORIGINAL)\n let binsec = sodium.from_string(secret)\n\n //Encrypt the secret using LibSodium\n let encBytes = sodium.crypto_box_seal(binsec, binkey)\n\n // Convert encrypted Uint8Array to Base64\n let output = sodium.to_base64(encBytes, sodium.base64_variants.ORIGINAL)\n\n console.log(output)\n});\n```\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#create-or-update-a-repository-secret" + }, + "operationId": "actions/create-or-update-repo-secret", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + } + }, + "schema": { + "properties": { + "encrypted_value": { + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/reference/actions#get-a-repository-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", + "type": "string" + }, + "key_id": { + "description": "ID of the key you used to encrypt the secret.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response when creating a secret" + }, + "204": { + "description": "Response when updating a secret" + } + }, + "summary": "Create or update a repository secret", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/actions/variables": { + "get": { + "description": "Lists all repository variables. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions_variables:read` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#list-repository-variables" + }, + "operationId": "actions/list-repo-variables", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variables-per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-variables-paginated" + } + }, + "schema": { + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "items": { + "$ref": "#/components/schemas/actions-variable" + }, + "type": "array" + } + }, + "required": [ + "total_count", + "variables" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List repository variables", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + }, + "post": { + "description": "Creates a repository variable that you can reference in a GitHub Actions workflow.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions_variables:write` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#create-a-repository-variable" + }, + "operationId": "actions/create-repo-variable", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } + }, + "schema": { + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response" + } + }, + "summary": "Create a repository variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/actions/variables/{name}": { + "delete": { + "description": "Deletes a repository variable using the variable name.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions_variables:write` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#delete-a-repository-variable" + }, + "operationId": "actions/delete-repo-variable", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a repository variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + }, + "get": { + "description": "Gets a specific variable in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions_variables:read` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#get-a-repository-variable" + }, + "operationId": "actions/get-repo-variable", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-variable" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-variable" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a repository variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + }, + "patch": { + "description": "Updates a repository variable that you can reference in a GitHub Actions workflow.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions_variables:write` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#update-a-repository-variable" + }, + "operationId": "actions/update-repo-variable", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } + }, + "schema": { + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Update a repository variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows": { + "get": { + "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-repository-workflows" + }, + "operationId": "actions/list-repo-workflows", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/workflow-paginated" + } + }, + "schema": { + "properties": { + "total_count": { + "type": "integer" + }, + "workflows": { + "items": { + "$ref": "#/components/schemas/workflow" + }, + "type": "array" + } + }, + "required": [ + "total_count", + "workflows" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List repository workflows", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": { + "get": { + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-a-workflow" + }, + "operationId": "actions/get-workflow", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/workflow" + } + }, + "schema": { + "$ref": "#/components/schemas/workflow" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a workflow", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": { + "put": { + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#disable-a-workflow" + }, + "operationId": "actions/disable-workflow", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Disable a workflow", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": { + "post": { + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event" + }, + "operationId": "actions/create-workflow-dispatch", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "inputs": { + "home": "San Francisco, CA", + "name": "Mona the Octocat" + }, + "ref": "topic-branch" + } + } + }, + "schema": { + "properties": { + "inputs": { + "additionalProperties": { + "type": "string" + }, + "description": "Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted.", + "maxProperties": 10, + "type": "object" + }, + "ref": { + "description": "The git reference for the workflow. The reference can be a branch or tag name.", + "type": "string" + } + }, + "required": [ + "ref" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Create a workflow dispatch event", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": { + "put": { + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#enable-a-workflow" + }, + "operationId": "actions/enable-workflow", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Enable a workflow", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": { + "get": { + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-workflow-runs" + }, + "operationId": "actions/list-workflow-runs", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + }, + { + "$ref": "#/components/parameters/actor" + }, + { + "$ref": "#/components/parameters/workflow-run-branch" + }, + { + "$ref": "#/components/parameters/event" + }, + { + "$ref": "#/components/parameters/workflow-run-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/created" + }, + { + "$ref": "#/components/parameters/exclude-pull-requests" + }, + { + "$ref": "#/components/parameters/workflow-run-check-suite-id" + }, + { + "$ref": "#/components/parameters/workflow-run-head-sha" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/workflow-run-paginated" + } + }, + "schema": { + "properties": { + "total_count": { + "type": "integer" + }, + "workflow_runs": { + "items": { + "$ref": "#/components/schemas/workflow-run" + }, + "type": "array" + } + }, + "required": [ + "total_count", + "workflow_runs" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List workflow runs for a workflow", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { + "get": { + "description": "Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-workflow-usage" + }, + "operationId": "actions/get-workflow-usage", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/workflow-usage" + } + }, + "schema": { + "$ref": "#/components/schemas/workflow-usage" + } + } + }, + "description": "Response" + } + }, + "summary": "Get workflow usage", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/assignees": { + "get": { + "description": "Lists the [available assignees](https://docs.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#list-assignees" + }, + "operationId": "issues/list-assignees", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List assignees", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "assignees" + } + } + }, + "/repos/{owner}/{repo}/assignees/{assignee}": { + "get": { + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned" + }, + "operationId": "issues/check-user-can-be-assigned", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "in": "path", + "name": "assignee", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned." + }, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Otherwise a `404` status code is returned." + } + }, + "summary": "Check if a user can be assigned", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "assignees" + } + } + }, + "/repos/{owner}/{repo}/autolinks": { + "get": { + "description": "This returns a list of autolinks configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/autolinks#list-all-autolinks-of-a-repository" + }, + "operationId": "repos/list-autolinks", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/autolink-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/autolink" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "List all autolinks of a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "autolinks" + } + }, + "post": { + "description": "Users with admin access to the repository can create an autolink.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository" + }, + "operationId": "repos/create-autolink", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "is_alphanumeric": true, + "key_prefix": "TICKET-", + "url_template": "https://example.com/TICKET?query=" + } + } + }, + "schema": { + "properties": { + "is_alphanumeric": { + "default": "true", + "description": "Whether this autolink reference matches alphanumeric characters. If true, the `` parameter of the `url_template` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`. If false, this autolink reference only matches numeric characters.", + "type": "boolean" + }, + "key_prefix": { + "description": "This prefix appended by certain characters will generate a link any time it is found in an issue, pull request, or commit.", + "type": "string" + }, + "url_template": { + "description": "The URL must contain `` for the reference number. `` matches different characters depending on the value of `is_alphanumeric`.", + "type": "string" + } + }, + "required": [ + "key_prefix", + "url_template" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/autolink" + } + }, + "schema": { + "$ref": "#/components/schemas/autolink" + } + } + }, + "description": "response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/autolinks/1", + "schema": { + "type": "string" + } + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create an autolink reference for a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "autolinks" + } + } + }, + "/repos/{owner}/{repo}/autolinks/{autolink_id}": { + "delete": { + "description": "This deletes a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository" + }, + "operationId": "repos/delete-autolink", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/autolink-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete an autolink reference from a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "autolinks" + } + }, + "get": { + "description": "This returns a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository" + }, + "operationId": "repos/get-autolink", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/autolink-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/autolink" + } + }, + "schema": { + "$ref": "#/components/schemas/autolink" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get an autolink reference of a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "autolinks" + } + } + }, + "/repos/{owner}/{repo}/automated-security-fixes": { + "delete": { + "description": "Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://docs.github.com/articles/configuring-automated-security-fixes)\".", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#disable-automated-security-fixes" + }, + "operationId": "repos/disable-automated-security-fixes", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Disable automated security fixes", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "put": { + "description": "Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://docs.github.com/articles/configuring-automated-security-fixes)\".", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#enable-automated-security-fixes" + }, + "operationId": "repos/enable-automated-security-fixes", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Enable automated security fixes", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/branches": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branches#list-branches" + }, + "operationId": "repos/list-branches", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches.", + "in": "query", + "name": "protected", + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/short-branch-with-protection-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/short-branch" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List branches", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/branches/{branch}": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branches#get-a-branch" + }, + "operationId": "repos/get-branch", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/branch-get" + } + }, + "schema": { + "$ref": "#/components/schemas/branch-with-protection" + } + } + }, + "description": "Response" + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a branch", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/branches/{branch}/protection": { + "delete": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#delete-branch-protection" + }, + "operationId": "repos/delete-branch-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Delete branch protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "get": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#get-branch-protection" + }, + "operationId": "repos/get-branch-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/branch-protection" + } + }, + "schema": { + "$ref": "#/components/schemas/branch-protection" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get branch protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "put": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#update-branch-protection" + }, + "operationId": "repos/update-branch-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "allow_deletions": true, + "allow_force_pushes": true, + "allow_fork_syncing": true, + "block_creations": true, + "enforce_admins": true, + "lock_branch": true, + "required_conversation_resolution": true, + "required_linear_history": true, + "required_pull_request_reviews": { + "bypass_pull_request_allowances": { + "teams": [ + "justice-league" + ], + "users": [ + "octocat" + ] + }, + "dismiss_stale_reviews": true, + "dismissal_restrictions": { + "teams": [ + "justice-league" + ], + "users": [ + "octocat" + ] + }, + "require_code_owner_reviews": true, + "require_last_push_approval": true, + "required_approving_review_count": 2 + }, + "required_status_checks": { + "contexts": [ + "continuous-integration/travis-ci" + ], + "strict": true + }, + "restrictions": { + "apps": [ + "super-ci" + ], + "teams": [ + "justice-league" + ], + "users": [ + "octocat" + ] + } + } + } + }, + "schema": { + "properties": { + "allow_deletions": { + "description": "Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation.", + "type": "boolean" + }, + "allow_force_pushes": { + "description": "Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation.\"", + "nullable": true, + "type": "boolean" + }, + "allow_fork_syncing": { + "default": false, + "description": "Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. Default: `false`.", + "type": "boolean" + }, + "block_creations": { + "description": "If set to `true`, the `restrictions` branch protection settings which limits who can push will also block pushes which create new branches, unless the push is initiated by a user, team, or app which has the ability to push. Set to `true` to restrict new branch creation. Default: `false`.", + "type": "boolean" + }, + "enforce_admins": { + "description": "Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable.", + "nullable": true, + "type": "boolean" + }, + "lock_branch": { + "default": false, + "description": "Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. Default: `false`.", + "type": "boolean" + }, + "required_conversation_resolution": { + "description": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`.", + "type": "boolean" + }, + "required_linear_history": { + "description": "Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see \"[Requiring a linear commit history](https://docs.github.com/github/administering-a-repository/requiring-a-linear-commit-history)\" in the GitHub Help documentation.", + "type": "boolean" + }, + "required_pull_request_reviews": { + "description": "Require at least one approving review on a pull request, before merging. Set to `null` to disable.", + "nullable": true, + "properties": { + "bypass_pull_request_allowances": { + "description": "Allow specific users, teams, or apps to bypass pull request requirements.", + "properties": { + "apps": { + "description": "The list of app `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + }, + "type": "array" + }, + "teams": { + "description": "The list of team `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + }, + "type": "array" + }, + "users": { + "description": "The list of user `login`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "dismiss_stale_reviews": { + "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit.", + "type": "boolean" + }, + "dismissal_restrictions": { + "description": "Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.", + "properties": { + "apps": { + "description": "The list of app `slug`s with dismissal access", + "items": { + "type": "string" + }, + "type": "array" + }, + "teams": { + "description": "The list of team `slug`s with dismissal access", + "items": { + "type": "string" + }, + "type": "array" + }, + "users": { + "description": "The list of user `login`s with dismissal access", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "require_code_owner_reviews": { + "description": "Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) review them.", + "type": "boolean" + }, + "require_last_push_approval": { + "default": false, + "description": "Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`.", + "type": "boolean" + }, + "required_approving_review_count": { + "description": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.", + "type": "integer" + } + }, + "type": "object" + }, + "required_status_checks": { + "description": "Require status checks to pass before merging. Set to `null` to disable.", + "nullable": true, + "properties": { + "checks": { + "description": "The list of status checks to require in order to merge into this branch.", + "items": { + "properties": { + "app_id": { + "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.", + "type": "integer" + }, + "context": { + "description": "The name of the required check", + "type": "string" + } + }, + "required": [ + "context" + ], + "type": "object" + }, + "type": "array" + }, + "contexts": { + "deprecated": true, + "description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "strict": { + "description": "Require branches to be up to date before merging.", + "type": "boolean" + } + }, + "required": [ + "strict", + "contexts" + ], + "type": "object" + }, + "restrictions": { + "description": "Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable.", + "nullable": true, + "properties": { + "apps": { + "description": "The list of app `slug`s with push access", + "items": { + "type": "string" + }, + "type": "array" + }, + "teams": { + "description": "The list of team `slug`s with push access", + "items": { + "type": "string" + }, + "type": "array" + }, + "users": { + "description": "The list of user `login`s with push access", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "users", + "teams" + ], + "type": "object" + } + }, + "required": [ + "required_status_checks", + "enforce_admins", + "required_pull_request_reviews", + "restrictions" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/branch-protection-update" + } + }, + "schema": { + "$ref": "#/components/schemas/protected-branch" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Update branch protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + } + }, + "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": { + "delete": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection" + }, + "operationId": "repos/delete-admin-branch-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete admin branch protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "get": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection" + }, + "operationId": "repos/get-admin-branch-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/protected-branch-admin-enforced-2" + } + }, + "schema": { + "$ref": "#/components/schemas/protected-branch-admin-enforced" + } + } + }, + "description": "Response" + } + }, + "summary": "Get admin branch protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "post": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection" + }, + "operationId": "repos/set-admin-branch-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/protected-branch-admin-enforced-2" + } + }, + "schema": { + "$ref": "#/components/schemas/protected-branch-admin-enforced" + } + } + }, + "description": "Response" + } + }, + "summary": "Set admin branch protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + } + }, + "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": { + "delete": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection" + }, + "operationId": "repos/delete-pull-request-review-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete pull request review protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "get": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection" + }, + "operationId": "repos/get-pull-request-review-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/protected-branch-pull-request-review" + } + }, + "schema": { + "$ref": "#/components/schemas/protected-branch-pull-request-review" + } + } + }, + "description": "Response" + } + }, + "summary": "Get pull request review protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "patch": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection" + }, + "operationId": "repos/update-pull-request-review-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "bypass_pull_request_allowances": { + "apps": [ + "octoapp" + ], + "teams": [ + "justice-league" + ], + "users": [ + "octocat" + ] + }, + "dismiss_stale_reviews": true, + "dismissal_restrictions": { + "apps": [ + "octoapp" + ], + "teams": [ + "justice-league" + ], + "users": [ + "octocat" + ] + }, + "require_code_owner_reviews": true, + "require_last_push_approval": true, + "required_approving_review_count": 2 + } + } + }, + "schema": { + "properties": { + "bypass_pull_request_allowances": { + "description": "Allow specific users, teams, or apps to bypass pull request requirements.", + "properties": { + "apps": { + "description": "The list of app `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + }, + "type": "array" + }, + "teams": { + "description": "The list of team `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + }, + "type": "array" + }, + "users": { + "description": "The list of user `login`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "dismiss_stale_reviews": { + "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit.", + "type": "boolean" + }, + "dismissal_restrictions": { + "description": "Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.", + "properties": { + "apps": { + "description": "The list of app `slug`s with dismissal access", + "items": { + "type": "string" + }, + "type": "array" + }, + "teams": { + "description": "The list of team `slug`s with dismissal access", + "items": { + "type": "string" + }, + "type": "array" + }, + "users": { + "description": "The list of user `login`s with dismissal access", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "require_code_owner_reviews": { + "description": "Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) have reviewed.", + "type": "boolean" + }, + "require_last_push_approval": { + "default": false, + "description": "Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`", + "type": "boolean" + }, + "required_approving_review_count": { + "description": "Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.", + "type": "integer" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/protected-branch-pull-request-review" + } + }, + "schema": { + "$ref": "#/components/schemas/protected-branch-pull-request-review" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update pull request review protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + } + }, + "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": { + "delete": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection" + }, + "operationId": "repos/delete-commit-signature-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete commit signature protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "get": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection" + }, + "operationId": "repos/get-commit-signature-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/protected-branch-admin-enforced" + } + }, + "schema": { + "$ref": "#/components/schemas/protected-branch-admin-enforced" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get commit signature protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "post": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection" + }, + "operationId": "repos/create-commit-signature-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/protected-branch-admin-enforced" + } + }, + "schema": { + "$ref": "#/components/schemas/protected-branch-admin-enforced" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Create commit signature protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + } + }, + "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": { + "delete": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection" + }, + "operationId": "repos/remove-status-check-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Remove status check protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "get": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection" + }, + "operationId": "repos/get-status-checks-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/status-check-policy" + } + }, + "schema": { + "$ref": "#/components/schemas/status-check-policy" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get status checks protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "patch": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#update-status-check-protection" + }, + "operationId": "repos/update-status-check-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "contexts": [ + "continuous-integration/travis-ci" + ], + "strict": true + } + } + }, + "schema": { + "properties": { + "checks": { + "description": "The list of status checks to require in order to merge into this branch.", + "items": { + "properties": { + "app_id": { + "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.", + "type": "integer" + }, + "context": { + "description": "The name of the required check", + "type": "string" + } + }, + "required": [ + "context" + ], + "type": "object" + }, + "type": "array" + }, + "contexts": { + "deprecated": true, + "description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "strict": { + "description": "Require branches to be up to date before merging.", + "type": "boolean" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/status-check-policy" + } + }, + "schema": { + "$ref": "#/components/schemas/status-check-policy" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update status check protection", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + } + }, + "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": { + "delete": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts" + }, + "operationId": "repos/remove-status-check-contexts", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example removing status checks from a branch protection rule", + "value": { + "contexts": [ + "continuous-integration/jenkins" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "example": { + "contexts": [ + "contexts" + ] + }, + "properties": { + "contexts": { + "description": "The name of the status checks", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "contexts" + ], + "type": "object" + }, + { + "description": "The name of the status checks", + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "value": [ + "continuous-integration/travis-ci" + ] + } + }, + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Remove status check contexts", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "requestBodyParameterName": "contexts", + "subcategory": "branch-protection" + } + }, + "get": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts" + }, + "operationId": "repos/get-all-status-check-contexts", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "value": [ + "continuous-integration/travis-ci" + ] + } + }, + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get all status check contexts", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "post": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts" + }, + "operationId": "repos/add-status-check-contexts", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example adding status checks to a branch protection rule", + "value": { + "contexts": [ + "continuous-integration/travis-ci", + "continuous-integration/jenkins" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "example": { + "contexts": [ + "contexts" + ] + }, + "properties": { + "contexts": { + "description": "The name of the status checks", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "contexts" + ], + "type": "object" + }, + { + "description": "The name of the status checks", + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "value": [ + "continuous-integration/travis-ci", + "continuous-integration/jenkins" + ] + } + }, + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Add status check contexts", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "requestBodyParameterName": "contexts", + "subcategory": "branch-protection" + } + }, + "put": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts" + }, + "operationId": "repos/set-status-check-contexts", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example updating status checks for a branch protection rule", + "value": { + "contexts": [ + "continuous-integration/travis-ci" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "example": { + "contexts": [ + "contexts" + ] + }, + "properties": { + "contexts": { + "description": "The name of the status checks", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "contexts" + ], + "type": "object" + }, + { + "description": "The name of the status checks", + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "value": [ + "continuous-integration/travis-ci" + ] + } + }, + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Set status check contexts", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "requestBodyParameterName": "contexts", + "subcategory": "branch-protection" + } + } + }, + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions": { + "delete": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions" + }, + "operationId": "repos/delete-access-restrictions", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete access restrictions", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "get": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#get-access-restrictions" + }, + "operationId": "repos/get-access-restrictions", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/branch-restriction-policy" + } + }, + "schema": { + "$ref": "#/components/schemas/branch-restriction-policy" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get access restrictions", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + } + }, + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": { + "delete": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions" + }, + "operationId": "repos/remove-app-access-restrictions", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "apps": [ + "my-app" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "example": { + "apps": [ + "my-app" + ] + }, + "properties": { + "apps": { + "description": "The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "apps" + ], + "type": "object" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/integration-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/integration" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Remove app access restrictions", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "requestBodyParameterName": "apps", + "subcategory": "branch-protection" + } + }, + "get": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#list-apps-with-access-to-the-protected-branch" + }, + "operationId": "repos/get-apps-with-access-to-protected-branch", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/integration-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/integration" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get apps with access to the protected branch", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "post": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions" + }, + "operationId": "repos/add-app-access-restrictions", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "apps": [ + "octoapp" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "example": { + "apps": [ + "my-app" + ] + }, + "properties": { + "apps": { + "description": "The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "apps" + ], + "type": "object" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/integration-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/integration" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Add app access restrictions", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "requestBodyParameterName": "apps", + "subcategory": "branch-protection" + } + }, + "put": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions" + }, + "operationId": "repos/set-app-access-restrictions", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "apps": [ + "octoapp" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "example": { + "apps": [ + "my-app" + ] + }, + "properties": { + "apps": { + "description": "The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "apps" + ], + "type": "object" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/integration-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/integration" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Set app access restrictions", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "requestBodyParameterName": "apps", + "subcategory": "branch-protection" + } + } + }, + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": { + "delete": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions" + }, + "operationId": "repos/remove-team-access-restrictions", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example removing a team in a branch protection rule", + "value": { + "teams": [ + "octocats" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "example": { + "teams": [ + "my-team" + ] + }, + "properties": { + "teams": { + "description": "The slug values for teams", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "teams" + ], + "type": "object" + }, + { + "description": "The slug values for teams", + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Remove team access restrictions", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "requestBodyParameterName": "teams", + "subcategory": "branch-protection" + } + }, + "get": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#list-teams-with-access-to-the-protected-branch" + }, + "operationId": "repos/get-teams-with-access-to-protected-branch", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get teams with access to the protected branch", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "post": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions" + }, + "operationId": "repos/add-team-access-restrictions", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example adding a team in a branch protection rule", + "value": { + "teams": [ + "justice-league" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "example": { + "teams": [ + "my-team" + ] + }, + "properties": { + "teams": { + "description": "The slug values for teams", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "teams" + ], + "type": "object" + }, + { + "description": "The slug values for teams", + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Add team access restrictions", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "requestBodyParameterName": "teams", + "subcategory": "branch-protection" + } + }, + "put": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions" + }, + "operationId": "repos/set-team-access-restrictions", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example replacing a team in a branch protection rule", + "value": { + "teams": [ + "justice-league" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "example": { + "teams": [ + "justice-league" + ] + }, + "properties": { + "teams": { + "description": "The slug values for teams", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "teams" + ], + "type": "object" + }, + { + "description": "The slug values for teams", + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Set team access restrictions", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "requestBodyParameterName": "teams", + "subcategory": "branch-protection" + } + } + }, + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": { + "delete": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions" + }, + "operationId": "repos/remove-user-access-restrictions", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example removing a user in a branch protection rule", + "value": { + "users": [ + "octocat" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "example": { + "users": [ + "mona" + ] + }, + "properties": { + "users": { + "description": "The username for users", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "users" + ], + "type": "object" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Remove user access restrictions", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "requestBodyParameterName": "users", + "subcategory": "branch-protection" + } + }, + "get": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#list-users-with-access-to-the-protected-branch" + }, + "operationId": "repos/get-users-with-access-to-protected-branch", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get users with access to the protected branch", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-protection" + } + }, + "post": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions" + }, + "operationId": "repos/add-user-access-restrictions", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example adding a user in a branch protection rule", + "value": { + "users": [ + "octocat" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "example": { + "users": [ + "mona" + ] + }, + "properties": { + "users": { + "description": "The username for users", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "users" + ], + "type": "object" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Add user access restrictions", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "requestBodyParameterName": "users", + "subcategory": "branch-protection" + } + }, + "put": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions" + }, + "operationId": "repos/set-user-access-restrictions", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example replacing a user in a branch protection rule", + "value": { + "users": [ + "octocat" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "example": { + "users": [ + "mona" + ] + }, + "properties": { + "users": { + "description": "The username for users", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "users" + ], + "type": "object" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Set user access restrictions", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "requestBodyParameterName": "users", + "subcategory": "branch-protection" + } + } + }, + "/repos/{owner}/{repo}/branches/{branch}/rename": { + "post": { + "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)\".\n\nThe permissions required to use this endpoint depends on whether you are renaming the default branch.\n\nTo rename a non-default branch:\n\n* Users must have push access.\n* GitHub Apps must have the `contents:write` repository permission.\n\nTo rename the default branch:\n\n* Users must have admin or owner permissions.\n* GitHub Apps must have the `administration:write` repository permission.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branches#rename-a-branch" + }, + "operationId": "repos/rename-branch", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "new_name": "my_renamed_branch" + } + } + }, + "schema": { + "properties": { + "new_name": { + "description": "The new name of the branch.", + "type": "string" + } + }, + "required": [ + "new_name" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/branch-with-protection" + } + }, + "schema": { + "$ref": "#/components/schemas/branch-with-protection" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Rename a branch", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/check-runs": { + "post": { + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nIn a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/checks#create-a-check-run" + }, + "operationId": "checks/create", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "example-of-completed-conclusion": { + "summary": "Example of a completed conclusion", + "value": { + "actions": [ + { + "description": "Allow us to fix these errors for you", + "identifier": "fix_errors", + "label": "Fix" + } + ], + "completed_at": "2017-11-30T19:49:10Z", + "conclusion": "success", + "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", + "name": "mighty_readme", + "output": { + "annotations": [ + { + "annotation_level": "warning", + "end_line": 2, + "message": "Check your spelling for 'banaas'.", + "path": "README.md", + "raw_details": "Do you mean 'bananas' or 'banana'?", + "start_line": 2, + "title": "Spell Checker" + }, + { + "annotation_level": "warning", + "end_line": 4, + "message": "Check your spelling for 'aples'", + "path": "README.md", + "raw_details": "Do you mean 'apples' or 'Naples'", + "start_line": 4, + "title": "Spell Checker" + } + ], + "images": [ + { + "alt": "Super bananas", + "image_url": "http://example.com/images/42" + } + ], + "summary": "There are 0 failures, 2 warnings, and 1 notices.", + "text": "You may have some misspelled words on lines 2 and 4. You also may want to add a section in your README about how to install your app.", + "title": "Mighty Readme report" + }, + "started_at": "2017-11-30T19:39:10Z", + "status": "completed" + } + }, + "example-of-in-progress-conclusion": { + "summary": "Example of an in_progress conclusion", + "value": { + "external_id": "42", + "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", + "name": "mighty_readme", + "output": { + "summary": "", + "text": "", + "title": "Mighty Readme report" + }, + "started_at": "2018-05-04T01:14:52Z", + "status": "in_progress" + } + } + }, + "schema": { + "oneOf": [ + { + "additionalProperties": true, + "properties": { + "status": { + "enum": [ + "completed" + ] + } + }, + "required": [ + "status", + "conclusion" + ] + }, + { + "additionalProperties": true, + "properties": { + "status": { + "enum": [ + "queued", + "in_progress" + ] + } + } + } + ], + "properties": { + "actions": { + "description": "Displays a button on GitHub that can be clicked to alert your app to do additional tasks. For example, a code linting app can display a button that automatically fixes detected errors. The button created in this object is displayed after the check run completes. When a user clicks the button, GitHub sends the [`check_run.requested_action` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) to your app. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. To learn more about check runs and requested actions, see \"[Check runs and requested actions](https://docs.github.com/rest/reference/checks#check-runs-and-requested-actions).\"", + "items": { + "properties": { + "description": { + "description": "A short explanation of what this action would do. The maximum size is 40 characters.", + "maxLength": 40, + "type": "string" + }, + "identifier": { + "description": "A reference for the action on the integrator's system. The maximum size is 20 characters.", + "maxLength": 20, + "type": "string" + }, + "label": { + "description": "The text to be displayed on a button in the web UI. The maximum size is 20 characters.", + "maxLength": 20, + "type": "string" + } + }, + "required": [ + "label", + "description", + "identifier" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "completed_at": { + "description": "The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "type": "string" + }, + "conclusion": { + "description": "**Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check. \n**Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. You cannot change a check run conclusion to `stale`, only GitHub can set this.", + "enum": [ + "action_required", + "cancelled", + "failure", + "neutral", + "success", + "skipped", + "stale", + "timed_out" + ], + "type": "string" + }, + "details_url": { + "description": "The URL of the integrator's site that has the full details of the check. If the integrator does not provide this, then the homepage of the GitHub app is used.", + "type": "string" + }, + "external_id": { + "description": "A reference for the run on the integrator's system.", + "type": "string" + }, + "head_sha": { + "description": "The SHA of the commit.", + "type": "string" + }, + "name": { + "description": "The name of the check. For example, \"code-coverage\".", + "type": "string" + }, + "output": { + "description": "Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run.", + "properties": { + "annotations": { + "description": "Adds information from your analysis to specific lines of code. Annotations are visible on GitHub in the **Checks** and **Files changed** tab of the pull request. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the [Update a check run](https://docs.github.com/rest/reference/checks#update-a-check-run) endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. For details about how you can view annotations on GitHub, see \"[About status checks](https://docs.github.com/articles/about-status-checks#checks)\".", + "items": { + "properties": { + "annotation_level": { + "description": "The level of the annotation.", + "enum": [ + "notice", + "warning", + "failure" + ], + "type": "string" + }, + "end_column": { + "description": "The end column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values.", + "type": "integer" + }, + "end_line": { + "description": "The end line of the annotation.", + "type": "integer" + }, + "message": { + "description": "A short description of the feedback for these lines of code. The maximum size is 64 KB.", + "type": "string" + }, + "path": { + "description": "The path of the file to add an annotation to. For example, `assets/css/main.css`.", + "type": "string" + }, + "raw_details": { + "description": "Details about this annotation. The maximum size is 64 KB.", + "type": "string" + }, + "start_column": { + "description": "The start column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values. Column numbers start at 1.", + "type": "integer" + }, + "start_line": { + "description": "The start line of the annotation. Line numbers start at 1.", + "type": "integer" + }, + "title": { + "description": "The title that represents the annotation. The maximum size is 255 characters.", + "type": "string" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "annotation_level", + "message" + ], + "type": "object" + }, + "maxItems": 50, + "type": "array" + }, + "images": { + "description": "Adds images to the output displayed in the GitHub pull request UI.", + "items": { + "properties": { + "alt": { + "description": "The alternative text for the image.", + "type": "string" + }, + "caption": { + "description": "A short image description.", + "type": "string" + }, + "image_url": { + "description": "The full URL of the image.", + "type": "string" + } + }, + "required": [ + "alt", + "image_url" + ], + "type": "object" + }, + "type": "array" + }, + "summary": { + "description": "The summary of the check run. This parameter supports Markdown. **Maximum length**: 65535 characters.", + "maxLength": 65535, + "type": "string" + }, + "text": { + "description": "The details of the check run. This parameter supports Markdown. **Maximum length**: 65535 characters.", + "maxLength": 65535, + "type": "string" + }, + "title": { + "description": "The title of the check run.", + "type": "string" + } + }, + "required": [ + "title", + "summary" + ], + "type": "object" + }, + "started_at": { + "description": "The time that the check run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "type": "string" + }, + "status": { + "default": "queued", + "description": "The current status.", + "enum": [ + "queued", + "in_progress", + "completed" + ], + "type": "string" + } + }, + "required": [ + "name", + "head_sha" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "example-of-completed-conclusion": { + "$ref": "#/components/examples/check-run-example-of-completed-conclusion" + }, + "example-of-in-progress-conclusion": { + "$ref": "#/components/examples/check-run-example-of-in-progress-conclusion" + } + }, + "schema": { + "$ref": "#/components/schemas/check-run" + } + } + }, + "description": "Response" + } + }, + "summary": "Create a check run", + "tags": [ + "checks" + ], + "x-github": { + "category": "checks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "runs" + } + } + }, + "/repos/{owner}/{repo}/check-runs/{check_run_id}": { + "get": { + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/checks#get-a-check-run" + }, + "operationId": "checks/get", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/check-run-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/check-run" + } + }, + "schema": { + "$ref": "#/components/schemas/check-run" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a check run", + "tags": [ + "checks" + ], + "x-github": { + "category": "checks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "runs" + } + }, + "patch": { + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/checks#update-a-check-run" + }, + "operationId": "checks/update", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/check-run-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "completed_at": "2018-05-04T01:14:52Z", + "conclusion": "success", + "name": "mighty_readme", + "output": { + "annotations": [ + { + "annotation_level": "warning", + "end_line": 2, + "message": "Check your spelling for 'banaas'.", + "path": "README.md", + "raw_details": "Do you mean 'bananas' or 'banana'?", + "start_line": 2, + "title": "Spell Checker" + }, + { + "annotation_level": "warning", + "end_line": 4, + "message": "Check your spelling for 'aples'", + "path": "README.md", + "raw_details": "Do you mean 'apples' or 'Naples'", + "start_line": 4, + "title": "Spell Checker" + } + ], + "images": [ + { + "alt": "Super bananas", + "image_url": "http://example.com/images/42" + } + ], + "summary": "There are 0 failures, 2 warnings, and 1 notices.", + "text": "You may have some misspelled words on lines 2 and 4. You also may want to add a section in your README about how to install your app.", + "title": "Mighty Readme report" + }, + "started_at": "2018-05-04T01:14:52Z", + "status": "completed" + } + } + }, + "schema": { + "anyOf": [ + { + "additionalProperties": true, + "properties": { + "status": { + "enum": [ + "completed" + ] + } + }, + "required": [ + "conclusion" + ] + }, + { + "additionalProperties": true, + "properties": { + "status": { + "enum": [ + "queued", + "in_progress" + ] + } + } + } + ], + "properties": { + "actions": { + "description": "Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](https://docs.github.com/rest/reference/checks#actions-object) description. To learn more about check runs and requested actions, see \"[Check runs and requested actions](https://docs.github.com/rest/reference/checks#check-runs-and-requested-actions).\"", + "items": { + "properties": { + "description": { + "description": "A short explanation of what this action would do. The maximum size is 40 characters.", + "maxLength": 40, + "type": "string" + }, + "identifier": { + "description": "A reference for the action on the integrator's system. The maximum size is 20 characters.", + "maxLength": 20, + "type": "string" + }, + "label": { + "description": "The text to be displayed on a button in the web UI. The maximum size is 20 characters.", + "maxLength": 20, + "type": "string" + } + }, + "required": [ + "label", + "description", + "identifier" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "completed_at": { + "description": "The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "type": "string" + }, + "conclusion": { + "description": "**Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check. \n**Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. You cannot change a check run conclusion to `stale`, only GitHub can set this.", + "enum": [ + "action_required", + "cancelled", + "failure", + "neutral", + "success", + "skipped", + "stale", + "timed_out" + ], + "type": "string" + }, + "details_url": { + "description": "The URL of the integrator's site that has the full details of the check.", + "type": "string" + }, + "external_id": { + "description": "A reference for the run on the integrator's system.", + "type": "string" + }, + "name": { + "description": "The name of the check. For example, \"code-coverage\".", + "type": "string" + }, + "output": { + "description": "Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run.", + "properties": { + "annotations": { + "description": "Adds information from your analysis to specific lines of code. Annotations are visible in GitHub's pull request UI. Annotations are visible in GitHub's pull request UI. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the [Update a check run](https://docs.github.com/rest/reference/checks#update-a-check-run) endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. For details about annotations in the UI, see \"[About status checks](https://docs.github.com/articles/about-status-checks#checks)\".", + "items": { + "properties": { + "annotation_level": { + "description": "The level of the annotation.", + "enum": [ + "notice", + "warning", + "failure" + ], + "type": "string" + }, + "end_column": { + "description": "The end column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values.", + "type": "integer" + }, + "end_line": { + "description": "The end line of the annotation.", + "type": "integer" + }, + "message": { + "description": "A short description of the feedback for these lines of code. The maximum size is 64 KB.", + "type": "string" + }, + "path": { + "description": "The path of the file to add an annotation to. For example, `assets/css/main.css`.", + "type": "string" + }, + "raw_details": { + "description": "Details about this annotation. The maximum size is 64 KB.", + "type": "string" + }, + "start_column": { + "description": "The start column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values. Column numbers start at 1.", + "type": "integer" + }, + "start_line": { + "description": "The start line of the annotation. Line numbers start at 1.", + "type": "integer" + }, + "title": { + "description": "The title that represents the annotation. The maximum size is 255 characters.", + "type": "string" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "annotation_level", + "message" + ], + "type": "object" + }, + "maxItems": 50, + "type": "array" + }, + "images": { + "description": "Adds images to the output displayed in the GitHub pull request UI.", + "items": { + "properties": { + "alt": { + "description": "The alternative text for the image.", + "type": "string" + }, + "caption": { + "description": "A short image description.", + "type": "string" + }, + "image_url": { + "description": "The full URL of the image.", + "type": "string" + } + }, + "required": [ + "alt", + "image_url" + ], + "type": "object" + }, + "type": "array" + }, + "summary": { + "description": "Can contain Markdown.", + "maxLength": 65535, + "type": "string" + }, + "text": { + "description": "Can contain Markdown.", + "maxLength": 65535, + "type": "string" + }, + "title": { + "description": "**Required**.", + "type": "string" + } + }, + "required": [ + "summary" + ], + "type": "object" + }, + "started_at": { + "description": "This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "type": "string" + }, + "status": { + "description": "The current status.", + "enum": [ + "queued", + "in_progress", + "completed" + ], + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/check-run" + } + }, + "schema": { + "$ref": "#/components/schemas/check-run" + } + } + }, + "description": "Response" + } + }, + "summary": "Update a check run", + "tags": [ + "checks" + ], + "x-github": { + "category": "checks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "runs" + } + } + }, + "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations": { + "get": { + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/checks#list-check-run-annotations" + }, + "operationId": "checks/list-annotations", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/check-run-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/check-annotation-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/check-annotation" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List check run annotations", + "tags": [ + "checks" + ], + "x-github": { + "category": "checks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "runs" + } + } + }, + "/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest": { + "post": { + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check run, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/checks#rerequest-a-check-run" + }, + "operationId": "checks/rerequest-run", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/check-run-id" + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response" + }, + "403": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Forbidden if the check run is not rerequestable or doesn't belong to the authenticated GitHub App" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Validation error if the check run is not rerequestable" + } + }, + "summary": "Rerequest a check run", + "tags": [ + "checks" + ], + "x-github": { + "category": "checks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "runs" + } + } + }, + "/repos/{owner}/{repo}/check-suites": { + "post": { + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/reference/checks#check-runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/checks#create-a-check-suite" + }, + "operationId": "checks/create-suite", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "head_sha": "d6fde92930d4715a2b49857d24b940956b26d2d3" + } + } + }, + "schema": { + "properties": { + "head_sha": { + "description": "The sha of the head commit.", + "type": "string" + } + }, + "required": [ + "head_sha" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/check-suite" + } + }, + "schema": { + "$ref": "#/components/schemas/check-suite" + } + } + }, + "description": "Response when the suite already exists" + }, + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/check-suite" + } + }, + "schema": { + "$ref": "#/components/schemas/check-suite" + } + } + }, + "description": "Response when the suite was created" + } + }, + "summary": "Create a check suite", + "tags": [ + "checks" + ], + "x-github": { + "category": "checks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "suites" + } + } + }, + "/repos/{owner}/{repo}/check-suites/preferences": { + "patch": { + "description": "Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites" + }, + "operationId": "checks/set-suites-preferences", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "auto_trigger_checks": [ + { + "app_id": 4, + "setting": false + } + ] + } + } + }, + "schema": { + "properties": { + "auto_trigger_checks": { + "description": "Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default.", + "items": { + "properties": { + "app_id": { + "description": "The `id` of the GitHub App.", + "type": "integer" + }, + "setting": { + "default": true, + "description": "Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository, or `false` to disable them.", + "type": "boolean" + } + }, + "required": [ + "app_id", + "setting" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/check-suite-preference" + } + }, + "schema": { + "$ref": "#/components/schemas/check-suite-preference" + } + } + }, + "description": "Response" + } + }, + "summary": "Update repository preferences for check suites", + "tags": [ + "checks" + ], + "x-github": { + "category": "checks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "suites" + } + } + }, + "/repos/{owner}/{repo}/check-suites/{check_suite_id}": { + "get": { + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/checks#get-a-check-suite" + }, + "operationId": "checks/get-suite", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/check-suite-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/check-suite" + } + }, + "schema": { + "$ref": "#/components/schemas/check-suite" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a check suite", + "tags": [ + "checks" + ], + "x-github": { + "category": "checks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "suites" + } + } + }, + "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs": { + "get": { + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite" + }, + "operationId": "checks/list-for-suite", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/check-suite-id" + }, + { + "$ref": "#/components/parameters/check-name" + }, + { + "$ref": "#/components/parameters/status" + }, + { + "description": "Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs.", + "in": "query", + "name": "filter", + "required": false, + "schema": { + "default": "latest", + "enum": [ + "latest", + "all" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/check-run-paginated" + } + }, + "schema": { + "properties": { + "check_runs": { + "items": { + "$ref": "#/components/schemas/check-run" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "check_runs" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List check runs in a check suite", + "tags": [ + "checks" + ], + "x-github": { + "category": "checks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "runs" + } + } + }, + "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest": { + "post": { + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/checks#rerequest-a-check-suite" + }, + "operationId": "checks/rerequest-suite", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/check-suite-id" + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response" + } + }, + "summary": "Rerequest a check suite", + "tags": [ + "checks" + ], + "x-github": { + "category": "checks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "suites" + } + } + }, + "/repos/{owner}/{repo}/code-scanning/alerts": { + "get": { + "description": "Lists code scanning alerts.\n\nTo use this endpoint, you must use an access token with the `security_events` scope or, for alerts from public repositories only, an access token with the `public_repo` scope.\n\nGitHub Apps must have the `security_events` read\npermission to use this endpoint.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch (or for the specified Git reference if you used `ref` in the request).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository" + }, + "operationId": "code-scanning/list-alerts-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/tool-name" + }, + { + "$ref": "#/components/parameters/tool-guid" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/git-ref" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "description": "The property by which to sort the results.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "created", + "enum": [ + "created", + "updated" + ], + "type": "string" + } + }, + { + "description": "If specified, only code scanning alerts with this state will be returned.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "$ref": "#/components/schemas/code-scanning-alert-state" + } + }, + { + "description": "If specified, only code scanning alerts with this severity will be returned.", + "in": "query", + "name": "severity", + "required": false, + "schema": { + "$ref": "#/components/schemas/code-scanning-alert-severity" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-alert-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/code-scanning-alert-items" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "List code scanning alerts for a repository", + "tags": [ + "code-scanning" + ], + "x-github": { + "category": "code-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": { + "get": { + "description": "Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint with private repos, the `public_repo` scope also grants permission to read security events on public repos only. GitHub Apps must have the `security_events` read permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/code-scanning#get-a-code-scanning-alert" + }, + "operationId": "code-scanning/get-alert", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/alert-number" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-alert" + } + }, + "schema": { + "$ref": "#/components/schemas/code-scanning-alert" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Get a code scanning alert", + "tags": [ + "code-scanning" + ], + "x-github": { + "category": "code-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "patch": { + "description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint with private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/code-scanning#update-a-code-scanning-alert" + }, + "operationId": "code-scanning/update-alert", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/alert-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.", + "dismissed_reason": "false positive", + "state": "dismissed" + } + } + }, + "schema": { + "properties": { + "dismissed_comment": { + "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" + }, + "dismissed_reason": { + "$ref": "#/components/schemas/code-scanning-alert-dismissed-reason" + }, + "state": { + "$ref": "#/components/schemas/code-scanning-alert-set-state" + } + }, + "required": [ + "state" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-alert-dismissed" + } + }, + "schema": { + "$ref": "#/components/schemas/code-scanning-alert" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_write" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Update a code scanning alert", + "tags": [ + "code-scanning" + ], + "x-github": { + "category": "code-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances": { + "get": { + "description": "Lists all instances of the specified code scanning alert.\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert" + }, + "operationId": "code-scanning/list-alert-instances", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/alert-number" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/git-ref" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-alert-instances" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/code-scanning-alert-instance" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "List instances of a code scanning alert", + "tags": [ + "code-scanning" + ], + "x-github": { + "category": "code-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/code-scanning/analyses": { + "get": { + "description": "Lists the details of all code scanning analyses for a repository,\nstarting with the most recent.\nThe response is paginated and you can use the `page` and `per_page` parameters\nto list the analyses you're interested in.\nBy default 30 analyses are listed per page.\n\nThe `rules_count` field in the response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\n**Deprecation notice**:\nThe `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository" + }, + "operationId": "code-scanning/list-recent-analyses", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/tool-name" + }, + { + "$ref": "#/components/parameters/tool-guid" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "description": "The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`.", + "in": "query", + "name": "ref", + "required": false, + "schema": { + "$ref": "#/components/schemas/code-scanning-ref" + } + }, + { + "description": "Filter analyses belonging to the same SARIF upload.", + "in": "query", + "name": "sarif_id", + "required": false, + "schema": { + "$ref": "#/components/schemas/code-scanning-analysis-sarif-id" + } + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "description": "The property by which to sort the results.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "created", + "enum": [ + "created" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-analysis-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/code-scanning-analysis" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "List code scanning analyses for a repository", + "tags": [ + "code-scanning" + ], + "x-github": { + "category": "code-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}": { + "delete": { + "description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` scope.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `category`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set:\n`next_analysis_url` and `confirm_delete_url`.\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin a set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find an analysis that's identified as deletable.\nEach set of analyses always has one that's identified as deletable.\nHaving found the deletable analysis for one of the two sets,\ndelete this analysis and then continue deleting the next analysis in the set until they're all deleted.\nThen repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/code-scanning#delete-a-code-scanning-analysis-from-a-repository" + }, + "operationId": "code-scanning/delete-analysis", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` operation.", + "in": "path", + "name": "analysis_id", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "description": "Allow deletion if the specified analysis is the last in a set. If you attempt to delete the final analysis in a set without setting this parameter to `true`, you'll get a 400 response with the message: `Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.`", + "in": "query", + "name": "confirm_delete", + "required": false, + "schema": { + "nullable": true, + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default-response": { + "$ref": "#/components/examples/code-scanning-analysis-deletion" + } + }, + "schema": { + "$ref": "#/components/schemas/code-scanning-analysis-deletion" + } + } + }, + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_write" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Delete a code scanning analysis from a repository", + "tags": [ + "code-scanning" + ], + "x-github": { + "category": "code-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + }, + "get": { + "description": "Gets a specified code scanning analysis for a repository.\nYou must use an access token with the `security_events` scope to use this endpoint with private repos,\nthe `public_repo` scope also grants permission to read security events on public repos only.\nGitHub Apps must have the `security_events` read permission to use this endpoint.\n\nThe default JSON response contains fields that describe the analysis.\nThis includes the Git reference and commit SHA to which the analysis relates,\nthe datetime of the analysis, the name of the code scanning tool,\nand the number of alerts.\n\nThe `rules_count` field in the default response give the number of rules\nthat were run in the analysis.\nFor very old analyses this data is not available,\nand `0` is returned in this field.\n\nIf you use the Accept header `application/sarif+json`,\nthe response contains the analysis data that was uploaded.\nThis is formatted as\n[SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository" + }, + "operationId": "code-scanning/get-analysis", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` operation.", + "in": "path", + "name": "analysis_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response": { + "$ref": "#/components/examples/code-scanning-analysis-default" + } + }, + "schema": { + "$ref": "#/components/schemas/code-scanning-analysis" + } + }, + "application/json+sarif": { + "examples": { + "response": { + "$ref": "#/components/examples/code-scanning-analysis-sarif" + } + }, + "schema": { + "additionalProperties": true, + "type": "object" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Get a code scanning analysis for a repository", + "tags": [ + "code-scanning" + ], + "x-github": { + "category": "code-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/code-scanning/codeql/databases": { + "get": { + "description": "Lists the CodeQL databases that are available in a repository.\n\nFor private repositories, you must use an access token with the `security_events` scope.\nFor public repositories, you can use tokens with the `security_events` or `public_repo` scope.\nGitHub Apps must have the `contents` read permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/code-scanning#list-codeql-databases" + }, + "operationId": "code-scanning/list-codeql-databases", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-codeql-databases" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/code-scanning-codeql-database" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "List CodeQL databases for a repository", + "tags": [ + "code-scanning" + ], + "x-github": { + "category": "code-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "previews": [], + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": { + "get": { + "description": "Gets a CodeQL database for a language in a repository.\n\nBy default this endpoint returns JSON metadata about the CodeQL database. To\ndownload the CodeQL database binary content, set the `Accept` header of the request\nto [`application/zip`](https://docs.github.com/rest/overview/media-types), and make sure\nyour HTTP client is configured to follow redirects or use the `Location` header\nto make a second request to get the redirect URL.\n\nFor private repositories, you must use an access token with the `security_events` scope.\nFor public repositories, you can use tokens with the `security_events` or `public_repo` scope.\nGitHub Apps must have the `contents` read permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/code-scanning#get-codeql-database" + }, + "operationId": "code-scanning/get-codeql-database", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "The language of the CodeQL database.", + "in": "path", + "name": "language", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-codeql-database" + } + }, + "schema": { + "$ref": "#/components/schemas/code-scanning-codeql-database" + } + } + }, + "description": "Response" + }, + "302": { + "$ref": "#/components/responses/found" + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Get a CodeQL database for a repository", + "tags": [ + "code-scanning" + ], + "x-github": { + "category": "code-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "previews": [], + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/code-scanning/sarifs": { + "post": { + "description": "Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint for private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nThere are two places where you can upload code scanning results.\n - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see \"[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests).\"\n - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see \"[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip -c analysis-data.sarif | base64 -w0\n```\n
\nSARIF upload supports a maximum number of entries per the following data objects, and an analysis will be rejected if any of these objects is above its maximum value. For some objects, there are additional values over which the entries will be ignored while keeping the most important entries whenever applicable.\nTo get the most out of your analysis when it includes data above the supported limits, try to optimize the analysis configuration. For example, for the CodeQL tool, identify and remove the most noisy queries.\n\n\n| **SARIF data** | **Maximum values** | **Additional limits** |\n|----------------------------------|:------------------:|----------------------------------------------------------------------------------|\n| Runs per file | 20 | |\n| Results per run | 25,000 | Only the top 5,000 results will be included, prioritized by severity. |\n| Rules per run | 25,000 | |\n| Tool extensions per run | 100 | |\n| Thread Flow Locations per result | 10,000 | Only the top 1,000 Thread Flow Locations will be included, using prioritization. |\n| Location per result\t | 1,000 | Only 100 locations will be included. |\n| Tags per rule\t | 20 | Only 10 tags will be included. |\n\n\nThe `202 Accepted` response includes an `id` value.\nYou can use this ID to check the status of the upload by using it in the `/sarifs/{sarif_id}` endpoint.\nFor more information, see \"[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/code-scanning#upload-a-sarif-file" + }, + "operationId": "code-scanning/upload-sarif", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da", + "ref": "refs/heads/master", + "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsMGDTj1ep+5I7sgmLIpxtU38hLtmMRGSuCFVyip5eKzs5ydh+LztVL6f2m6oih1BkYiuyQIIJWodxVpERPj4sEiWBNNH8EWT0DMG8EAjzKVHXCrB4FkPu/F64NMk1OeC+2yZSNoBOoR7CC0EzYWGbm+xFDFIzbI011+cLjfZtyJkmMZfumAh02uL3NpV2y+MZ6RAjxibyKrNxxJcVjANSb4eBGwZ1M0KsuyR2poLr5rMl8vaDSeVn6eTWEO2j2xIEcmhwlTKNOi4GMOI8gfuZYkvJ7b4v5Tiumyz7RnHeodFzpS8ASIZCH/AYdWi2z3sG8JtFxJ6fF9yR9CdifBr9Pd6d5V2+zbJKjjCFGGmsHuYFy2ytJq9tUxcLSRSQecppOGKrpUxYfxefMEFK+wOGa4hudQByBVT0L+EKtyACxnRsABhEx1QjVDs1KNI9MbpnhqfE45B6FJvu3hRu5VRU9MhZLmK7fqkKyQSTHNoyMqUFMqXCV3CwAeqEwmVokraK8IuBaGvHjQ0gMYrKjnjyw7uk9uD8tgmsBbFMPnU1bV2ZhkJNkuolUiWys3UPWzs5aaIUz9TBe8zMb+6+nT+6fLy91dlE3xzeDDT4zYszb0bW6NjJd0Rvn2EnLvWLFSdKPpBzInzfRgu8ETyMcH8nIfMnJCeC2PyfTA+UKngcnGH7Hw2hGkVQs5YlIRCtdWZYQ4/73es2JlxkfViOEIhoWJq5Oo6UBBfiKIqFBWhiE3jJGbFwVoxBHTRSuIS67sMeplei24X20shLjG+8gqbKC/bESiNMC+wd5q5id0yeS7CJEqXzmrTWNq3k05l84P6f4/bEmXFJjI0fIt1BGQssUnUDkBYeVhE5TqPnMH3jqogDcP0zKcTgLPTMSzOjhbjuVOmW23l1fYNStulfo6sXlFsGLhbDy5RECPRYGCTgOj2bd4nUQEivEd0H7KKYxqnEhFohuur3a3UPskbH/+Yg0+M5P2MHRJu3ziHh3Z2NCrWt3XF1rWTw8Ne/pfbWYXnDSE0SNZQQt1i18q7te2vOhu7ehWuvVyeu0wbLZi24mhoo6aOOTltzG/lgdVvVoXQq5V+pewkFIzL8fjEcadT55jOjpzFzHuOTtDNrMkJPMVQDd7F09RID72O/UPZ0tmctqZ7kWX6EmSZnDpP8GU67SXM8XE3YSrxbKsx6UReZ4y6n/FVZfJjs9Z7stma75W5yQtkzjk5eSJxk1lv4o7+j8TlhaJ2lsKWZO6lruDPBLib3x5ZN/KGWzZ+pn///evv7OOf4iIBv3oY9L/l1wiJ9p0Tc+F1zZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA" + } + } + }, + "schema": { + "properties": { + "checkout_uri": { + "description": "The base directory used in the analysis, as it appears in the SARIF file.\nThis property is used to convert file paths from absolute to relative, so that alerts can be mapped to their correct location in the repository.", + "example": "file:///github/workspace/", + "format": "uri", + "type": "string" + }, + "commit_sha": { + "$ref": "#/components/schemas/code-scanning-analysis-commit-sha" + }, + "ref": { + "$ref": "#/components/schemas/code-scanning-ref" + }, + "sarif": { + "$ref": "#/components/schemas/code-scanning-analysis-sarif-file" + }, + "started_at": { + "description": "The time that the analysis run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "type": "string" + }, + "tool_name": { + "description": "The name of the tool used to generate the code scanning analysis. If this parameter is not used, the tool name defaults to \"API\". If the uploaded SARIF contains a tool GUID, this will be available for filtering using the `tool_guid` parameter of operations such as `GET /repos/{owner}/{repo}/code-scanning/alerts`.", + "type": "string" + }, + "validate": { + "description": "Whether the SARIF file will be validated according to the code scanning specifications.\nThis parameter is intended to help integrators ensure that the uploaded SARIF files are correctly rendered by code scanning.", + "type": "boolean" + } + }, + "required": [ + "commit_sha", + "ref", + "sarif" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "202": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-sarif-upload" + } + }, + "schema": { + "$ref": "#/components/schemas/code-scanning-sarifs-receipt" + } + } + }, + "description": "Response" + }, + "400": { + "description": "Bad Request if the sarif field is invalid" + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_write" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "413": { + "description": "Payload Too Large if the sarif field is too large" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Upload an analysis as SARIF data", + "tags": [ + "code-scanning" + ], + "x-github": { + "category": "code-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}": { + "get": { + "description": "Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see \"[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository).\" You must use an access token with the `security_events` scope to use this endpoint with private repos, the `public_repo` scope also grants permission to read security events on public repos only. GitHub Apps must have the `security_events` read permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository" + }, + "operationId": "code-scanning/get-sarif", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "The SARIF ID obtained after uploading.", + "in": "path", + "name": "sarif_id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-sarif-upload-status" + } + }, + "schema": { + "$ref": "#/components/schemas/code-scanning-sarifs-status" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_read" + }, + "404": { + "description": "Not Found if the sarif id does not match any upload" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Get information about a SARIF upload", + "tags": [ + "code-scanning" + ], + "x-github": { + "category": "code-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/codeowners/errors": { + "get": { + "description": "List any syntax errors that are detected in the CODEOWNERS\nfile.\n\nFor more information about the correct CODEOWNERS syntax,\nsee \"[About code owners](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#list-codeowners-errors" + }, + "operationId": "repos/codeowners-errors", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository's default branch (e.g. `main`)", + "in": "query", + "name": "ref", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codeowners-errors" + } + }, + "schema": { + "$ref": "#/components/schemas/codeowners-errors" + } + } + }, + "description": "Response" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "List CODEOWNERS errors", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "previews": [], + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/codespaces": { + "get": { + "description": "Lists the codespaces associated to a specified repository and the authenticated user.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#list-codespaces-in-a-repository-for-the-authenticated-user" + }, + "operationId": "codespaces/list-in-repository-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespaces-list-for-repository" + } + }, + "schema": { + "properties": { + "codespaces": { + "items": { + "$ref": "#/components/schemas/codespace" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "codespaces" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "List codespaces in a repository for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Creates a codespace owned by the authenticated user in the specified repository.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#create-a-codespace-in-a-repository" + }, + "operationId": "codespaces/create-with-repo-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "machine": "standardLinux32gb", + "ref": "main" + } + } + }, + "schema": { + "nullable": true, + "properties": { + "client_ip": { + "description": "IP for location auto-detection when proxying a request", + "type": "string" + }, + "devcontainer_path": { + "description": "Path to devcontainer.json config to use for this codespace", + "type": "string" + }, + "display_name": { + "description": "Display name for this codespace", + "type": "string" + }, + "idle_timeout_minutes": { + "description": "Time in minutes before codespace stops from inactivity", + "type": "integer" + }, + "location": { + "description": "Location for this codespace. Assigned by IP if not provided", + "type": "string" + }, + "machine": { + "description": "Machine type to use for this codespace", + "type": "string" + }, + "multi_repo_permissions_opt_out": { + "description": "Whether to authorize requested permissions from devcontainer.json", + "type": "boolean" + }, + "ref": { + "description": "Git ref (typically a branch name) for this codespace", + "type": "string" + }, + "retention_period_minutes": { + "description": "Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days).", + "type": "integer" + }, + "working_directory": { + "description": "Working directory for this codespace", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespace" + } + }, + "schema": { + "$ref": "#/components/schemas/codespace" + } + } + }, + "description": "Response when the codespace was successfully created" + }, + "202": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespace" + } + }, + "schema": { + "$ref": "#/components/schemas/codespace" + } + } + }, + "description": "Response when the codespace creation partially failed but is being retried in the background" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Create a codespace in a repository", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/codespaces/devcontainers": { + "get": { + "description": "Lists the devcontainer.json files associated with a specified repository and the authenticated user. These files\nspecify launchpoint configurations for codespaces created within the repository.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces_metadata` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#list-devcontainers-in-a-repository-for-the-authenticated-user" + }, + "operationId": "codespaces/list-devcontainers-in-repository-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespaces-list-devcontainers-for-repository" + } + }, + "schema": { + "properties": { + "devcontainers": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "devcontainers" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "List devcontainer configurations in a repository for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/codespaces/machines": { + "get": { + "description": "List the machine types available for a given repository based on its configuration.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces_metadata` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#list-available-machine-types-for-a-repository" + }, + "operationId": "codespaces/repo-machines-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "The location to check for available machines. Assigned by IP if not provided.", + "in": "query", + "name": "location", + "schema": { + "example": "WestUs2", + "type": "string" + } + }, + { + "description": "IP for location auto-detection when proxying a request", + "in": "query", + "name": "client_ip", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespace-machines-list" + } + }, + "schema": { + "properties": { + "machines": { + "items": { + "$ref": "#/components/schemas/codespace-machine" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "machines" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "List available machine types for a repository", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "machines" + } + } + }, + "/repos/{owner}/{repo}/codespaces/new": { + "get": { + "description": "Gets the default attributes for codespaces created by the user with the repository.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#preview-attributes-for-a-new-codespace" + }, + "operationId": "codespaces/pre-flight-with-repo-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked.", + "in": "query", + "name": "ref", + "schema": { + "example": "main", + "type": "string" + } + }, + { + "description": "An alternative IP for default location auto-detection, such as when proxying a request.", + "in": "query", + "name": "client_ip", + "schema": { + "example": "1.2.3.4", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespaces-list-devcontainers-for-repository" + } + }, + "schema": { + "properties": { + "billable_owner": { + "$ref": "#/components/schemas/simple-user" + }, + "defaults": { + "properties": { + "devcontainer_path": { + "nullable": true, + "type": "string" + }, + "location": { + "type": "string" + } + }, + "required": [ + "location", + "devcontainer_path" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "description": "Response when a user is able to create codespaces from the repository." + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get default attributes for a codespace", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/codespaces/secrets": { + "get": { + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#list-repository-secrets" + }, + "operationId": "codespaces/list-repo-secrets", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repo-codespaces-secret-paginated" + } + }, + "schema": { + "properties": { + "secrets": { + "items": { + "$ref": "#/components/schemas/repo-codespaces-secret" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "secrets" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List repository secrets", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repository-secrets" + } + } + }, + "/repos/{owner}/{repo}/codespaces/secrets/public-key": { + "get": { + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have write access to the `codespaces_secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#get-a-repository-public-key" + }, + "operationId": "codespaces/get-repo-public-key", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespaces-public-key" + } + }, + "schema": { + "$ref": "#/components/schemas/codespaces-public-key" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a repository public key", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "repository-secrets" + } + } + }, + "/repos/{owner}/{repo}/codespaces/secrets/{secret_name}": { + "delete": { + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#delete-a-repository-secret" + }, + "operationId": "codespaces/delete-repo-secret", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a repository secret", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repository-secrets" + } + }, + "get": { + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#get-a-repository-secret" + }, + "operationId": "codespaces/get-repo-secret", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repo-codespaces-secret" + } + }, + "schema": { + "$ref": "#/components/schemas/repo-codespaces-secret" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a repository secret", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repository-secrets" + } + }, + "put": { + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets`\nrepository permission to use this endpoint.\n\n#### Example of encrypting a secret using Node.js\n\nEncrypt your secret using the [libsodium-wrappers](https://www.npmjs.com/package/libsodium-wrappers) library.\n\n```\nconst sodium = require('libsodium-wrappers')\nconst secret = 'plain-text-secret' // replace with the secret you want to encrypt\nconst key = 'base64-encoded-public-key' // replace with the Base64 encoded public key\n\n//Check if libsodium is ready and then proceed.\nsodium.ready.then(() => {\n // Convert Secret & Base64 key to Uint8Array.\n let binkey = sodium.from_base64(key, sodium.base64_variants.ORIGINAL)\n let binsec = sodium.from_string(secret)\n\n //Encrypt the secret using LibSodium\n let encBytes = sodium.crypto_box_seal(binsec, binkey)\n\n // Convert encrypted Uint8Array to Base64\n let output = sodium.to_base64(encBytes, sodium.base64_variants.ORIGINAL)\n\n console.log(output)\n});\n```\n\n#### Example of encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example of encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example of encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#create-or-update-a-repository-secret" + }, + "operationId": "codespaces/create-or-update-repo-secret", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + } + }, + "schema": { + "properties": { + "encrypted_value": { + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/reference/codespaces#get-a-repository-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", + "type": "string" + }, + "key_id": { + "description": "ID of the key you used to encrypt the secret.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response when creating a secret" + }, + "204": { + "description": "Response when updating a secret" + } + }, + "summary": "Create or update a repository secret", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repository-secrets" + } + } + }, + "/repos/{owner}/{repo}/collaborators": { + "get": { + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\nOrganization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators" + }, + "operationId": "repos/list-collaborators", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` means all collaborators with permissions to an organization-owned repository, regardless of organization membership status. `all` means all collaborators the authenticated user can see.", + "in": "query", + "name": "affiliation", + "required": false, + "schema": { + "default": "all", + "enum": [ + "outside", + "direct", + "all" + ], + "type": "string" + } + }, + { + "description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.", + "in": "query", + "name": "permission", + "required": false, + "schema": { + "enum": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/collaborator-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/collaborator" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List repository collaborators", + "tags": [ + "repos" + ], + "x-github": { + "category": "collaborators", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/collaborators/{username}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator" + }, + "operationId": "repos/remove-collaborator", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Remove a repository collaborator", + "tags": [ + "repos" + ], + "x-github": { + "category": "collaborators", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + }, + "get": { + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nYou must authenticate using an access token with the `read:org` and `repo` scopes with push access to use this\nendpoint. GitHub Apps must have the `members` organization permission and `metadata` repository permission to use this\nendpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator" + }, + "operationId": "repos/check-collaborator", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response if user is a collaborator" + }, + "404": { + "description": "Not Found if user is not a collaborator" + } + }, + "summary": "Check if a user is a repository collaborator", + "tags": [ + "repos" + ], + "x-github": { + "category": "collaborators", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + }, + "put": { + "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nAdding an outside collaborator may be restricted by enterprise administrators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:\n\n```\nCannot assign {member} permission of {role name}\n```\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://docs.github.com/rest/reference/repos#invitations).\n\n**Updating an existing collaborator's permission level**\n\nThe endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.\n\n**Rate limits**\n\nYou are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator" + }, + "operationId": "repos/add-collaborator", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "new-invitation-is-created": { + "summary": "Add a collaborator with triage permissions", + "value": { + "permission": "triage" + } + } + }, + "schema": { + "properties": { + "permission": { + "default": "push", + "description": "The permission to grant the collaborator. **Only valid on organization-owned repositories.** We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "new-invitation-is-created": { + "$ref": "#/components/examples/repository-invitation-response-when-a-new-invitation-is-created" + } + }, + "schema": { + "$ref": "#/components/schemas/repository-invitation" + } + } + }, + "description": "Response when a new invitation is created" + }, + "204": { + "description": "Response when:\n- an existing collaborator is added as a collaborator\n- an organization member is added as an individual collaborator\n- an existing team member (whose team is also a repository collaborator) is added as an individual collaborator" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Add a repository collaborator", + "tags": [ + "repos" + ], + "x-github": { + "category": "collaborators", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "triggersNotification": true + } + } + }, + "/repos/{owner}/{repo}/collaborators/{username}/permission": { + "get": { + "description": "Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user" + }, + "operationId": "repos/get-collaborator-permission-level", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response-if-user-has-admin-permissions": { + "$ref": "#/components/examples/repository-collaborator-permission-response-if-user-has-admin-permissions" + } + }, + "schema": { + "$ref": "#/components/schemas/repository-collaborator-permission" + } + } + }, + "description": "if user has admin permissions" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get repository permissions for a user", + "tags": [ + "repos" + ], + "x-github": { + "category": "collaborators", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/comments": { + "get": { + "description": "Commit Comments use [these custom media types](https://docs.github.com/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/rest/overview/media-types/).\n\nComments are ordered by ascending ID.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository" + }, + "operationId": "repos/list-commit-comments-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/commit-comment-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/commit-comment" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List commit comments for a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "commits", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + } + }, + "/repos/{owner}/{repo}/comments/{comment_id}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/commits/comments#delete-a-commit-comment" + }, + "operationId": "repos/delete-commit-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a commit comment", + "tags": [ + "repos" + ], + "x-github": { + "category": "commits", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/commits/comments#get-a-commit-comment" + }, + "operationId": "repos/get-commit-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/commit-comment" + } + }, + "schema": { + "$ref": "#/components/schemas/commit-comment" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a commit comment", + "tags": [ + "repos" + ], + "x-github": { + "category": "commits", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + }, + "patch": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/commits/comments#update-a-commit-comment" + }, + "operationId": "repos/update-commit-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Nice change" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The contents of the comment", + "type": "string" + } + }, + "required": [ + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/commit-comment-2" + } + }, + "schema": { + "$ref": "#/components/schemas/commit-comment" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Update a commit comment", + "tags": [ + "repos" + ], + "x-github": { + "category": "commits", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + } + }, + "/repos/{owner}/{repo}/comments/{comment_id}/reactions": { + "get": { + "description": "List the reactions to a [commit comment](https://docs.github.com/rest/reference/repos#comments).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#list-reactions-for-a-commit-comment" + }, + "operationId": "reactions/list-for-commit-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + }, + { + "description": "Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to a commit comment.", + "in": "query", + "name": "content", + "required": false, + "schema": { + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/reaction" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List reactions for a commit comment", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#create-reaction-for-a-commit-comment" + }, + "operationId": "reactions/create-for-commit-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "content": "heart" + } + } + }, + "schema": { + "properties": { + "content": { + "description": "The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the commit comment.", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + "required": [ + "content" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Reaction exists" + }, + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Reaction created" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create reaction for a commit comment", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}": { + "delete": { + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#delete-a-commit-comment-reaction" + }, + "operationId": "reactions/delete-for-commit-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + }, + { + "$ref": "#/components/parameters/reaction-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a commit comment reaction", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/commits": { + "get": { + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/commits/commits#list-commits" + }, + "operationId": "repos/list-commits", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).", + "in": "query", + "name": "sha", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "Only commits containing this file path will be returned.", + "in": "query", + "name": "path", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "GitHub login or email address by which to filter by commit author.", + "in": "query", + "name": "author", + "required": false, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/since" + }, + { + "description": "Only commits before this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "in": "query", + "name": "until", + "required": false, + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/commit-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/commit" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "List commits", + "tags": [ + "repos" + ], + "x-github": { + "category": "commits", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": { + "get": { + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/commits/commits#list-branches-for-head-commit" + }, + "operationId": "repos/list-branches-for-head-commit", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/commit-sha" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/branch-short-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/branch-short" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List branches for HEAD commit", + "tags": [ + "repos" + ], + "x-github": { + "category": "commits", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/commits/{commit_sha}/comments": { + "get": { + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/commits/comments#list-commit-comments" + }, + "operationId": "repos/list-comments-for-commit", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/commit-sha" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/commit-comment-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/commit-comment" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List commit comments", + "tags": [ + "repos" + ], + "x-github": { + "category": "commits", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + }, + "post": { + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/commits/comments#create-a-commit-comment" + }, + "operationId": "repos/create-commit-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/commit-sha" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Great stuff", + "line": 1, + "path": "file1.txt", + "position": 4 + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The contents of the comment.", + "type": "string" + }, + "line": { + "description": "**Deprecated**. Use **position** parameter instead. Line number in the file to comment on.", + "type": "integer" + }, + "path": { + "description": "Relative path of the file to comment on.", + "type": "string" + }, + "position": { + "description": "Line index in the diff to comment on.", + "type": "integer" + } + }, + "required": [ + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/commit-comment" + } + }, + "schema": { + "$ref": "#/components/schemas/commit-comment" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/comments/1", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a commit comment", + "tags": [ + "repos" + ], + "x-github": { + "category": "commits", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments", + "triggersNotification": true + } + } + }, + "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { + "get": { + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit" + }, + "operationId": "repos/list-pull-requests-associated-with-commit", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/commit-sha" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-simple-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/pull-request-simple" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List pull requests associated with a commit", + "tags": [ + "repos" + ], + "x-github": { + "category": "commits", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/commits/{ref}": { + "get": { + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nYou can pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/commits/commits#get-a-commit" + }, + "operationId": "repos/get-commit", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "description": "ref parameter", + "in": "path", + "name": "ref", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/commit" + } + }, + "schema": { + "$ref": "#/components/schemas/commit" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Get a commit", + "tags": [ + "repos" + ], + "x-github": { + "category": "commits", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/commits/{ref}/check-runs": { + "get": { + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/checks#list-check-runs-for-a-git-reference" + }, + "operationId": "checks/list-for-ref", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "ref parameter", + "in": "path", + "name": "ref", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "$ref": "#/components/parameters/check-name" + }, + { + "$ref": "#/components/parameters/status" + }, + { + "description": "Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs.", + "in": "query", + "name": "filter", + "required": false, + "schema": { + "default": "latest", + "enum": [ + "latest", + "all" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "in": "query", + "name": "app_id", + "required": false, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/check-run-paginated" + } + }, + "schema": { + "properties": { + "check_runs": { + "items": { + "$ref": "#/components/schemas/check-run" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "check_runs" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List check runs for a Git reference", + "tags": [ + "checks" + ], + "x-github": { + "category": "checks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "runs" + } + } + }, + "/repos/{owner}/{repo}/commits/{ref}/check-suites": { + "get": { + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference" + }, + "operationId": "checks/list-suites-for-ref", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "ref parameter", + "in": "path", + "name": "ref", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "description": "Filters check suites by GitHub App `id`.", + "example": 1, + "in": "query", + "name": "app_id", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "$ref": "#/components/parameters/check-name" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/check-suite-paginated" + } + }, + "schema": { + "properties": { + "check_suites": { + "items": { + "$ref": "#/components/schemas/check-suite" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "check_suites" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List check suites for a Git reference", + "tags": [ + "checks" + ], + "x-github": { + "category": "checks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "suites" + } + } + }, + "/repos/{owner}/{repo}/commits/{ref}/status": { + "get": { + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference" + }, + "operationId": "repos/get-combined-status-for-ref", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "ref parameter", + "in": "path", + "name": "ref", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/combined-commit-status" + } + }, + "schema": { + "$ref": "#/components/schemas/combined-commit-status" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get the combined status for a specific reference", + "tags": [ + "repos" + ], + "x-github": { + "category": "commits", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "statuses" + } + } + }, + "/repos/{owner}/{repo}/commits/{ref}/statuses": { + "get": { + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference" + }, + "operationId": "repos/list-commit-statuses-for-ref", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "ref parameter", + "in": "path", + "name": "ref", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/status-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/status" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + } + }, + "summary": "List commit statuses for a reference", + "tags": [ + "repos" + ], + "x-github": { + "category": "commits", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "statuses" + } + } + }, + "/repos/{owner}/{repo}/community/profile": { + "get": { + "description": "Returns all community profile metrics for a repository. The repository cannot be a fork.\n\nThe returned metrics include an overall health score, the repository description, the presence of documentation, the\ndetected code of conduct, the detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\nThe `health_percentage` score is defined as a percentage of how many of\nthese four documents are present: README, CONTRIBUTING, LICENSE, and\nCODE_OF_CONDUCT. For example, if all four documents are present, then\nthe `health_percentage` is `100`. If only one is present, then the\n`health_percentage` is `25`.\n\n`content_reports_enabled` is only returned for organization-owned repositories.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/metrics/community#get-community-profile-metrics" + }, + "operationId": "repos/get-community-profile-metrics", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/community-profile" + } + }, + "schema": { + "$ref": "#/components/schemas/community-profile" + } + } + }, + "description": "Response" + } + }, + "summary": "Get community profile metrics", + "tags": [ + "repos" + ], + "x-github": { + "category": "metrics", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "community" + } + } + }, + "/repos/{owner}/{repo}/compare/{basehead}": { + "get": { + "description": "Compares two commits against one another. You can compare branches in the same repository, or you can compare branches that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see \"[Understanding connections between repositories](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories).\"\n\nThis endpoint is equivalent to running the `git log BASE...HEAD` command, but it returns commits in a different order. The `git log BASE...HEAD` command returns commits in reverse chronological order, whereas the API returns commits in chronological order. You can pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe API response includes details about the files that were changed between the two commits. This includes the status of the change (if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\nWhen calling this endpoint without any paging parameter (`per_page` or `page`), the returned list is limited to 250 commits, and the last commit in the list is the most recent of the entire comparison.\n\n**Working with large comparisons**\n\nTo process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:\n\n- The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison.\n- The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.\n\nFor more information on working with pagination, see \"[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).\"\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The `verification` object includes the following fields:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/commits/commits#compare-two-commits" + }, + "operationId": "repos/compare-commits", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "description": "The base branch and head branch to compare. This parameter expects the format `BASE...HEAD`. Both must be branch names in `repo`. To compare with a branch that exists in a different repository in the same network as `repo`, the `basehead` parameter expects the format `USERNAME:BASE...USERNAME:HEAD`.", + "in": "path", + "name": "basehead", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/commit-comparison" + } + }, + "schema": { + "$ref": "#/components/schemas/commit-comparison" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Compare two commits", + "tags": [ + "repos" + ], + "x-github": { + "category": "commits", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/contents/{path}": { + "delete": { + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/rest/reference/repos/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#delete-a-file" + }, + "operationId": "repos/delete-file", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "path parameter", + "in": "path", + "name": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "committer": { + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "message": "my commit message", + "sha": "329688480d39049927147c162b9d2deaf885005f" + } + } + }, + "schema": { + "properties": { + "author": { + "description": "object containing information about the author.", + "properties": { + "email": { + "description": "The email of the author (or committer) of the commit", + "type": "string" + }, + "name": { + "description": "The name of the author (or committer) of the commit", + "type": "string" + } + }, + "type": "object" + }, + "branch": { + "description": "The branch name. Default: the repository’s default branch (usually `master`)", + "type": "string" + }, + "committer": { + "description": "object containing information about the committer.", + "properties": { + "email": { + "description": "The email of the author (or committer) of the commit", + "type": "string" + }, + "name": { + "description": "The name of the author (or committer) of the commit", + "type": "string" + } + }, + "type": "object" + }, + "message": { + "description": "The commit message.", + "type": "string" + }, + "sha": { + "description": "The blob SHA of the file being deleted.", + "type": "string" + } + }, + "required": [ + "message", + "sha" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/file-commit" + } + }, + "schema": { + "$ref": "#/components/schemas/file-commit" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Delete a file", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "contents" + } + }, + "get": { + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Notes**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/rest/reference/git#get-a-tree).\n * Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download.\n#### Size limits\nIf the requested file's size is:\n* 1 MB or smaller: All features of this endpoint are supported.\n* Between 1-100 MB: Only the `raw` or `object` [custom media types](https://docs.github.com/rest/repos/contents#custom-media-types-for-repository-contents) are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an empty string and the `encoding` field will be `\"none\"`. To get the contents of these larger files, use the `raw` media type.\n * Greater than 100 MB: This endpoint is not supported.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#get-repository-content" + }, + "operationId": "repos/get-content", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "path parameter", + "in": "path", + "name": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "name": "ref", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response-if-content-is-a-directory": { + "$ref": "#/components/examples/content-file-response-if-content-is-a-directory" + }, + "response-if-content-is-a-file": { + "$ref": "#/components/examples/content-file-response-if-content-is-a-file" + }, + "response-if-content-is-a-submodule": { + "$ref": "#/components/examples/content-file-response-if-content-is-a-submodule" + }, + "response-if-content-is-a-symlink": { + "$ref": "#/components/examples/content-file-response-if-content-is-a-symlink" + } + }, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/content-directory" + }, + { + "$ref": "#/components/schemas/content-file" + }, + { + "$ref": "#/components/schemas/content-symlink" + }, + { + "$ref": "#/components/schemas/content-submodule" + } + ] + } + }, + "application/vnd.github.object": { + "examples": { + "response-if-content-is-a-directory": { + "$ref": "#/components/examples/content-file-response-if-content-is-a-directory-object" + }, + "response-if-content-is-a-file": { + "$ref": "#/components/examples/content-file-response-if-content-is-a-file" + } + }, + "schema": { + "$ref": "#/components/schemas/content-tree" + } + } + }, + "description": "Response" + }, + "302": { + "$ref": "#/components/responses/found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get repository content", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "contents" + } + }, + "put": { + "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/rest/reference/repos/#delete-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#create-or-update-file-contents" + }, + "operationId": "repos/create-or-update-file-contents", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "path parameter", + "in": "path", + "name": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "example-for-creating-a-file": { + "summary": "Example for creating a file", + "value": { + "committer": { + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "content": "bXkgbmV3IGZpbGUgY29udGVudHM=", + "message": "my commit message" + } + }, + "example-for-updating-a-file": { + "summary": "Example for updating a file", + "value": { + "committer": { + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "content": "bXkgdXBkYXRlZCBmaWxlIGNvbnRlbnRz", + "message": "a new commit message", + "sha": "95b966ae1c166bd92f8ae7d1c313e738c731dfc3" + } + } + }, + "schema": { + "properties": { + "author": { + "description": "The author of the file. Default: The `committer` or the authenticated user if you omit `committer`.", + "properties": { + "date": { + "example": "\"2013-01-15T17:13:22+05:00\"", + "type": "string" + }, + "email": { + "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted.", + "type": "string" + }, + "name": { + "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted.", + "type": "string" + } + }, + "required": [ + "name", + "email" + ], + "type": "object" + }, + "branch": { + "description": "The branch name. Default: the repository’s default branch (usually `master`)", + "type": "string" + }, + "committer": { + "description": "The person that committed the file. Default: the authenticated user.", + "properties": { + "date": { + "example": "\"2013-01-05T13:13:22+05:00\"", + "type": "string" + }, + "email": { + "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted.", + "type": "string" + }, + "name": { + "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted.", + "type": "string" + } + }, + "required": [ + "name", + "email" + ], + "type": "object" + }, + "content": { + "description": "The new file content, using Base64 encoding.", + "type": "string" + }, + "message": { + "description": "The commit message.", + "type": "string" + }, + "sha": { + "description": "**Required if you are updating a file**. The blob SHA of the file being replaced.", + "type": "string" + } + }, + "required": [ + "message", + "content" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "example-for-updating-a-file": { + "$ref": "#/components/examples/file-commit-example-for-updating-a-file" + } + }, + "schema": { + "$ref": "#/components/schemas/file-commit" + } + } + }, + "description": "Response" + }, + "201": { + "content": { + "application/json": { + "examples": { + "example-for-creating-a-file": { + "$ref": "#/components/examples/file-commit-example-for-creating-a-file" + } + }, + "schema": { + "$ref": "#/components/schemas/file-commit" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create or update file contents", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "contents" + } + } + }, + "/repos/{owner}/{repo}/contributors": { + "get": { + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#list-repository-contributors" + }, + "operationId": "repos/list-contributors", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "Set to `1` or `true` to include anonymous contributors in results.", + "in": "query", + "name": "anon", + "required": false, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response-if-repository-contains-content": { + "$ref": "#/components/examples/contributor-items-response-if-repository-contains-content" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/contributor" + }, + "type": "array" + } + } + }, + "description": "if repository contains content", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "204": { + "description": "Response if repository is empty" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List repository contributors", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/dependabot/alerts": { + "get": { + "description": "You must use an access token with the `security_events` scope to use this endpoint with private repositories.\nYou can also use tokens with the `public_repo` scope for public repositories only.\nGitHub Apps must have **Dependabot alerts** read permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#list-dependabot-alerts-for-a-repository" + }, + "operationId": "dependabot/list-alerts-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-states" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests" + }, + { + "$ref": "#/components/parameters/dependabot-alert-scope" + }, + { + "$ref": "#/components/parameters/dependabot-alert-sort" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "deprecated": true, + "description": "**Deprecated**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", + "in": "query", + "name": "page", + "schema": { + "default": 1, + "type": "integer" + } + }, + { + "deprecated": true, + "description": "The number of results per page (max 100).", + "in": "query", + "name": "per_page", + "schema": { + "default": 30, + "type": "integer" + } + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/pagination-first" + }, + { + "$ref": "#/components/parameters/pagination-last" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-alerts-for-repository" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/dependabot-alert" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "List Dependabot alerts for a repository", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "previews": [], + "subcategory": "alerts" + } + } + }, + "/repos/{owner}/{repo}/dependabot/alerts/{alert_number}": { + "get": { + "description": "You must use an access token with the `security_events` scope to use this endpoint with private repositories.\nYou can also use tokens with the `public_repo` scope for public repositories only.\nGitHub Apps must have **Dependabot alerts** read permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#get-a-dependabot-alert" + }, + "operationId": "dependabot/get-alert", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/dependabot-alert-number" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-alert-open" + } + }, + "schema": { + "$ref": "#/components/schemas/dependabot-alert" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a Dependabot alert", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "previews": [], + "subcategory": "alerts" + } + }, + "patch": { + "description": "You must use an access token with the `security_events` scope to use this endpoint with private repositories.\nYou can also use tokens with the `public_repo` scope for public repositories only.\nGitHub Apps must have **Dependabot alerts** write permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#update-a-dependabot-alert" + }, + "operationId": "dependabot/update-alert", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/dependabot-alert-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "dismissed_comment": "This alert is accurate but we use a sanitizer.", + "dismissed_reason": "tolerable_risk", + "state": "dismissed" + } + } + }, + "schema": { + "additionalProperties": false, + "properties": { + "dismissed_comment": { + "description": "An optional comment associated with dismissing the alert.", + "maxLength": 280, + "type": "string" + }, + "dismissed_reason": { + "description": "**Required when `state` is `dismissed`.** A reason for dismissing the alert.", + "enum": [ + "fix_started", + "inaccurate", + "no_bandwidth", + "not_used", + "tolerable_risk" + ], + "type": "string" + }, + "state": { + "description": "The state of the Dependabot alert.\nA `dismissed_reason` must be provided when setting the state to `dismissed`.", + "enum": [ + "dismissed", + "open" + ], + "type": "string" + } + }, + "required": [ + "state" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-alert-dismissed" + } + }, + "schema": { + "$ref": "#/components/schemas/dependabot-alert" + } + } + }, + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Update a Dependabot alert", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "previews": [], + "subcategory": "alerts" + } + } + }, + "/repos/{owner}/{repo}/dependabot/secrets": { + "get": { + "description": "Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#list-repository-secrets" + }, + "operationId": "dependabot/list-repo-secrets", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-secret-paginated" + } + }, + "schema": { + "properties": { + "secrets": { + "items": { + "$ref": "#/components/schemas/dependabot-secret" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "secrets" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List repository secrets", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/dependabot/secrets/public-key": { + "get": { + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#get-a-repository-public-key" + }, + "operationId": "dependabot/get-repo-public-key", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-public-key" + } + }, + "schema": { + "$ref": "#/components/schemas/dependabot-public-key" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a repository public key", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/dependabot/secrets/{secret_name}": { + "delete": { + "description": "Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#delete-a-repository-secret" + }, + "operationId": "dependabot/delete-repo-secret", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a repository secret", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "get": { + "description": "Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#get-a-repository-secret" + }, + "operationId": "dependabot/get-repo-secret", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-secret" + } + }, + "schema": { + "$ref": "#/components/schemas/dependabot-secret" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a repository secret", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "put": { + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository\npermission to use this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [libsodium-wrappers](https://www.npmjs.com/package/libsodium-wrappers) library.\n\n```\nconst sodium = require('libsodium-wrappers')\nconst secret = 'plain-text-secret' // replace with the secret you want to encrypt\nconst key = 'base64-encoded-public-key' // replace with the Base64 encoded public key\n\n//Check if libsodium is ready and then proceed.\nsodium.ready.then(() => {\n // Convert Secret & Base64 key to Uint8Array.\n let binkey = sodium.from_base64(key, sodium.base64_variants.ORIGINAL)\n let binsec = sodium.from_string(secret)\n\n //Encrypt the secret using LibSodium\n let encBytes = sodium.crypto_box_seal(binsec, binkey)\n\n // Convert encrypted Uint8Array to Base64\n let output = sodium.to_base64(encBytes, sodium.base64_variants.ORIGINAL)\n\n console.log(output)\n});\n```\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependabot#create-or-update-a-repository-secret" + }, + "operationId": "dependabot/create-or-update-repo-secret", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + } + }, + "schema": { + "properties": { + "encrypted_value": { + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/reference/dependabot#get-a-repository-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", + "type": "string" + }, + "key_id": { + "description": "ID of the key you used to encrypt the secret.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response when creating a secret" + }, + "204": { + "description": "Response when updating a secret" + } + }, + "summary": "Create or update a repository secret", + "tags": [ + "dependabot" + ], + "x-github": { + "category": "dependabot", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/dependency-graph/compare/{basehead}": { + "get": { + "description": "Gets the diff of the dependency changes between two commits of a repository, based on the changes to the dependency manifests made in those commits.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependency-graph#get-a-diff-of-the-dependencies-between-commits" + }, + "operationId": "dependency-graph/diff-range", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their corresponding HEAD commits, and an appropriate merge base will be determined. This parameter expects the format `{base}...{head}`.", + "in": "path", + "name": "basehead", + "required": true, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/manifest-path" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/diff-range-response" + } + }, + "schema": { + "$ref": "#/components/schemas/dependency-graph-diff" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a diff of the dependencies between commits", + "tags": [ + "dependency-graph" + ], + "x-github": { + "category": "dependency-graph", + "githubCloudOnly": false, + "subcategory": "dependency-review" + } + } + }, + "/repos/{owner}/{repo}/dependency-graph/snapshots": { + "post": { + "description": "Create a new snapshot of a repository's dependencies. You must authenticate using an access token with the `repo` scope to use this endpoint for a repository that the requesting user has access to.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/dependency-graph#create-a-snapshot-of-dependencies-for-a-repository" + }, + "operationId": "dependency-graph/create-repository-snapshot", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "example-of-a-dependency-submission": { + "$ref": "#/components/examples/dependency-graph-create-snapshot-request" + } + }, + "schema": { + "$ref": "#/components/schemas/snapshot" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "example-of-a-dependency-submission": { + "$ref": "#/components/examples/dependency-graph-create-snapshot-success" + } + }, + "schema": { + "properties": { + "created_at": { + "description": "The time at which the snapshot was created.", + "type": "string" + }, + "id": { + "description": "ID of the created snapshot.", + "type": "integer" + }, + "message": { + "description": "A message providing further details about the result, such as why the dependencies were not updated.", + "type": "string" + }, + "result": { + "description": "Either \"SUCCESS\", \"ACCEPTED\", or \"INVALID\". \"SUCCESS\" indicates that the snapshot was successfully created and the repository's dependencies were updated. \"ACCEPTED\" indicates that the snapshot was successfully created, but the repository's dependencies were not updated. \"INVALID\" indicates that the snapshot was malformed.", + "type": "string" + } + }, + "required": [ + "id", + "created_at", + "result", + "message" + ], + "type": "object" + } + } + }, + "description": "Response" + } + }, + "summary": "Create a snapshot of dependencies for a repository", + "tags": [ + "dependency-graph" + ], + "x-github": { + "category": "dependency-graph", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "dependency-submission" + } + } + }, + "/repos/{owner}/{repo}/deployments": { + "get": { + "description": "Simple filtering of deployments is available via query parameters:", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/deployments#list-deployments" + }, + "operationId": "repos/list-deployments", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "The SHA recorded at creation time.", + "in": "query", + "name": "sha", + "required": false, + "schema": { + "default": "none", + "type": "string" + } + }, + { + "description": "The name of the ref. This can be a branch, tag, or SHA.", + "in": "query", + "name": "ref", + "required": false, + "schema": { + "default": "none", + "type": "string" + } + }, + { + "description": "The name of the task for the deployment (e.g., `deploy` or `deploy:migrations`).", + "in": "query", + "name": "task", + "required": false, + "schema": { + "default": "none", + "type": "string" + } + }, + { + "description": "The name of the environment that was deployed to (e.g., `staging` or `production`).", + "in": "query", + "name": "environment", + "required": false, + "schema": { + "default": "none", + "nullable": true, + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/deployment-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/deployment" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List deployments", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + }, + "post": { + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/rest/commits/statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref.\n\n#### Merged branch response\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\n#### Merge conflict response\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\n#### Failed commit status checks\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/deployments#create-a-deployment" + }, + "operationId": "repos/create-deployment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "advanced-example": { + "summary": "Advanced example", + "value": { + "auto_merge": false, + "description": "Deploy request from hubot", + "payload": "{ \"deploy\": \"migrate\" }", + "ref": "topic-branch", + "required_contexts": [ + "ci/janky", + "security/brakeman" + ] + } + }, + "simple-example": { + "summary": "Simple example", + "value": { + "description": "Deploy request from hubot", + "payload": "{ \"deploy\": \"migrate\" }", + "ref": "topic-branch" + } + } + }, + "schema": { + "properties": { + "auto_merge": { + "default": true, + "description": "Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch.", + "type": "boolean" + }, + "description": { + "default": "", + "description": "Short description of the deployment.", + "nullable": true, + "type": "string" + }, + "environment": { + "default": "production", + "description": "Name for the target deployment environment (e.g., `production`, `staging`, `qa`).", + "type": "string" + }, + "payload": { + "oneOf": [ + { + "additionalProperties": true, + "type": "object" + }, + { + "default": "", + "description": "JSON payload with extra information about the deployment.", + "type": "string" + } + ] + }, + "production_environment": { + "description": "Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise.", + "type": "boolean" + }, + "ref": { + "description": "The ref to deploy. This can be a branch, tag, or SHA.", + "type": "string" + }, + "required_contexts": { + "description": "The [status](https://docs.github.com/rest/commits/statuses) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts.", + "items": { + "type": "string" + }, + "type": "array" + }, + "task": { + "default": "deploy", + "description": "Specifies a task to execute (e.g., `deploy` or `deploy:migrations`).", + "type": "string" + }, + "transient_environment": { + "default": false, + "description": "Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false`", + "type": "boolean" + } + }, + "required": [ + "ref" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "simple-example": { + "$ref": "#/components/examples/deployment-simple-example" + } + }, + "schema": { + "$ref": "#/components/schemas/deployment" + } + } + }, + "description": "Response" + }, + "202": { + "content": { + "application/json": { + "examples": { + "merged-branch-response": { + "value": { + "message": "Auto-merged master into topic-branch on deployment." + } + } + }, + "schema": { + "properties": { + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Merged branch response" + }, + "409": { + "description": "Conflict when there is a merge conflict or the commit's status checks failed" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a deployment", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/deployments/{deployment_id}": { + "delete": { + "description": "If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment. Anyone with `repo` or `repo_deployment` scopes can delete a deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/rest/deployments/deployments/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/rest/deployments/deployment-statuses#create-a-deployment-status).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/deployments#delete-a-deployment" + }, + "operationId": "repos/delete-deployment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/deployment-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Delete a deployment", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/deployments#get-a-deployment" + }, + "operationId": "repos/get-deployment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/deployment-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/deployment" + } + }, + "schema": { + "$ref": "#/components/schemas/deployment" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a deployment", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses": { + "get": { + "description": "Users with pull access can view deployment statuses for a deployment:", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/statuses#list-deployment-statuses" + }, + "operationId": "repos/list-deployment-statuses", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/deployment-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/deployment-status-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/deployment-status" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List deployment statuses", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "statuses" + } + }, + "post": { + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/statuses#create-a-deployment-status" + }, + "operationId": "repos/create-deployment-status", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/deployment-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "description": "Deployment finished successfully.", + "environment": "production", + "log_url": "https://example.com/deployment/42/output", + "state": "success" + } + } + }, + "schema": { + "properties": { + "auto_inactive": { + "description": "Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true`", + "type": "boolean" + }, + "description": { + "default": "", + "description": "A short description of the status. The maximum description length is 140 characters.", + "type": "string" + }, + "environment": { + "description": "Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`.", + "enum": [ + "production", + "staging", + "qa" + ], + "type": "string" + }, + "environment_url": { + "default": "", + "description": "Sets the URL for accessing your environment. Default: `\"\"`", + "type": "string" + }, + "log_url": { + "default": "", + "description": "The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `\"\"`", + "type": "string" + }, + "state": { + "description": "The state of the status. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub.", + "enum": [ + "error", + "failure", + "inactive", + "in_progress", + "queued", + "pending", + "success" + ], + "type": "string" + }, + "target_url": { + "default": "", + "description": "The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`.", + "type": "string" + } + }, + "required": [ + "state" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/deployment-status" + } + }, + "schema": { + "$ref": "#/components/schemas/deployment-status" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1", + "schema": { + "type": "string" + } + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a deployment status", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "statuses" + } + } + }, + "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}": { + "get": { + "description": "Users with pull access can view a deployment status for a deployment:", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/statuses#get-a-deployment-status" + }, + "operationId": "repos/get-deployment-status", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/deployment-id" + }, + { + "in": "path", + "name": "status_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/deployment-status" + } + }, + "schema": { + "$ref": "#/components/schemas/deployment-status" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a deployment status", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "statuses" + } + } + }, + "/repos/{owner}/{repo}/dispatches": { + "post": { + "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#create-a-repository-dispatch-event" + }, + "operationId": "repos/create-dispatch-event", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "client_payload": { + "integration": true, + "unit": false + }, + "event_type": "on-demand-test" + } + } + }, + "schema": { + "properties": { + "client_payload": { + "additionalProperties": true, + "description": "JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10.", + "maxProperties": 10, + "type": "object" + }, + "event_type": { + "description": "A custom webhook event name. Must be 100 characters or fewer.", + "maxLength": 100, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "event_type" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a repository dispatch event", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/environments": { + "get": { + "description": "Lists the environments for a repository.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/environments#list-environments" + }, + "operationId": "repos/get-all-environments", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/environments" + } + }, + "schema": { + "properties": { + "environments": { + "items": { + "$ref": "#/components/schemas/environment" + }, + "type": "array" + }, + "total_count": { + "description": "The number of environments in this repository", + "example": 5, + "type": "integer" + } + }, + "type": "object" + } + } + }, + "description": "Response" + } + }, + "summary": "List environments", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "environments" + } + } + }, + "/repos/{owner}/{repo}/environments/{environment_name}": { + "delete": { + "description": "You must authenticate using an access token with the repo scope to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/environments#delete-an-environment" + }, + "operationId": "repos/delete-an-environment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/environment-name" + } + ], + "responses": { + "204": { + "description": "Default response" + } + }, + "summary": "Delete an environment", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "environments" + } + }, + "get": { + "description": "**Note:** To get information about name patterns that branches must match in order to deploy to this environment, see \"[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy).\"\n\nAnyone with read access to the repository can use this endpoint. If the\nrepository is private, you must use an access token with the `repo` scope. GitHub\nApps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/environments#get-an-environment" + }, + "operationId": "repos/get-environment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/environment-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/environment" + } + }, + "schema": { + "$ref": "#/components/schemas/environment" + } + } + }, + "description": "Response" + } + }, + "summary": "Get an environment", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "environments" + } + }, + "put": { + "description": "Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see \"[Environments](/actions/reference/environments#environment-protection-rules).\"\n\n**Note:** To create or update name patterns that branches must match in order to deploy to this environment, see \"[Deployment branch policies](/rest/deployments/branch-policies).\"\n\n**Note:** To create or update secrets for an environment, see \"[Secrets](/rest/reference/actions#secrets).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/environments#create-or-update-an-environment" + }, + "operationId": "repos/create-or-update-environment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/environment-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "deployment_branch_policy": { + "custom_branch_policies": true, + "protected_branches": false + }, + "reviewers": [ + { + "id": 1, + "type": "User" + }, + { + "id": 1, + "type": "Team" + } + ], + "wait_timer": 30 + } + } + }, + "schema": { + "additionalProperties": false, + "nullable": true, + "properties": { + "deployment_branch_policy": { + "$ref": "#/components/schemas/deployment-branch-policy-settings" + }, + "reviewers": { + "description": "The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.", + "items": { + "properties": { + "id": { + "description": "The id of the user or team who can review the deployment", + "example": 4532992, + "type": "integer" + }, + "type": { + "$ref": "#/components/schemas/deployment-reviewer-type" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "wait_timer": { + "$ref": "#/components/schemas/wait-timer" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/environment" + } + }, + "schema": { + "$ref": "#/components/schemas/environment" + } + } + }, + "description": "Response" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` are set to the same value" + } + }, + "summary": "Create or update an environment", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "environments" + } + } + }, + "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies": { + "get": { + "description": "Lists the deployment branch policies for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies" + }, + "operationId": "repos/list-deployment-branch-policies", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/deployment-branch-policies-list" + } + }, + "schema": { + "properties": { + "branch_policies": { + "items": { + "$ref": "#/components/schemas/deployment-branch-policy" + }, + "type": "array" + }, + "total_count": { + "description": "The number of deployment branch policies for the environment.", + "example": 2, + "type": "integer" + } + }, + "required": [ + "total_count", + "branch_policies" + ], + "type": "object" + } + } + }, + "description": "Response" + } + }, + "summary": "List deployment branch policies", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-policies" + } + }, + "post": { + "description": "Creates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/branch-policies#create-deployment-branch-policy" + }, + "operationId": "repos/create-deployment-branch-policy", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/environment-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "example-single-branch": { + "summary": "Example of a single branch name pattern", + "value": { + "name": "main" + } + }, + "example-wildcard": { + "summary": "Example of a wildcard name pattern", + "value": { + "name": "release/*" + } + } + }, + "schema": { + "$ref": "#/components/schemas/deployment-branch-policy-name-pattern" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "example-single-branch": { + "$ref": "#/components/examples/deployment-branch-policy-single-branch" + }, + "example-wildcard": { + "$ref": "#/components/examples/deployment-branch-policy-wildcard" + } + }, + "schema": { + "$ref": "#/components/schemas/deployment-branch-policy" + } + } + }, + "description": "Response" + }, + "303": { + "description": "Response if the same branch name pattern already exists" + }, + "404": { + "description": "Not Found or `deployment_branch_policy.custom_branch_policies` property for the environment is set to false" + } + }, + "summary": "Create a deployment branch policy", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-policies" + } + } + }, + "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": { + "delete": { + "description": "Deletes a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/branch-policies#delete-deployment-branch-policy" + }, + "operationId": "repos/delete-deployment-branch-policy", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/branch-policy-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a deployment branch policy", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-policies" + } + }, + "get": { + "description": "Gets a deployment branch policy for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/branch-policies#get-deployment-branch-policy" + }, + "operationId": "repos/get-deployment-branch-policy", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/branch-policy-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/deployment-branch-policy-wildcard" + } + }, + "schema": { + "$ref": "#/components/schemas/deployment-branch-policy" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a deployment branch policy", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-policies" + } + }, + "put": { + "description": "Updates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deployments/branch-policies#update-deployment-branch-policy" + }, + "operationId": "repos/update-deployment-branch-policy", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/branch-policy-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "name": "release/*" + } + } + }, + "schema": { + "$ref": "#/components/schemas/deployment-branch-policy-name-pattern" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/deployment-branch-policy-wildcard" + } + }, + "schema": { + "$ref": "#/components/schemas/deployment-branch-policy" + } + } + }, + "description": "Response" + } + }, + "summary": "Update a deployment branch policy", + "tags": [ + "repos" + ], + "x-github": { + "category": "deployments", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "branch-policies" + } + } + }, + "/repos/{owner}/{repo}/events": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-repository-events" + }, + "operationId": "activity/list-repo-events", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "200-response": { + "$ref": "#/components/examples/repo-events-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/event" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "List repository events", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "events" + } + } + }, + "/repos/{owner}/{repo}/forks": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#list-forks" + }, + "operationId": "repos/list-forks", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "The sort order. `stargazers` will sort by star count.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "newest", + "enum": [ + "newest", + "oldest", + "stargazers", + "watchers" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-items-2" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + } + }, + "summary": "List forks", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "forks" + } + }, + "post": { + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#create-a-fork" + }, + "operationId": "repos/create-fork", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "default_branch_only": true, + "name": "Hello-World", + "organization": "octocat" + } + } + }, + "schema": { + "nullable": true, + "properties": { + "default_branch_only": { + "description": "When forking from an existing repository, fork with only the default branch.", + "type": "boolean" + }, + "name": { + "description": "When forking from an existing repository, a new name for the fork.", + "type": "string" + }, + "organization": { + "description": "Optional parameter to specify the organization name if forking into an organization.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "202": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/full-repository" + } + }, + "schema": { + "$ref": "#/components/schemas/full-repository" + } + } + }, + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a fork", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "forks" + } + } + }, + "/repos/{owner}/{repo}/git/blobs": { + "post": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/git#create-a-blob" + }, + "operationId": "git/create-blob", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "content": "Content of the blob", + "encoding": "utf-8" + } + } + }, + "schema": { + "properties": { + "content": { + "description": "The new blob's content.", + "type": "string" + }, + "encoding": { + "default": "utf-8", + "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.", + "type": "string" + } + }, + "required": [ + "content" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/short-blob" + } + }, + "schema": { + "$ref": "#/components/schemas/short-blob" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a blob", + "tags": [ + "git" + ], + "x-github": { + "category": "git", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "blobs" + } + } + }, + "/repos/{owner}/{repo}/git/blobs/{file_sha}": { + "get": { + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/git#get-a-blob" + }, + "operationId": "git/get-blob", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "in": "path", + "name": "file_sha", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/blob" + } + }, + "schema": { + "$ref": "#/components/schemas/blob" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Get a blob", + "tags": [ + "git" + ], + "x-github": { + "category": "git", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "blobs" + } + } + }, + "/repos/{owner}/{repo}/git/commits": { + "post": { + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/git#create-a-commit" + }, + "operationId": "git/create-commit", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "author": { + "date": "2008-07-09T16:13:30+12:00", + "email": "octocat@github.com", + "name": "Mona Octocat" + }, + "message": "my commit message", + "parents": [ + "7d1b31e74ee336d15cbd21741bc88a537ed063a0" + ], + "signature": "-----BEGIN PGP SIGNATURE-----\n\niQIzBAABAQAdFiEESn/54jMNIrGSE6Tp6cQjvhfv7nAFAlnT71cACgkQ6cQjvhfv\n7nCWwA//XVqBKWO0zF+bZl6pggvky3Oc2j1pNFuRWZ29LXpNuD5WUGXGG209B0hI\nDkmcGk19ZKUTnEUJV2Xd0R7AW01S/YSub7OYcgBkI7qUE13FVHN5ln1KvH2all2n\n2+JCV1HcJLEoTjqIFZSSu/sMdhkLQ9/NsmMAzpf/iIM0nQOyU4YRex9eD1bYj6nA\nOQPIDdAuaTQj1gFPHYLzM4zJnCqGdRlg0sOM/zC5apBNzIwlgREatOYQSCfCKV7k\nnrU34X8b9BzQaUx48Qa+Dmfn5KQ8dl27RNeWAqlkuWyv3pUauH9UeYW+KyuJeMkU\n+NyHgAsWFaCFl23kCHThbLStMZOYEnGagrd0hnm1TPS4GJkV4wfYMwnI4KuSlHKB\njHl3Js9vNzEUQipQJbgCgTiWvRJoK3ENwBTMVkKHaqT4x9U4Jk/XZB6Q8MA09ezJ\n3QgiTjTAGcum9E9QiJqMYdWQPWkaBIRRz5cET6HPB48YNXAAUsfmuYsGrnVLYbG+\nUpC6I97VybYHTy2O9XSGoaLeMI9CsFn38ycAxxbWagk5mhclNTP5mezIq6wKSwmr\nX11FW3n1J23fWZn5HJMBsRnUCgzqzX3871IqLYHqRJ/bpZ4h20RhTyPj5c/z7QXp\neSakNQMfbbMcljkha+ZMuVQX1K9aRlVqbmv3ZMWh+OijLYVU2bc=\n=5Io4\n-----END PGP SIGNATURE-----\n", + "tree": "827efc6d56897b048c772eb4087f854f46256132" + } + } + }, + "schema": { + "properties": { + "author": { + "description": "Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details.", + "properties": { + "date": { + "description": "Indicates when this commit was authored (or committed). This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "type": "string" + }, + "email": { + "description": "The email of the author (or committer) of the commit", + "type": "string" + }, + "name": { + "description": "The name of the author (or committer) of the commit", + "type": "string" + } + }, + "required": [ + "name", + "email" + ], + "type": "object" + }, + "committer": { + "description": "Information about the person who is making the commit. By default, `committer` will use the information set in `author`. See the `author` and `committer` object below for details.", + "properties": { + "date": { + "description": "Indicates when this commit was authored (or committed). This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "type": "string" + }, + "email": { + "description": "The email of the author (or committer) of the commit", + "type": "string" + }, + "name": { + "description": "The name of the author (or committer) of the commit", + "type": "string" + } + }, + "type": "object" + }, + "message": { + "description": "The commit message", + "type": "string" + }, + "parents": { + "description": "The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided.", + "items": { + "type": "string" + }, + "type": "array" + }, + "signature": { + "description": "The [PGP signature](https://en.wikipedia.org/wiki/Pretty_Good_Privacy) of the commit. GitHub adds the signature to the `gpgsig` header of the created commit. For a commit signature to be verifiable by Git or GitHub, it must be an ASCII-armored detached PGP signature over the string commit as it would be written to the object database. To pass a `signature` parameter, you need to first manually create a valid PGP signature, which can be complicated. You may find it easier to [use the command line](https://git-scm.com/book/id/v2/Git-Tools-Signing-Your-Work) to create signed commits.", + "type": "string" + }, + "tree": { + "description": "The SHA of the tree object this commit points to", + "type": "string" + } + }, + "required": [ + "message", + "tree" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/git-commit" + } + }, + "schema": { + "$ref": "#/components/schemas/git-commit" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a commit", + "tags": [ + "git" + ], + "x-github": { + "category": "git", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "commits" + } + } + }, + "/repos/{owner}/{repo}/git/commits/{commit_sha}": { + "get": { + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/git#get-a-commit" + }, + "operationId": "git/get-commit", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/commit-sha" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/git-commit-2" + } + }, + "schema": { + "$ref": "#/components/schemas/git-commit" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a commit", + "tags": [ + "git" + ], + "x-github": { + "category": "git", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "commits" + } + } + }, + "/repos/{owner}/{repo}/git/matching-refs/{ref}": { + "get": { + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/git#list-matching-references" + }, + "operationId": "git/list-matching-refs", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "ref parameter", + "in": "path", + "name": "ref", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/git-ref-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/git-ref" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List matching references", + "tags": [ + "git" + ], + "x-github": { + "category": "git", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "refs" + } + } + }, + "/repos/{owner}/{repo}/git/ref/{ref}": { + "get": { + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/git#get-a-reference" + }, + "operationId": "git/get-ref", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "ref parameter", + "in": "path", + "name": "ref", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/git-ref" + } + }, + "schema": { + "$ref": "#/components/schemas/git-ref" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a reference", + "tags": [ + "git" + ], + "x-github": { + "category": "git", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "refs" + } + } + }, + "/repos/{owner}/{repo}/git/refs": { + "post": { + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/git#create-a-reference" + }, + "operationId": "git/create-ref", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "ref": "refs/heads/featureA", + "sha": "aa218f56b14c9653891f9e74264a383fa43fefbd" + } + } + }, + "schema": { + "properties": { + "key": { + "example": "\"refs/heads/newbranch\"", + "type": "string" + }, + "ref": { + "description": "The name of the fully qualified reference (ie: `refs/heads/master`). If it doesn't start with 'refs' and have at least two slashes, it will be rejected.", + "type": "string" + }, + "sha": { + "description": "The SHA1 value for this reference.", + "type": "string" + } + }, + "required": [ + "ref", + "sha" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/git-ref" + } + }, + "schema": { + "$ref": "#/components/schemas/git-ref" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA", + "schema": { + "type": "string" + } + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a reference", + "tags": [ + "git" + ], + "x-github": { + "category": "git", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "refs" + } + } + }, + "/repos/{owner}/{repo}/git/refs/{ref}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/git#delete-a-reference" + }, + "operationId": "git/delete-ref", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "ref parameter", + "in": "path", + "name": "ref", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + } + ], + "responses": { + "204": { + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Delete a reference", + "tags": [ + "git" + ], + "x-github": { + "category": "git", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "refs" + } + }, + "patch": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/git#update-a-reference" + }, + "operationId": "git/update-ref", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "The name of the fully qualified reference to update. For example, `refs/heads/master`. If the value doesn't start with `refs` and have at least two slashes, it will be rejected.", + "example": "refs/head/master", + "in": "path", + "name": "ref", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "force": true, + "sha": "aa218f56b14c9653891f9e74264a383fa43fefbd" + } + } + }, + "schema": { + "properties": { + "force": { + "default": false, + "description": "Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to `false` will make sure you're not overwriting work.", + "type": "boolean" + }, + "sha": { + "description": "The SHA1 value to set this reference to", + "type": "string" + } + }, + "required": [ + "sha" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/git-ref" + } + }, + "schema": { + "$ref": "#/components/schemas/git-ref" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update a reference", + "tags": [ + "git" + ], + "x-github": { + "category": "git", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "refs" + } + } + }, + "/repos/{owner}/{repo}/git/tags": { + "post": { + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/git#create-a-tag-object" + }, + "operationId": "git/create-tag", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "message": "initial version", + "object": "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c", + "tag": "v0.0.1", + "tagger": { + "date": "2011-06-17T14:53:35-07:00", + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "type": "commit" + } + } + }, + "schema": { + "properties": { + "message": { + "description": "The tag message.", + "type": "string" + }, + "object": { + "description": "The SHA of the git object this is tagging.", + "type": "string" + }, + "tag": { + "description": "The tag's name. This is typically a version (e.g., \"v0.0.1\").", + "type": "string" + }, + "tagger": { + "description": "An object with information about the individual creating the tag.", + "properties": { + "date": { + "description": "When this object was tagged. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "type": "string" + }, + "email": { + "description": "The email of the author of the tag", + "type": "string" + }, + "name": { + "description": "The name of the author of the tag", + "type": "string" + } + }, + "required": [ + "name", + "email" + ], + "type": "object" + }, + "type": { + "description": "The type of the object we're tagging. Normally this is a `commit` but it can also be a `tree` or a `blob`.", + "enum": [ + "commit", + "tree", + "blob" + ], + "type": "string" + } + }, + "required": [ + "tag", + "message", + "object", + "type" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/git-tag" + } + }, + "schema": { + "$ref": "#/components/schemas/git-tag" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags/940bd336248efae0f9ee5bc7b2d5c985887b16ac", + "schema": { + "type": "string" + } + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a tag object", + "tags": [ + "git" + ], + "x-github": { + "category": "git", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "tags" + } + } + }, + "/repos/{owner}/{repo}/git/tags/{tag_sha}": { + "get": { + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/git#get-a-tag" + }, + "operationId": "git/get-tag", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "in": "path", + "name": "tag_sha", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/git-tag" + } + }, + "schema": { + "$ref": "#/components/schemas/git-tag" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a tag", + "tags": [ + "git" + ], + "x-github": { + "category": "git", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "tags" + } + } + }, + "/repos/{owner}/{repo}/git/trees": { + "post": { + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://docs.github.com/rest/reference/git#create-a-commit)\" and \"[Update a reference](https://docs.github.com/rest/reference/git#update-a-reference).\"\n\nReturns an error if you try to delete a file that does not exist.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/git#create-a-tree" + }, + "operationId": "git/create-tree", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "base_tree": "9fb037999f264ba9a7fc6274d15fa3ae2ab98312", + "tree": [ + { + "mode": "100644", + "path": "file.rb", + "sha": "44b4fc6d56897b048c772eb4087f854f46256132", + "type": "blob" + } + ] + } + } + }, + "schema": { + "properties": { + "base_tree": { + "description": "The SHA1 of an existing Git tree object which will be used as the base for the new tree. If provided, a new Git tree object will be created from entries in the Git tree object pointed to by `base_tree` and entries defined in the `tree` parameter. Entries defined in the `tree` parameter will overwrite items from `base_tree` with the same `path`. If you're creating new changes on a branch, then normally you'd set `base_tree` to the SHA1 of the Git tree object of the current latest commit on the branch you're working on.\nIf not provided, GitHub will create a new Git tree object from only the entries defined in the `tree` parameter. If you create a new commit pointing to such a tree, then all files which were a part of the parent commit's tree and were not defined in the `tree` parameter will be listed as deleted by the new commit.\n", + "type": "string" + }, + "tree": { + "description": "Objects (of `path`, `mode`, `type`, and `sha`) specifying a tree structure.", + "items": { + "properties": { + "content": { + "description": "The content you want this file to have. GitHub will write this blob out and use that SHA for this entry. Use either this, or `tree.sha`. \n \n**Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error.", + "type": "string" + }, + "mode": { + "description": "The file mode; one of `100644` for file (blob), `100755` for executable (blob), `040000` for subdirectory (tree), `160000` for submodule (commit), or `120000` for a blob that specifies the path of a symlink.", + "enum": [ + "100644", + "100755", + "040000", + "160000", + "120000" + ], + "type": "string" + }, + "path": { + "description": "The file referenced in the tree.", + "type": "string" + }, + "sha": { + "description": "The SHA1 checksum ID of the object in the tree. Also called `tree.sha`. If the value is `null` then the file will be deleted. \n \n**Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error.", + "nullable": true, + "type": "string" + }, + "type": { + "description": "Either `blob`, `tree`, or `commit`.", + "enum": [ + "blob", + "tree", + "commit" + ], + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "tree" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/git-tree" + } + }, + "schema": { + "$ref": "#/components/schemas/git-tree" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/trees/cd8274d15fa3ae2ab983129fb037999f264ba9a7", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a tree", + "tags": [ + "git" + ], + "x-github": { + "category": "git", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "trees" + } + } + }, + "/repos/{owner}/{repo}/git/trees/{tree_sha}": { + "get": { + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\n\n**Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/git#get-a-tree" + }, + "operationId": "git/get-tree", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "in": "path", + "name": "tree_sha", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "description": "Setting this parameter to any value returns the objects or subtrees referenced by the tree specified in `:tree_sha`. For example, setting `recursive` to any of the following will enable returning objects or subtrees: `0`, `1`, `\"true\"`, and `\"false\"`. Omit this parameter to prevent recursively returning objects or subtrees.", + "in": "query", + "name": "recursive", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default-response": { + "$ref": "#/components/examples/git-tree-default-response" + }, + "response-recursively-retrieving-a-tree": { + "$ref": "#/components/examples/git-tree-response-recursively-retrieving-a-tree" + } + }, + "schema": { + "$ref": "#/components/schemas/git-tree" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Get a tree", + "tags": [ + "git" + ], + "x-github": { + "category": "git", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "trees" + } + } + }, + "/repos/{owner}/{repo}/hooks": { + "get": { + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/webhooks/repos#list-repository-webhooks" + }, + "operationId": "repos/list-webhooks", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/hook-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/hook" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List repository webhooks", + "tags": [ + "repos" + ], + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repos" + } + }, + "post": { + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook" + }, + "operationId": "repos/create-webhook", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "active": true, + "config": { + "content_type": "json", + "insecure_ssl": "0", + "url": "https://example.com/webhook" + }, + "events": [ + "push", + "pull_request" + ], + "name": "web" + } + } + }, + "schema": { + "additionalProperties": false, + "nullable": true, + "properties": { + "active": { + "default": true, + "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", + "type": "boolean" + }, + "config": { + "description": "Key/value pairs to provide settings for this webhook. [These are defined below](https://docs.github.com/rest/reference/repos#create-hook-config-params).", + "properties": { + "content_type": { + "$ref": "#/components/schemas/webhook-config-content-type" + }, + "digest": { + "example": "\"sha256\"", + "type": "string" + }, + "insecure_ssl": { + "$ref": "#/components/schemas/webhook-config-insecure-ssl" + }, + "secret": { + "$ref": "#/components/schemas/webhook-config-secret" + }, + "token": { + "example": "\"abc\"", + "type": "string" + }, + "url": { + "$ref": "#/components/schemas/webhook-config-url" + } + }, + "type": "object" + }, + "events": { + "default": [ + "push" + ], + "description": "Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/hook" + } + }, + "schema": { + "$ref": "#/components/schemas/hook" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a repository webhook", + "tags": [ + "repos" + ], + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repos" + } + } + }, + "/repos/{owner}/{repo}/hooks/{hook_id}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/webhooks/repos#delete-a-repository-webhook" + }, + "operationId": "repos/delete-webhook", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/hook-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a repository webhook", + "tags": [ + "repos" + ], + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repos" + } + }, + "get": { + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/webhooks/repos#get-a-repository-webhook" + }, + "operationId": "repos/get-webhook", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/hook-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/hook" + } + }, + "schema": { + "$ref": "#/components/schemas/hook" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a repository webhook", + "tags": [ + "repos" + ], + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repos" + } + }, + "patch": { + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/webhooks/repos#update-a-repository-webhook" + }, + "operationId": "repos/update-webhook", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/hook-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "active": true, + "add_events": [ + "pull_request" + ] + } + } + }, + "schema": { + "properties": { + "active": { + "default": true, + "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", + "type": "boolean" + }, + "add_events": { + "description": "Determines a list of events to be added to the list of events that the Hook triggers for.", + "items": { + "type": "string" + }, + "type": "array" + }, + "config": { + "description": "Key/value pairs to provide settings for this webhook. [These are defined below](https://docs.github.com/rest/reference/repos#create-hook-config-params).", + "properties": { + "address": { + "example": "\"bar@example.com\"", + "type": "string" + }, + "content_type": { + "$ref": "#/components/schemas/webhook-config-content-type" + }, + "insecure_ssl": { + "$ref": "#/components/schemas/webhook-config-insecure-ssl" + }, + "room": { + "example": "\"The Serious Room\"", + "type": "string" + }, + "secret": { + "$ref": "#/components/schemas/webhook-config-secret" + }, + "url": { + "$ref": "#/components/schemas/webhook-config-url" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "events": { + "default": [ + "push" + ], + "description": "Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events.", + "items": { + "type": "string" + }, + "type": "array" + }, + "remove_events": { + "description": "Determines a list of events to be removed from the list of events that the Hook triggers for.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/hook" + } + }, + "schema": { + "$ref": "#/components/schemas/hook" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update a repository webhook", + "tags": [ + "repos" + ], + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repos" + } + } + }, + "/repos/{owner}/{repo}/hooks/{hook_id}/config": { + "get": { + "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook).\"\n\nAccess tokens must have the `read:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:read` permission.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" + }, + "operationId": "repos/get-webhook-config-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/hook-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/webhook-config" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-config" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a webhook configuration for a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repo-config" + } + }, + "patch": { + "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook).\"\n\nAccess tokens must have the `write:repo_hook` or `repo` scope, and GitHub Apps must have the `repository_hooks:write` permission.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" + }, + "operationId": "repos/update-webhook-config-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/hook-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example of updating content type and URL", + "value": { + "content_type": "json", + "url": "https://example.com/webhook" + } + } + }, + "schema": { + "additionalProperties": false, + "properties": { + "content_type": { + "$ref": "#/components/schemas/webhook-config-content-type" + }, + "insecure_ssl": { + "$ref": "#/components/schemas/webhook-config-insecure-ssl" + }, + "secret": { + "$ref": "#/components/schemas/webhook-config-secret" + }, + "url": { + "$ref": "#/components/schemas/webhook-config-url" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/webhook-config" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-config" + } + } + }, + "description": "Response" + } + }, + "summary": "Update a webhook configuration for a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repo-config" + } + } + }, + "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries": { + "get": { + "description": "Returns a list of webhook deliveries for a webhook configured in a repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" + }, + "operationId": "repos/list-webhook-deliveries", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/hook-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/cursor" + }, + { + "in": "query", + "name": "redelivery", + "required": false, + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/hook-delivery-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/hook-delivery-item" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List deliveries for a repository webhook", + "tags": [ + "repos" + ], + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repo-deliveries" + } + } + }, + "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}": { + "get": { + "description": "Returns a delivery for a webhook configured in a repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" + }, + "operationId": "repos/get-webhook-delivery", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/hook-id" + }, + { + "$ref": "#/components/parameters/delivery-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/hook-delivery" + } + }, + "schema": { + "$ref": "#/components/schemas/hook-delivery" + } + } + }, + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Get a delivery for a repository webhook", + "tags": [ + "repos" + ], + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repo-deliveries" + } + } + }, + "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": { + "post": { + "description": "Redeliver a webhook delivery for a webhook configured in a repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" + }, + "operationId": "repos/redeliver-webhook-delivery", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/hook-id" + }, + { + "$ref": "#/components/parameters/delivery-id" + } + ], + "responses": { + "202": { + "$ref": "#/components/responses/accepted" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Redeliver a delivery for a repository webhook", + "tags": [ + "repos" + ], + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repo-deliveries" + } + } + }, + "/repos/{owner}/{repo}/hooks/{hook_id}/pings": { + "post": { + "description": "This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook" + }, + "operationId": "repos/ping-webhook", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/hook-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Ping a repository webhook", + "tags": [ + "repos" + ], + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repos" + } + } + }, + "/repos/{owner}/{repo}/hooks/{hook_id}/tests": { + "post": { + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook" + }, + "operationId": "repos/test-push-webhook", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/hook-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Test the push repository webhook", + "tags": [ + "repos" + ], + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repos" + } + } + }, + "/repos/{owner}/{repo}/import": { + "delete": { + "description": "Stop an import for a repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/source-imports#cancel-an-import" + }, + "operationId": "migrations/cancel-import", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "503": { + "$ref": "#/components/responses/porter_maintenance" + } + }, + "summary": "Cancel an import", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "source-imports" + } + }, + "get": { + "description": "View the progress of an import.\n\n**Import status**\n\nThis section includes details about the possible values of the `status` field of the Import Progress response.\n\nAn import that does not have errors will progress through these steps:\n\n* `detecting` - the \"detection\" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.\n* `importing` - the \"raw\" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).\n* `mapping` - the \"rewrite\" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.\n* `pushing` - the \"push\" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is \"Writing objects\".\n* `complete` - the import is complete, and the repository is ready on GitHub.\n\nIf there are problems, you will see one of these in the `status` field:\n\n* `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.\n* `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api) for more information.\n* `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.\n* `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/rest/migrations/source-imports#cancel-an-import) and [retry](https://docs.github.com/rest/migrations/source-imports#start-an-import) with the correct URL.\n* `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.\n\n**The project_choices field**\n\nWhen multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.\n\n**Git LFS related fields**\n\nThis section includes details about Git LFS related fields that may be present in the Import Progress response.\n\n* `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.\n* `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.\n* `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.\n* `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a \"Get Large Files\" request.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/source-imports#get-an-import-status" + }, + "operationId": "migrations/get-import-status", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/import" + } + }, + "schema": { + "$ref": "#/components/schemas/import" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/porter_maintenance" + } + }, + "summary": "Get an import status", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "source-imports" + } + }, + "patch": { + "description": "An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API\nrequest. If no parameters are provided, the import will be restarted.\n\nSome servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will\nhave the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.\nYou can select the project to import by providing one of the objects in the `project_choices` array in the update request.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/source-imports#update-an-import" + }, + "operationId": "migrations/update-import", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "example-1": { + "summary": "Update authentication for an import", + "value": { + "vcs_password": "secret", + "vcs_username": "octocat" + } + }, + "example-2": { + "summary": "Updating the project choice", + "value": { + "human_name": "project1 (tfs)", + "tfvc_project": "project1", + "vcs": "tfvc" + } + }, + "example-3": { + "summary": "Restarting an import" + } + }, + "schema": { + "nullable": true, + "properties": { + "tfvc_project": { + "description": "For a tfvc import, the name of the project that is being imported.", + "example": "\"project1\"", + "type": "string" + }, + "vcs": { + "description": "The type of version control system you are migrating from.", + "enum": [ + "subversion", + "tfvc", + "git", + "mercurial" + ], + "example": "\"git\"", + "type": "string" + }, + "vcs_password": { + "description": "The password to provide to the originating repository.", + "type": "string" + }, + "vcs_username": { + "description": "The username to provide to the originating repository.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "example-1": { + "$ref": "#/components/examples/import-example-1" + }, + "example-2": { + "$ref": "#/components/examples/import-example-2" + }, + "example-3": { + "$ref": "#/components/examples/import-response" + } + }, + "schema": { + "$ref": "#/components/schemas/import" + } + } + }, + "description": "Response" + }, + "503": { + "$ref": "#/components/responses/porter_maintenance" + } + }, + "summary": "Update an import", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "source-imports" + } + }, + "put": { + "description": "Start a source import to a GitHub repository using GitHub Importer. Importing into a GitHub repository with GitHub Actions enabled is not supported and will return a status `422 Unprocessable Entity` response.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/source-imports#start-an-import" + }, + "operationId": "migrations/start-import", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "vcs": "subversion", + "vcs_password": "secret", + "vcs_url": "http://svn.mycompany.com/svn/myproject", + "vcs_username": "octocat" + } + } + }, + "schema": { + "properties": { + "tfvc_project": { + "description": "For a tfvc import, the name of the project that is being imported.", + "type": "string" + }, + "vcs": { + "description": "The originating VCS type. Without this parameter, the import job will take additional time to detect the VCS type before beginning the import. This detection step will be reflected in the response.", + "enum": [ + "subversion", + "git", + "mercurial", + "tfvc" + ], + "type": "string" + }, + "vcs_password": { + "description": "If authentication is required, the password to provide to `vcs_url`.", + "type": "string" + }, + "vcs_url": { + "description": "The URL of the originating repository.", + "type": "string" + }, + "vcs_username": { + "description": "If authentication is required, the username to provide to `vcs_url`.", + "type": "string" + } + }, + "required": [ + "vcs_url" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/import-2" + } + }, + "schema": { + "$ref": "#/components/schemas/import" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/spraints/socm/import", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "$ref": "#/components/responses/porter_maintenance" + } + }, + "summary": "Start an import", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "source-imports" + } + } + }, + "/repos/{owner}/{repo}/import/authors": { + "get": { + "description": "Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot `.\n\nThis endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/source-imports#get-commit-authors" + }, + "operationId": "migrations/get-commit-authors", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/since-user" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/porter-author-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/porter-author" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/porter_maintenance" + } + }, + "summary": "Get commit authors", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "source-imports" + } + } + }, + "/repos/{owner}/{repo}/import/authors/{author_id}": { + "patch": { + "description": "Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/source-imports#map-a-commit-author" + }, + "operationId": "migrations/map-commit-author", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "in": "path", + "name": "author_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "email": "hubot@github.com", + "name": "Hubot the Robot" + } + } + }, + "schema": { + "additionalProperties": false, + "properties": { + "email": { + "description": "The new Git author email.", + "type": "string" + }, + "name": { + "description": "The new Git author name.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/porter-author" + } + }, + "schema": { + "$ref": "#/components/schemas/porter-author" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "$ref": "#/components/responses/porter_maintenance" + } + }, + "summary": "Map a commit author", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "source-imports" + } + } + }, + "/repos/{owner}/{repo}/import/large_files": { + "get": { + "description": "List files larger than 100MB found during the import", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/source-imports#get-large-files" + }, + "operationId": "migrations/get-large-files", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/porter-large-file-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/porter-large-file" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "503": { + "$ref": "#/components/responses/porter_maintenance" + } + }, + "summary": "Get large files", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "source-imports" + } + } + }, + "/repos/{owner}/{repo}/import/lfs": { + "patch": { + "description": "You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.com). You can learn more about our LFS feature and working with large files [on our help site](https://docs.github.com/repositories/working-with-files/managing-large-files).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference" + }, + "operationId": "migrations/set-lfs-preference", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "use_lfs": "opt_in" + } + } + }, + "schema": { + "properties": { + "use_lfs": { + "description": "Whether to store large files during the import. `opt_in` means large files will be stored using Git LFS. `opt_out` means large files will be removed during the import.", + "enum": [ + "opt_in", + "opt_out" + ], + "type": "string" + } + }, + "required": [ + "use_lfs" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/import" + } + }, + "schema": { + "$ref": "#/components/schemas/import" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "$ref": "#/components/responses/porter_maintenance" + } + }, + "summary": "Update Git LFS preference", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "source-imports" + } + } + }, + "/repos/{owner}/{repo}/installation": { + "get": { + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app" + }, + "operationId": "apps/get-repo-installation", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/installation" + } + }, + "schema": { + "$ref": "#/components/schemas/installation" + } + } + }, + "description": "Response" + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a repository installation for the authenticated app", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/interaction-limits": { + "delete": { + "description": "Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions. If the interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-a-repository" + }, + "operationId": "interactions/remove-restrictions-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response" + } + }, + "summary": "Remove interaction restrictions for a repository", + "tags": [ + "interactions" + ], + "x-github": { + "category": "interactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repos" + } + }, + "get": { + "description": "Shows which type of GitHub user can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-a-repository" + }, + "operationId": "interactions/get-restrictions-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/interaction-limit-2" + } + }, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/interaction-limit-response" + }, + { + "additionalProperties": false, + "properties": {}, + "type": "object" + } + ] + } + } + }, + "description": "Response" + } + }, + "summary": "Get interaction restrictions for a repository", + "tags": [ + "interactions" + ], + "x-github": { + "category": "interactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repos" + } + }, + "put": { + "description": "Temporarily restricts interactions to a certain type of GitHub user within the given repository. You must have owner or admin access to set these restrictions. If an interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-a-repository" + }, + "operationId": "interactions/set-restrictions-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example request body", + "value": { + "expiry": "one_day", + "limit": "collaborators_only" + } + } + }, + "schema": { + "$ref": "#/components/schemas/interaction-limit" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/interaction-limit-2" + } + }, + "schema": { + "$ref": "#/components/schemas/interaction-limit-response" + } + } + }, + "description": "Response" + }, + "409": { + "description": "Response" + } + }, + "summary": "Set interaction restrictions for a repository", + "tags": [ + "interactions" + ], + "x-github": { + "category": "interactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "repos" + } + } + }, + "/repos/{owner}/{repo}/invitations": { + "get": { + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/collaborators/invitations#list-repository-invitations" + }, + "operationId": "repos/list-invitations", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repository-invitation-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/repository-invitation" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List repository invitations", + "tags": [ + "repos" + ], + "x-github": { + "category": "collaborators", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "invitations" + } + } + }, + "/repos/{owner}/{repo}/invitations/{invitation_id}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation" + }, + "operationId": "repos/delete-invitation", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/invitation-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a repository invitation", + "tags": [ + "repos" + ], + "x-github": { + "category": "collaborators", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "invitations" + } + }, + "patch": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation" + }, + "operationId": "repos/update-invitation", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/invitation-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example request body", + "value": { + "permissions": "write" + } + } + }, + "schema": { + "properties": { + "permissions": { + "description": "The permissions that the associated user will have on the repository. Valid values are `read`, `write`, `maintain`, `triage`, and `admin`.", + "enum": [ + "read", + "write", + "maintain", + "triage", + "admin" + ], + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repository-invitation" + } + }, + "schema": { + "$ref": "#/components/schemas/repository-invitation" + } + } + }, + "description": "Response" + } + }, + "summary": "Update a repository invitation", + "tags": [ + "repos" + ], + "x-github": { + "category": "collaborators", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "invitations" + } + } + }, + "/repos/{owner}/{repo}/issues": { + "get": { + "description": "List issues in a repository. Only open issues will be listed.\n\n**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#list-repository-issues" + }, + "operationId": "issues/list-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone are accepted. If the string `none` is passed, issues without milestones are returned.", + "in": "query", + "name": "milestone", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "Indicates the state of the issues to return.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "default": "open", + "enum": [ + "open", + "closed", + "all" + ], + "type": "string" + } + }, + { + "description": "Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user.", + "in": "query", + "name": "assignee", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "The user that created the issue.", + "in": "query", + "name": "creator", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "A user that's mentioned in the issue.", + "in": "query", + "name": "mentioned", + "required": false, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/labels" + }, + { + "description": "What to sort results by.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "created", + "enum": [ + "created", + "updated", + "comments" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/issue" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List repository issues", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#create-an-issue" + }, + "operationId": "issues/create", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "assignees": [ + "octocat" + ], + "body": "I'm having a problem with this.", + "labels": [ + "bug" + ], + "milestone": 1, + "title": "Found a bug" + } + } + }, + "schema": { + "properties": { + "assignee": { + "description": "Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_", + "nullable": true, + "type": "string" + }, + "assignees": { + "description": "Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._", + "items": { + "type": "string" + }, + "type": "array" + }, + "body": { + "description": "The contents of the issue.", + "type": "string" + }, + "labels": { + "description": "Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "properties": { + "color": { + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "type": "object" + } + ] + }, + "type": "array" + }, + "milestone": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "description": "The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._", + "type": "integer" + } + ] + }, + "title": { + "description": "The title of the issue.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + } + }, + "required": [ + "title" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + }, + "schema": { + "$ref": "#/components/schemas/issue" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Create an issue", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null, + "triggersNotification": true + } + } + }, + "/repos/{owner}/{repo}/issues/comments": { + "get": { + "description": "By default, Issue Comments are ordered by ascending ID.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#list-issue-comments-for-a-repository" + }, + "operationId": "issues/list-comments-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/sort" + }, + { + "description": "Either `asc` or `desc`. Ignored without the `sort` parameter.", + "in": "query", + "name": "direction", + "required": false, + "schema": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue-comment-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/issue-comment" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List issue comments for a repository", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + } + }, + "/repos/{owner}/{repo}/issues/comments/{comment_id}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#delete-an-issue-comment" + }, + "operationId": "issues/delete-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete an issue comment", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#get-an-issue-comment" + }, + "operationId": "issues/get-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue-comment" + } + }, + "schema": { + "$ref": "#/components/schemas/issue-comment" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get an issue comment", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + }, + "patch": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#update-an-issue-comment" + }, + "operationId": "issues/update-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Me too" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The contents of the comment.", + "type": "string" + } + }, + "required": [ + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue-comment" + } + }, + "schema": { + "$ref": "#/components/schemas/issue-comment" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update an issue comment", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + } + }, + "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions": { + "get": { + "description": "List the reactions to an [issue comment](https://docs.github.com/rest/reference/issues#comments).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue-comment" + }, + "operationId": "reactions/list-for-issue-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + }, + { + "description": "Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to an issue comment.", + "in": "query", + "name": "content", + "required": false, + "schema": { + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/reaction" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List reactions for an issue comment", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#create-reaction-for-an-issue-comment" + }, + "operationId": "reactions/create-for-issue-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "content": "heart" + } + } + }, + "schema": { + "properties": { + "content": { + "description": "The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the issue comment.", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + "required": [ + "content" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Reaction exists" + }, + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Reaction created" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create reaction for an issue comment", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}": { + "delete": { + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#delete-an-issue-comment-reaction" + }, + "operationId": "reactions/delete-for-issue-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + }, + { + "$ref": "#/components/parameters/reaction-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete an issue comment reaction", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/issues/events": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#list-issue-events-for-a-repository" + }, + "operationId": "issues/list-events-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue-event-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/issue-event" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List issue events for a repository", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "events" + } + } + }, + "/repos/{owner}/{repo}/issues/events/{event_id}": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#get-an-issue-event" + }, + "operationId": "issues/get-event", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "in": "path", + "name": "event_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue-event" + } + }, + "schema": { + "$ref": "#/components/schemas/issue-event" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "summary": "Get an issue event", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "events" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}": { + "get": { + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://docs.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#get-an-issue" + }, + "operationId": "issues/get", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + }, + "schema": { + "$ref": "#/components/schemas/issue" + } + } + }, + "description": "Response" + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "summary": "Get an issue", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "patch": { + "description": "Issue owners and users with push access can edit an issue.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#update-an-issue" + }, + "operationId": "issues/update", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "assignees": [ + "octocat" + ], + "body": "I'm having a problem with this.", + "labels": [ + "bug" + ], + "milestone": 1, + "state": "open", + "title": "Found a bug" + } + } + }, + "schema": { + "properties": { + "assignee": { + "description": "Username to assign to this issue. **This field is deprecated.**", + "nullable": true, + "type": "string" + }, + "assignees": { + "description": "Usernames to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this issue. Send an empty array (`[]`) to clear all assignees from the issue. Only users with push access can set assignees for new issues. Without push access to the repository, assignee changes are silently dropped.", + "items": { + "type": "string" + }, + "type": "array" + }, + "body": { + "description": "The contents of the issue.", + "nullable": true, + "type": "string" + }, + "labels": { + "description": "Labels to associate with this issue. Pass one or more labels to _replace_ the set of labels on this issue. Send an empty array (`[]`) to clear all labels from the issue. Only users with push access can set labels for issues. Without push access to the repository, label changes are silently dropped.", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "properties": { + "color": { + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "type": "object" + } + ] + }, + "type": "array" + }, + "milestone": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "description": "The `number` of the milestone to associate this issue with or use `null` to remove the current milestone. Only users with push access can set the milestone for issues. Without push access to the repository, milestone changes are silently dropped.", + "type": "integer" + } + ] + }, + "state": { + "description": "The open or closed state of the issue.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "description": "The reason for the state change. Ignored unless `state` is changed.", + "enum": [ + "completed", + "not_planned", + "reopened" + ], + "example": "not_planned", + "nullable": true, + "type": "string" + }, + "title": { + "description": "The title of the issue.", + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + }, + "schema": { + "$ref": "#/components/schemas/issue" + } + } + }, + "description": "Response" + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Update an issue", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/assignees": { + "delete": { + "description": "Removes one or more assignees from an issue.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue" + }, + "operationId": "issues/remove-assignees", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "assignees": [ + "hubot", + "other_user" + ] + } + } + }, + "schema": { + "properties": { + "assignees": { + "description": "Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + }, + "schema": { + "$ref": "#/components/schemas/issue" + } + } + }, + "description": "Response" + } + }, + "summary": "Remove assignees from an issue", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "assignees" + } + }, + "post": { + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#add-assignees-to-an-issue" + }, + "operationId": "issues/add-assignees", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "assignees": [ + "hubot", + "other_user" + ] + } + } + }, + "schema": { + "properties": { + "assignees": { + "description": "Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + }, + "schema": { + "$ref": "#/components/schemas/issue" + } + } + }, + "description": "Response" + } + }, + "summary": "Add assignees to an issue", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "assignees" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}": { + "get": { + "description": "Checks if a user has permission to be assigned to a specific issue.\n\nIf the `assignee` can be assigned to this issue, a `204` status code with no content is returned.\n\nOtherwise a `404` status code is returned.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned-to-a-issue" + }, + "operationId": "issues/check-user-can-be-assigned-to-issue", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + }, + { + "in": "path", + "name": "assignee", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response if `assignee` can be assigned to `issue_number`" + }, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Response if `assignee` can not be assigned to `issue_number`" + } + }, + "summary": "Check if a user can be assigned to a issue", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "assignees" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/comments": { + "get": { + "description": "Issue Comments are ordered by ascending ID.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#list-issue-comments" + }, + "operationId": "issues/list-comments", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + }, + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue-comment-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/issue-comment" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "summary": "List issue comments", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + }, + "post": { + "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#create-an-issue-comment" + }, + "operationId": "issues/create-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Me too" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The contents of the comment.", + "type": "string" + } + }, + "required": [ + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue-comment" + } + }, + "schema": { + "$ref": "#/components/schemas/issue-comment" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create an issue comment", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments", + "triggersNotification": true + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/events": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#list-issue-events" + }, + "operationId": "issues/list-events", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue-event-for-issue-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/issue-event-for-issue" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "summary": "List issue events", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "events" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/labels": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#remove-all-labels-from-an-issue" + }, + "operationId": "issues/remove-all-labels", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "summary": "Remove all labels from an issue", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "labels" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#list-labels-for-an-issue" + }, + "operationId": "issues/list-labels-on-issue", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/label-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/label" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "summary": "List labels for an issue", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "labels" + } + }, + "post": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#add-labels-to-an-issue" + }, + "operationId": "issues/add-labels", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "labels": [ + "bug", + "enhancement" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "properties": { + "labels": { + "description": "The names of the labels to add to the issue's existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also replace all of the labels for an issue. For more information, see \"[Set labels for an issue](https://docs.github.com/rest/reference/issues#set-labels-for-an-issue).\"", + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + } + }, + "type": "object" + }, + { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + { + "properties": { + "labels": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + } + }, + "type": "object" + }, + { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + { + "type": "string" + } + ] + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/label-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/label" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Add labels to an issue", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "labels" + } + }, + "put": { + "description": "Removes any previous labels and sets the new labels for an issue.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#set-labels-for-an-issue" + }, + "operationId": "issues/set-labels", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "labels": [ + "bug", + "enhancement" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "properties": { + "labels": { + "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/rest/reference/issues#add-labels-to-an-issue).\"", + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + } + }, + "type": "object" + }, + { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + { + "properties": { + "labels": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + } + }, + "type": "object" + }, + { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + { + "type": "string" + } + ] + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/label-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/label" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Set labels for an issue", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { + "delete": { + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#remove-a-label-from-an-issue" + }, + "operationId": "issues/remove-label", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + }, + { + "in": "path", + "name": "name", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/label-items-2" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/label" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "summary": "Remove a label from an issue", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/lock": { + "delete": { + "description": "Users with push access can unlock an issue's conversation.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#unlock-an-issue" + }, + "operationId": "issues/unlock", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Unlock an issue", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "put": { + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#lock-an-issue" + }, + "operationId": "issues/lock", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example of locking an issue as off-topic", + "value": { + "lock_reason": "off-topic" + } + } + }, + "schema": { + "nullable": true, + "properties": { + "lock_reason": { + "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", + "enum": [ + "off-topic", + "too heated", + "resolved", + "spam" + ], + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Lock an issue", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/reactions": { + "get": { + "description": "List the reactions to an [issue](https://docs.github.com/rest/reference/issues).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue" + }, + "operationId": "reactions/list-for-issue", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + }, + { + "description": "Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to an issue.", + "in": "query", + "name": "content", + "required": false, + "schema": { + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/reaction" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "summary": "List reactions for an issue", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#create-reaction-for-an-issue" + }, + "operationId": "reactions/create-for-issue", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "content": "heart" + } + } + }, + "schema": { + "properties": { + "content": { + "description": "The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the issue.", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + "required": [ + "content" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Response" + }, + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create reaction for an issue", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": { + "delete": { + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/rest/reference/issues/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#delete-an-issue-reaction" + }, + "operationId": "reactions/delete-for-issue", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + }, + { + "$ref": "#/components/parameters/reaction-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete an issue reaction", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/timeline": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#list-timeline-events-for-an-issue" + }, + "operationId": "issues/list-events-for-timeline", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/timeline-issue-events" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/timeline-issue-events" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "summary": "List timeline events for an issue", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "timeline" + } + } + }, + "/repos/{owner}/{repo}/keys": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deploy-keys#list-deploy-keys" + }, + "operationId": "repos/list-deploy-keys", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/deploy-key-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/deploy-key" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List deploy keys", + "tags": [ + "repos" + ], + "x-github": { + "category": "deploy-keys", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + }, + "post": { + "description": "You can create a read-only deploy key.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deploy-keys#create-a-deploy-key" + }, + "operationId": "repos/create-deploy-key", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "key": "ssh-rsa AAA...", + "read_only": true, + "title": "octocat@octomac" + } + } + }, + "schema": { + "properties": { + "key": { + "description": "The contents of the key.", + "type": "string" + }, + "read_only": { + "description": "If `true`, the key will only be able to read repository contents. Otherwise, the key will be able to read and write. \n \nDeploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see \"[Repository permission levels for an organization](https://docs.github.com/articles/repository-permission-levels-for-an-organization/)\" and \"[Permission levels for a user account repository](https://docs.github.com/articles/permission-levels-for-a-user-account-repository/).\"", + "type": "boolean" + }, + "title": { + "description": "A name for the key.", + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/deploy-key" + } + }, + "schema": { + "$ref": "#/components/schemas/deploy-key" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/keys/1", + "schema": { + "type": "string" + } + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a deploy key", + "tags": [ + "repos" + ], + "x-github": { + "category": "deploy-keys", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/keys/{key_id}": { + "delete": { + "description": "Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deploy-keys#delete-a-deploy-key" + }, + "operationId": "repos/delete-deploy-key", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/key-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a deploy key", + "tags": [ + "repos" + ], + "x-github": { + "category": "deploy-keys", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/deploy-keys#get-a-deploy-key" + }, + "operationId": "repos/get-deploy-key", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/key-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/deploy-key" + } + }, + "schema": { + "$ref": "#/components/schemas/deploy-key" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a deploy key", + "tags": [ + "repos" + ], + "x-github": { + "category": "deploy-keys", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/labels": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#list-labels-for-a-repository" + }, + "operationId": "issues/list-labels-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/label-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/label" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List labels for a repository", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "labels" + } + }, + "post": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#create-a-label" + }, + "operationId": "issues/create-label", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "color": "f29513", + "description": "Something isn't working", + "name": "bug" + } + } + }, + "schema": { + "properties": { + "color": { + "description": "The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`.", + "type": "string" + }, + "description": { + "description": "A short description of the label. Must be 100 characters or fewer.", + "type": "string" + }, + "name": { + "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/label" + } + }, + "schema": { + "$ref": "#/components/schemas/label" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a label", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/labels/{name}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#delete-a-label" + }, + "operationId": "issues/delete-label", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "in": "path", + "name": "name", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a label", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "labels" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#get-a-label" + }, + "operationId": "issues/get-label", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "in": "path", + "name": "name", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/label" + } + }, + "schema": { + "$ref": "#/components/schemas/label" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a label", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "labels" + } + }, + "patch": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#update-a-label" + }, + "operationId": "issues/update-label", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "in": "path", + "name": "name", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "color": "b01f26", + "description": "Small bug fix required", + "new_name": "bug :bug:" + } + } + }, + "schema": { + "properties": { + "color": { + "description": "The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`.", + "type": "string" + }, + "description": { + "description": "A short description of the label. Must be 100 characters or fewer.", + "type": "string" + }, + "new_name": { + "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/label-2" + } + }, + "schema": { + "$ref": "#/components/schemas/label" + } + } + }, + "description": "Response" + } + }, + "summary": "Update a label", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/languages": { + "get": { + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#list-repository-languages" + }, + "operationId": "repos/list-languages", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/language" + } + }, + "schema": { + "$ref": "#/components/schemas/language" + } + } + }, + "description": "Response" + } + }, + "summary": "List repository languages", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/lfs": { + "delete": { + "description": "Disables Git LFS for a repository. Access tokens must have the `admin:enterprise` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#disable-git-lfs-for-a-repository" + }, + "operationId": "repos/disable-lfs-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Disable Git LFS for a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "lfs" + } + }, + "put": { + "description": "Enables Git LFS for a repository. Access tokens must have the `admin:enterprise` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#enable-git-lfs-for-a-repository" + }, + "operationId": "repos/enable-lfs-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "202": { + "$ref": "#/components/responses/accepted" + }, + "403": { + "description": "We will return a 403 with one of the following messages:\n\n- Git LFS support not enabled because Git LFS is globally disabled.\n- Git LFS support not enabled because Git LFS is disabled for the root repository in the network.\n- Git LFS support not enabled because Git LFS is disabled for ." + } + }, + "summary": "Enable Git LFS for a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "lfs" + } + } + }, + "/repos/{owner}/{repo}/license": { + "get": { + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [Get repository content](https://docs.github.com/rest/reference/repos#get-repository-content), this method also supports [custom media types](https://docs.github.com/rest/overview/media-types) for retrieving the raw license content or rendered license HTML.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/licenses/#get-the-license-for-a-repository" + }, + "operationId": "licenses/get-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/license-content" + } + }, + "schema": { + "$ref": "#/components/schemas/license-content" + } + } + }, + "description": "Response" + } + }, + "summary": "Get the license for a repository", + "tags": [ + "licenses" + ], + "x-github": { + "category": "licenses", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/merge-upstream": { + "post": { + "description": "Sync a branch of a forked repository to keep it up-to-date with the upstream repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository" + }, + "operationId": "repos/merge-upstream", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "branch": "main" + } + } + }, + "schema": { + "properties": { + "branch": { + "description": "The name of the branch which should be updated to match upstream.", + "type": "string" + } + }, + "required": [ + "branch" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/merged-upstream" + } + }, + "schema": { + "$ref": "#/components/schemas/merged-upstream" + } + } + }, + "description": "The branch has been successfully synced with the upstream repository" + }, + "409": { + "description": "The branch could not be synced because of a merge conflict" + }, + "422": { + "description": "The branch could not be synced for some other reason" + } + }, + "summary": "Sync a fork branch with the upstream repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/merges": { + "post": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/branches/branches#merge-a-branch" + }, + "operationId": "repos/merge", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "base": "master", + "commit_message": "Shipped cool_feature!", + "head": "cool_feature" + } + } + }, + "schema": { + "properties": { + "base": { + "description": "The name of the base branch that the head will be merged into.", + "type": "string" + }, + "commit_message": { + "description": "Commit message to use for the merge commit. If omitted, a default message will be used.", + "type": "string" + }, + "head": { + "description": "The head to merge. This can be a branch name or a commit SHA1.", + "type": "string" + } + }, + "required": [ + "base", + "head" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/commit" + } + }, + "schema": { + "$ref": "#/components/schemas/commit" + } + } + }, + "description": "Successful Response (The resulting merge commit)" + }, + "204": { + "description": "Response when already merged" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "description": "Not Found when the base or head does not exist" + }, + "409": { + "description": "Conflict when there is a merge conflict" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Merge a branch", + "tags": [ + "repos" + ], + "x-github": { + "category": "branches", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/milestones": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#list-milestones" + }, + "operationId": "issues/list-milestones", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "The state of the milestone. Either `open`, `closed`, or `all`.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "default": "open", + "enum": [ + "open", + "closed", + "all" + ], + "type": "string" + } + }, + { + "description": "What to sort results by. Either `due_on` or `completeness`.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "due_on", + "enum": [ + "due_on", + "completeness" + ], + "type": "string" + } + }, + { + "description": "The direction of the sort. Either `asc` or `desc`.", + "in": "query", + "name": "direction", + "required": false, + "schema": { + "default": "asc", + "enum": [ + "asc", + "desc" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/milestone-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/milestone" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List milestones", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "milestones" + } + }, + "post": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#create-a-milestone" + }, + "operationId": "issues/create-milestone", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z", + "state": "open", + "title": "v1.0" + } + } + }, + "schema": { + "properties": { + "description": { + "description": "A description of the milestone.", + "type": "string" + }, + "due_on": { + "description": "The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "type": "string" + }, + "state": { + "default": "open", + "description": "The state of the milestone. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + } + }, + "required": [ + "title" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/milestone" + } + }, + "schema": { + "$ref": "#/components/schemas/milestone" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a milestone", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "milestones" + } + } + }, + "/repos/{owner}/{repo}/milestones/{milestone_number}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#delete-a-milestone" + }, + "operationId": "issues/delete-milestone", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/milestone-number" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a milestone", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "milestones" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#get-a-milestone" + }, + "operationId": "issues/get-milestone", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/milestone-number" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/milestone" + } + }, + "schema": { + "$ref": "#/components/schemas/milestone" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a milestone", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "milestones" + } + }, + "patch": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#update-a-milestone" + }, + "operationId": "issues/update-milestone", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/milestone-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z", + "state": "open", + "title": "v1.0" + } + } + }, + "schema": { + "properties": { + "description": { + "description": "A description of the milestone.", + "type": "string" + }, + "due_on": { + "description": "The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "type": "string" + }, + "state": { + "default": "open", + "description": "The state of the milestone. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/milestone" + } + }, + "schema": { + "$ref": "#/components/schemas/milestone" + } + } + }, + "description": "Response" + } + }, + "summary": "Update a milestone", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "milestones" + } + } + }, + "/repos/{owner}/{repo}/milestones/{milestone_number}/labels": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#list-labels-for-issues-in-a-milestone" + }, + "operationId": "issues/list-labels-for-milestone", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/milestone-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/label-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/label" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List labels for issues in a milestone", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "labels" + } + } + }, + "/repos/{owner}/{repo}/notifications": { + "get": { + "description": "Lists all notifications for the current user in the specified repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user" + }, + "operationId": "activity/list-repo-notifications-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/all" + }, + { + "$ref": "#/components/parameters/participating" + }, + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/before" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/thread-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/thread" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List repository notifications for the authenticated user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "notifications" + } + }, + "put": { + "description": "Marks all notifications in a repository as \"read\" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#mark-repository-notifications-as-read" + }, + "operationId": "activity/mark-repo-notifications-as-read", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "last_read_at": "2019-01-01T00:00:00Z" + } + } + }, + "schema": { + "properties": { + "last_read_at": { + "description": "Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp.", + "format": "date-time", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "202": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "message": "Unread notifications couldn't be marked in a single request. Notifications are being marked as read in the background." + } + } + }, + "schema": { + "properties": { + "message": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Response" + }, + "205": { + "description": "Reset Content" + } + }, + "summary": "Mark repository notifications as read", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "notifications" + } + } + }, + "/repos/{owner}/{repo}/pages": { + "delete": { + "description": "Deletes a GitHub Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nTo use this endpoint, you must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission. A token with the `repo` scope or Pages write permission is required. GitHub Apps must have the `administration:write` and `pages:write` permissions.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pages#delete-a-github-pages-site" + }, + "operationId": "repos/delete-pages-site", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Delete a GitHub Pages site", + "tags": [ + "repos" + ], + "x-github": { + "category": "pages", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pages#get-a-github-pages-site" + }, + "operationId": "repos/get-pages", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/page" + } + }, + "schema": { + "$ref": "#/components/schemas/page" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a GitHub Pages site", + "tags": [ + "repos" + ], + "x-github": { + "category": "pages", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + }, + "post": { + "description": "Configures a GitHub Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"\n\nTo use this endpoint, you must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission. A token with the `repo` scope or Pages write permission is required. GitHub Apps must have the `administration:write` and `pages:write` permissions.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pages#create-a-github-pages-site" + }, + "operationId": "repos/create-pages-site", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "source": { + "branch": "main", + "path": "/docs" + } + } + } + }, + "schema": { + "anyOf": [ + { + "required": [ + "source" + ] + }, + { + "required": [ + "build_type" + ] + } + ], + "description": "The source branch and directory used to publish your Pages site.", + "nullable": true, + "properties": { + "build_type": { + "description": "The process in which the Page will be built. Possible values are `\"legacy\"` and `\"workflow\"`.", + "enum": [ + "legacy", + "workflow" + ], + "type": "string" + }, + "source": { + "description": "The source branch and directory used to publish your Pages site.", + "properties": { + "branch": { + "description": "The repository branch used to publish your site's source files.", + "type": "string" + }, + "path": { + "default": "/", + "description": "The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/`", + "enum": [ + "/", + "/docs" + ], + "type": "string" + } + }, + "required": [ + "branch" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/page" + } + }, + "schema": { + "$ref": "#/components/schemas/page" + } + } + }, + "description": "Response" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a GitHub Pages site", + "tags": [ + "repos" + ], + "x-github": { + "category": "pages", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + }, + "put": { + "description": "Updates information for a GitHub Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nTo use this endpoint, you must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission. A token with the `repo` scope or Pages write permission is required. GitHub Apps must have the `administration:write` and `pages:write` permissions.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pages#update-information-about-a-github-pages-site" + }, + "operationId": "repos/update-information-about-pages-site", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "cname": "octocatblog.com", + "source": { + "branch": "main", + "path": "/" + } + } + } + }, + "schema": { + "anyOf": [ + { + "required": [ + "build_type" + ] + }, + { + "required": [ + "source" + ] + }, + { + "required": [ + "cname" + ] + }, + { + "required": [ + "public" + ] + }, + { + "required": [ + "https_enforced" + ] + } + ], + "properties": { + "build_type": { + "description": "The process by which the GitHub Pages site will be built. `workflow` means that the site is built by a custom GitHub Actions workflow. `legacy` means that the site is built by GitHub when changes are pushed to a specific branch.", + "enum": [ + "legacy", + "workflow" + ], + "type": "string" + }, + "cname": { + "description": "Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see \"[Using a custom domain with GitHub Pages](https://docs.github.com/articles/using-a-custom-domain-with-github-pages/).\"", + "nullable": true, + "type": "string" + }, + "https_enforced": { + "description": "Specify whether HTTPS should be enforced for the repository.", + "type": "boolean" + }, + "source": { + "anyOf": [ + { + "description": "Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory `/docs`. Possible values are `\"gh-pages\"`, `\"master\"`, and `\"master /docs\"`.", + "enum": [ + "gh-pages", + "master", + "master /docs" + ], + "type": "string" + }, + { + "description": "Update the source for the repository. Must include the branch name and path.", + "properties": { + "branch": { + "description": "The repository branch used to publish your site's source files.", + "type": "string" + }, + "path": { + "description": "The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`.", + "enum": [ + "/", + "/docs" + ], + "type": "string" + } + }, + "required": [ + "branch", + "path" + ], + "type": "object" + } + ] + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update information about a GitHub Pages site", + "tags": [ + "repos" + ], + "x-github": { + "category": "pages", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/pages/builds": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pages#list-github-pages-builds" + }, + "operationId": "repos/list-pages-builds", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/page-build-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/page-build" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List GitHub Pages builds", + "tags": [ + "repos" + ], + "x-github": { + "category": "pages", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + }, + "post": { + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pages#request-a-github-pages-build" + }, + "operationId": "repos/request-pages-build", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/page-build-status" + } + }, + "schema": { + "$ref": "#/components/schemas/page-build-status" + } + } + }, + "description": "Response" + } + }, + "summary": "Request a GitHub Pages build", + "tags": [ + "repos" + ], + "x-github": { + "category": "pages", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/pages/builds/latest": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pages#get-latest-pages-build" + }, + "operationId": "repos/get-latest-pages-build", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/page-build" + } + }, + "schema": { + "$ref": "#/components/schemas/page-build" + } + } + }, + "description": "Response" + } + }, + "summary": "Get latest Pages build", + "tags": [ + "repos" + ], + "x-github": { + "category": "pages", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/pages/builds/{build_id}": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pages#get-github-pages-build" + }, + "operationId": "repos/get-pages-build", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "in": "path", + "name": "build_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/page-build" + } + }, + "schema": { + "$ref": "#/components/schemas/page-build" + } + } + }, + "description": "Response" + } + }, + "summary": "Get GitHub Pages build", + "tags": [ + "repos" + ], + "x-github": { + "category": "pages", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/pages/deployment": { + "post": { + "description": "Create a GitHub Pages deployment for a repository.\n\nUsers must have write permissions. GitHub Apps must have the `pages:write` permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pages#create-a-github-pages-deployment" + }, + "operationId": "repos/create-pages-deployment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "artifact_url": "https://downloadcontent/", + "environment": "github-pages", + "oidc_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlV2R1h4SUhlY0JFc1JCdEttemUxUEhfUERiVSIsImtpZCI6IjUyRjE5N0M0ODFERTcwMTEyQzQ0MUI0QTlCMzdCNTNDN0ZDRjBEQjUifQ.eyJqdGkiOiJhMWIwNGNjNy0zNzZiLTQ1N2QtOTMzNS05NTY5YmVjZDExYTIiLCJzdWIiOiJyZXBvOnBhcGVyLXNwYS9taW55aTplbnZpcm9ubWVudDpQcm9kdWN0aW9uIiwiYXVkIjoiaHR0cHM6Ly9naXRodWIuY29tL3BhcGVyLXNwYSIsInJlZiI6InJlZnMvaGVhZHMvbWFpbiIsInNoYSI6ImEyODU1MWJmODdiZDk3NTFiMzdiMmM0YjM3M2MxZjU3NjFmYWM2MjYiLCJyZXBvc2l0b3J5IjoicGFwZXItc3BhL21pbnlpIiwicmVwb3NpdG9yeV9vd25lciI6InBhcGVyLXNwYSIsInJ1bl9pZCI6IjE1NDY0NTkzNjQiLCJydW5fbnVtYmVyIjoiMzQiLCJydW5fYXR0ZW1wdCI6IjYiLCJhY3RvciI6IllpTXlzdHkiLCJ3b3JrZmxvdyI6IkNJIiwiaGVhZF9yZWYiOiIiLCJiYXNlX3JlZiI6IiIsImV2ZW50X25hbWUiOiJwdXNoIiwicmVmX3R5cGUiOiJicmFuY2giLCJlbnZpcm9ubWVudCI6IlByb2R1Y3Rpb24iLCJqb2Jfd29ya2Zsb3dfcmVmIjoicGFwZXItc3BhL21pbnlpLy5naXRodWIvd29ya2Zsb3dzL2JsYW5rLnltbEByZWZzL2hlYWRzL21haW4iLCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwibmJmIjoxNjM5MDAwODU2LCJleHAiOjE2MzkwMDE3NTYsImlhdCI6MTYzOTAwMTQ1Nn0.VP8WictbQECKozE2SgvKb2FqJ9hisWsoMkYRTqfBrQfZTCXi5IcFEdgDMB2X7a99C2DeUuTvHh9RMKXLL2a0zg3-Sd7YrO7a2ll2kNlnvyIypcN6AeIc7BxHsTTnZN9Ud_xmEsTrSRGOEKmzCFkULQ6N4zlVD0sidypmXlMemmWEcv_ZHqhioEI_VMp5vwXQurketWH7qX4oDgG4okyYtPrv5RQHbfQcVo9izaPJ_jnsDd0CBA0QOx9InjPidtIkMYQLyUgJy33HLJy86EFNUnAf8UhBQuQi5mAsEpEzBBuKpG3PDiPtYCHOk64JZkZGd5mR888a5sbHRiaF8hm8YA", + "pages_build_version": "4fd754f7e594640989b406850d0bc8f06a121251", + "preview": false + } + } + }, + "schema": { + "description": "The object used to create GitHub Pages deployment", + "properties": { + "artifact_url": { + "description": "The URL of an artifact that contains the .zip or .tar of static assets to deploy. The artifact belongs to the repository.", + "type": "string" + }, + "environment": { + "default": "github-pages", + "description": "The target environment for this GitHub Pages deployment.", + "type": "string" + }, + "oidc_token": { + "description": "The OIDC token issued by GitHub Actions certifying the origin of the deployment.", + "type": "string" + }, + "pages_build_version": { + "default": "GITHUB_SHA", + "description": "A unique string that represents the version of the build for this deployment.", + "type": "string" + } + }, + "required": [ + "artifact_url", + "pages_build_version", + "oidc_token" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/page-deployment" + } + }, + "schema": { + "$ref": "#/components/schemas/page-deployment" + } + } + }, + "description": "Response" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a GitHub Pages deployment", + "tags": [ + "repos" + ], + "x-github": { + "category": "pages", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/pages/health": { + "get": { + "description": "Gets a health check of the DNS settings for the `CNAME` record configured for a repository's GitHub Pages.\n\nThe first request to this endpoint returns a `202 Accepted` status and starts an asynchronous background task to get the results for the domain. After the background task completes, subsequent requests to this endpoint return a `200 OK` status with the health check results in the response.\n\nTo use this endpoint, you must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission. A token with the `repo` scope or Pages write permission is required. GitHub Apps must have the `administrative:write` and `pages:write` permissions.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/pages#get-a-dns-health-check-for-github-pages" + }, + "operationId": "repos/get-pages-health-check", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pages-health-check" + } + }, + "schema": { + "$ref": "#/components/schemas/pages-health-check" + } + } + }, + "description": "Response" + }, + "202": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Empty response" + }, + "400": { + "description": "Custom domains are not available for GitHub Pages" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "There isn't a CNAME for this page" + } + }, + "summary": "Get a DNS health check for GitHub Pages", + "tags": [ + "repos" + ], + "x-github": { + "category": "pages", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/projects": { + "get": { + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#list-repository-projects" + }, + "operationId": "projects/list-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "Indicates the state of the projects to return.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "default": "open", + "enum": [ + "open", + "closed", + "all" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-items-2" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/project" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "List repository projects", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#create-a-repository-project" + }, + "operationId": "projects/create-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Developer documentation project for the developer site.", + "name": "Projects Documentation" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The description of the project.", + "type": "string" + }, + "name": { + "description": "The name of the project.", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-3" + } + }, + "schema": { + "$ref": "#/components/schemas/project" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Create a repository project", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/pulls": { + "get": { + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#list-pull-requests" + }, + "operationId": "pulls/list", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "Either `open`, `closed`, or `all` to filter by state.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "default": "open", + "enum": [ + "open", + "closed", + "all" + ], + "type": "string" + } + }, + { + "description": "Filter pulls by head user or head organization and branch name in the format of `user:ref-name` or `organization:ref-name`. For example: `github:new-script-format` or `octocat:test-branch`.", + "in": "query", + "name": "head", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "Filter pulls by base branch name. Example: `gh-pages`.", + "in": "query", + "name": "base", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "What to sort results by. `popularity` will sort by the number of comments. `long-running` will sort by date created and will limit the results to pull requests that have been open for more than a month and have had activity within the past month.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "created", + "enum": [ + "created", + "updated", + "popularity", + "long-running" + ], + "type": "string" + } + }, + { + "description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.", + "in": "query", + "name": "direction", + "required": false, + "schema": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-simple-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/pull-request-simple" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List pull requests", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#create-a-pull-request" + }, + "operationId": "pulls/create", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "base": "master", + "body": "Please pull these awesome changes in!", + "head": "octocat:new-feature", + "title": "Amazing new feature" + } + } + }, + "schema": { + "properties": { + "base": { + "description": "The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository.", + "type": "string" + }, + "body": { + "description": "The contents of the pull request.", + "type": "string" + }, + "draft": { + "description": "Indicates whether the pull request is a draft. See \"[Draft Pull Requests](https://docs.github.com/articles/about-pull-requests#draft-pull-requests)\" in the GitHub Help documentation to learn more.", + "type": "boolean" + }, + "head": { + "description": "The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`.", + "type": "string" + }, + "head_repo": { + "description": "The name of the repository where the changes in the pull request were made. This field is required for cross-repository pull requests if both repositories are owned by the same organization.", + "example": "octo-org/octo-repo", + "format": "repo.nwo", + "type": "string" + }, + "issue": { + "description": "An issue in the repository to convert to a pull request. The issue title, body, and comments will become the title, body, and comments on the new pull request. Required unless `title` is specified.", + "example": 1, + "type": "integer" + }, + "maintainer_can_modify": { + "description": "Indicates whether [maintainers can modify](https://docs.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request.", + "type": "boolean" + }, + "title": { + "description": "The title of the new pull request. Required unless `issue` is specified.", + "type": "string" + } + }, + "required": [ + "head", + "base" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null, + "triggersNotification": true + } + } + }, + "/repos/{owner}/{repo}/pulls/comments": { + "get": { + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#list-review-comments-in-a-repository" + }, + "operationId": "pulls/list-review-comments-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "in": "query", + "name": "sort", + "required": false, + "schema": { + "enum": [ + "created", + "updated", + "created_at" + ], + "type": "string" + } + }, + { + "description": "The direction to sort results. Ignored without `sort` parameter.", + "in": "query", + "name": "direction", + "required": false, + "schema": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-review-comment-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/pull-request-review-comment" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List review comments in a repository", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + } + }, + "/repos/{owner}/{repo}/pulls/comments/{comment_id}": { + "delete": { + "description": "Deletes a review comment.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#delete-a-review-comment-for-a-pull-request" + }, + "operationId": "pulls/delete-review-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a review comment for a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + }, + "get": { + "description": "Provides details for a review comment.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#get-a-review-comment-for-a-pull-request" + }, + "operationId": "pulls/get-review-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-review-comment-2" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request-review-comment" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a review comment for a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + }, + "patch": { + "description": "Enables you to edit a review comment.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#update-a-review-comment-for-a-pull-request" + }, + "operationId": "pulls/update-review-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "I like this too!" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The text of the reply to the review comment.", + "type": "string" + } + }, + "required": [ + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-review-comment-2" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request-review-comment" + } + } + }, + "description": "Response" + } + }, + "summary": "Update a review comment for a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + } + }, + "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions": { + "get": { + "description": "List the reactions to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment" + }, + "operationId": "reactions/list-for-pull-request-review-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + }, + { + "description": "Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to a pull request review comment.", + "in": "query", + "name": "content", + "required": false, + "schema": { + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/reaction" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List reactions for a pull request review comment", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment" + }, + "operationId": "reactions/create-for-pull-request-review-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "content": "heart" + } + } + }, + "schema": { + "properties": { + "content": { + "description": "The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the pull request review comment.", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + "required": [ + "content" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Reaction exists" + }, + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Reaction created" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create reaction for a pull request review comment", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}": { + "delete": { + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions#delete-a-pull-request-comment-reaction" + }, + "operationId": "reactions/delete-for-pull-request-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/comment-id" + }, + { + "$ref": "#/components/parameters/reaction-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a pull request comment reaction", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}": { + "get": { + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/rest/reference/pulls#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#get-a-pull-request" + }, + "operationId": "pulls/get", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request" + } + } + }, + "description": "Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats." + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Get a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "patch": { + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls/#update-a-pull-request" + }, + "operationId": "pulls/update", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "base": "master", + "body": "updated body", + "state": "open", + "title": "new title" + } + } + }, + "schema": { + "properties": { + "base": { + "description": "The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository.", + "type": "string" + }, + "body": { + "description": "The contents of the pull request.", + "type": "string" + }, + "maintainer_can_modify": { + "description": "Indicates whether [maintainers can modify](https://docs.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request.", + "type": "boolean" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/codespaces": { + "post": { + "description": "Creates a codespace owned by the authenticated user for the specified pull request.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#create-a-codespace-from-a-pull-request" + }, + "operationId": "codespaces/create-with-pr-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "ref": "main", + "repository_id": 1 + } + } + }, + "schema": { + "nullable": true, + "properties": { + "client_ip": { + "description": "IP for location auto-detection when proxying a request", + "type": "string" + }, + "devcontainer_path": { + "description": "Path to devcontainer.json config to use for this codespace", + "type": "string" + }, + "display_name": { + "description": "Display name for this codespace", + "type": "string" + }, + "idle_timeout_minutes": { + "description": "Time in minutes before codespace stops from inactivity", + "type": "integer" + }, + "location": { + "description": "Location for this codespace. Assigned by IP if not provided", + "type": "string" + }, + "machine": { + "description": "Machine type to use for this codespace", + "type": "string" + }, + "multi_repo_permissions_opt_out": { + "description": "Whether to authorize requested permissions from devcontainer.json", + "type": "boolean" + }, + "retention_period_minutes": { + "description": "Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days).", + "type": "integer" + }, + "working_directory": { + "description": "Working directory for this codespace", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespace" + } + }, + "schema": { + "$ref": "#/components/schemas/codespace" + } + } + }, + "description": "Response when the codespace was successfully created" + }, + "202": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespace" + } + }, + "schema": { + "$ref": "#/components/schemas/codespace" + } + } + }, + "description": "Response when the codespace creation partially failed but is being retried in the background" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Create a codespace from a pull request", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/comments": { + "get": { + "description": "Lists all review comments for a pull request. By default, review comments are in ascending order by ID.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#list-review-comments-on-a-pull-request" + }, + "operationId": "pulls/list-review-comments", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/sort" + }, + { + "description": "The direction to sort results. Ignored without `sort` parameter.", + "in": "query", + "name": "direction", + "required": false, + "schema": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-review-comment-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/pull-request-review-comment" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List review comments on a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments" + } + }, + "post": { + "description": "\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/rest/reference/issues#create-an-issue-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nThe `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request" + }, + "operationId": "pulls/create-review-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "example-for-a-multi-line-comment": { + "summary": "Example for a multi-line comment", + "value": { + "body": "Great stuff!", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "line": 2, + "path": "file1.txt", + "side": "RIGHT", + "start_line": 1, + "start_side": "RIGHT" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The text of the review comment.", + "type": "string" + }, + "commit_id": { + "description": "The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`.", + "type": "string" + }, + "in_reply_to": { + "description": "The ID of the review comment to reply to. To find the ID of a review comment with [\"List review comments on a pull request\"](#list-review-comments-on-a-pull-request). When specified, all parameters other than `body` in the request body are ignored.", + "example": 2, + "type": "integer" + }, + "line": { + "description": "The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to.", + "type": "integer" + }, + "path": { + "description": "The relative path to the file that necessitates a comment.", + "type": "string" + }, + "position": { + "deprecated": true, + "description": "**This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.", + "type": "integer", + "x-github": { + "deprecationDate": "2022-11-01" + } + }, + "side": { + "description": "In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"[Diff view options](https://docs.github.com/articles/about-comparing-branches-in-pull-requests#diff-view-options)\" in the GitHub Help documentation.", + "enum": [ + "LEFT", + "RIGHT" + ], + "type": "string" + }, + "start_line": { + "description": "**Required when using multi-line comments unless using `in_reply_to`**. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation.", + "type": "integer" + }, + "start_side": { + "description": "**Required when using multi-line comments unless using `in_reply_to`**. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation. See `side` in this table for additional context.", + "enum": [ + "LEFT", + "RIGHT", + "side" + ], + "type": "string" + } + }, + "required": [ + "body", + "commit_id", + "path", + "line" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "example-for-a-multi-line-comment": { + "$ref": "#/components/examples/pull-request-review-comment-example-for-a-multi-line-comment" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request-review-comment" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a review comment for a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "comments", + "triggersNotification": true + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies": { + "post": { + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#create-a-reply-for-a-review-comment" + }, + "operationId": "pulls/create-reply-for-review-comment", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/comment-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Great stuff!" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The text of the review comment.", + "type": "string" + } + }, + "required": [ + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-review-comment" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request-review-comment" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Create a reply for a review comment", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "comments", + "triggersNotification": true + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/commits": { + "get": { + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/rest/reference/repos#list-commits) endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#list-commits-on-a-pull-request" + }, + "operationId": "pulls/list-commits", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/commit-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/commit" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List commits on a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/files": { + "get": { + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#list-pull-requests-files" + }, + "operationId": "pulls/list-files", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/diff-entry-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/diff-entry" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "List pull requests files", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/merge": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#check-if-a-pull-request-has-been-merged" + }, + "operationId": "pulls/check-if-merged", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "responses": { + "204": { + "description": "Response if pull request has been merged" + }, + "404": { + "description": "Not Found if pull request has not been merged" + } + }, + "summary": "Check if a pull request has been merged", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "put": { + "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#merge-a-pull-request" + }, + "operationId": "pulls/merge", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "response-if-merge-was-successful": { + "value": { + "commit_message": "Add a new value to the merge_method enum", + "commit_title": "Expand enum" + } + } + }, + "schema": { + "nullable": true, + "properties": { + "commit_message": { + "description": "Extra detail to append to automatic commit message.", + "type": "string" + }, + "commit_title": { + "description": "Title for the automatic commit message.", + "type": "string" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + }, + "sha": { + "description": "SHA that pull request head must match to allow merge.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response-if-merge-was-successful": { + "$ref": "#/components/examples/pull-request-merge-result-response-if-merge-was-successful" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request-merge-result" + } + } + }, + "description": "if merge was successful" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "405": { + "content": { + "application/json": { + "examples": { + "response-if-merge-cannot-be-performed": { + "value": { + "message": "Pull Request is not mergeable" + } + } + }, + "schema": { + "properties": { + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Method Not Allowed if merge cannot be performed" + }, + "409": { + "content": { + "application/json": { + "examples": { + "response-if-sha-was-provided-and-pull-request-head-did-not-match": { + "value": { + "message": "Head branch was modified. Review and try the merge again." + } + } + }, + "schema": { + "properties": { + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Conflict if sha was provided and pull request head did not match" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Merge a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null, + "triggersNotification": true + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request" + }, + "operationId": "pulls/remove-requested-reviewers", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "reviewers": [ + "octocat", + "hubot", + "other_user" + ], + "team_reviewers": [ + "justice-league" + ] + } + } + }, + "schema": { + "properties": { + "reviewers": { + "description": "An array of user `login`s that will be removed.", + "items": { + "type": "string" + }, + "type": "array" + }, + "team_reviewers": { + "description": "An array of team `slug`s that will be removed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "reviewers" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-simple" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request-simple" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Remove requested reviewers from a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "review-requests" + } + }, + "get": { + "description": "Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request) operation.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#get-all-requested-reviewers-for-a-pull-request" + }, + "operationId": "pulls/list-requested-reviewers", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-pull-request-review-request" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request-review-request" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "Get all requested reviewers for a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "review-requests" + } + }, + "post": { + "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request" + }, + "operationId": "pulls/request-reviewers", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "reviewers": [ + "octocat", + "hubot", + "other_user" + ], + "team_reviewers": [ + "justice-league" + ] + } + } + }, + "schema": { + "anyOf": [ + { + "required": [ + "reviewers" + ] + }, + { + "required": [ + "team_reviewers" + ] + } + ], + "properties": { + "reviewers": { + "description": "An array of user `login`s that will be requested.", + "items": { + "type": "string" + }, + "type": "array" + }, + "team_reviewers": { + "description": "An array of team `slug`s that will be requested.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-review-request" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request-simple" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "description": "Unprocessable Entity if user is not a collaborator" + } + }, + "summary": "Request reviewers for a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "review-requests", + "triggersNotification": true + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews": { + "get": { + "description": "The list of reviews returns in chronological order.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#list-reviews-for-a-pull-request" + }, + "operationId": "pulls/list-reviews", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-review-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/pull-request-review" + }, + "type": "array" + } + } + }, + "description": "The list of reviews returns in chronological order.", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List reviews for a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "reviews" + } + }, + "post": { + "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.\n\nPull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see \"[Submit a review for a pull request](https://docs.github.com/rest/pulls#submit-a-review-for-a-pull-request).\"\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API offers the `application/vnd.github.v3.diff` [media type](https://docs.github.com/rest/overview/media-types#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://docs.github.com/rest/reference/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#create-a-review-for-a-pull-request" + }, + "operationId": "pulls/create-review", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "This is close to perfect! Please address the suggested inline change.", + "comments": [ + { + "body": "Please add more information here, and fix this typo.", + "path": "file.md", + "position": 6 + } + ], + "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091", + "event": "REQUEST_CHANGES" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "**Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review.", + "type": "string" + }, + "comments": { + "description": "Use the following table to specify the location, destination, and contents of the draft review comment.", + "items": { + "properties": { + "body": { + "description": "Text of the review comment.", + "type": "string" + }, + "line": { + "example": 28, + "type": "integer" + }, + "path": { + "description": "The relative path to the file that necessitates a review comment.", + "type": "string" + }, + "position": { + "description": "The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note below.", + "type": "integer" + }, + "side": { + "example": "RIGHT", + "type": "string" + }, + "start_line": { + "example": 26, + "type": "integer" + }, + "start_side": { + "example": "LEFT", + "type": "string" + } + }, + "required": [ + "path", + "body" + ], + "type": "object" + }, + "type": "array" + }, + "commit_id": { + "description": "The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value.", + "type": "string" + }, + "event": { + "description": "The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://docs.github.com/rest/pulls#submit-a-review-for-a-pull-request) when you are ready.", + "enum": [ + "APPROVE", + "REQUEST_CHANGES", + "COMMENT" + ], + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-review" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request-review" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Create a review for a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "reviews", + "triggersNotification": true + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#delete-a-pending-review-for-a-pull-request" + }, + "operationId": "pulls/delete-pending-review", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/review-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-review" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request-review" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Delete a pending review for a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "reviews" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#get-a-review-for-a-pull-request" + }, + "operationId": "pulls/get-review", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/review-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-review-4" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request-review" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a review for a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "reviews" + } + }, + "put": { + "description": "Update the review summary comment with new text.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#update-a-review-for-a-pull-request" + }, + "operationId": "pulls/update-review", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/review-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "This is close to perfect! Please address the suggested inline change. And add more about this." + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The body text of the pull request review.", + "type": "string" + } + }, + "required": [ + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-review-5" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request-review" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Update a review for a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "reviews" + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments": { + "get": { + "description": "List comments for a specific pull request review.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#list-comments-for-a-pull-request-review" + }, + "operationId": "pulls/list-comments-for-review", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/review-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/review-comment-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/review-comment" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List comments for a pull request review", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "reviews" + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals": { + "put": { + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#dismiss-a-review-for-a-pull-request" + }, + "operationId": "pulls/dismiss-review", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/review-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "event": "DISMISS", + "message": "You are dismissed" + } + } + }, + "schema": { + "properties": { + "event": { + "enum": [ + "DISMISS" + ], + "example": "\"DISMISS\"", + "type": "string" + }, + "message": { + "description": "The message for the pull request review dismissal", + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-review-3" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request-review" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Dismiss a review for a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "reviews" + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events": { + "post": { + "description": "Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see \"[Create a review for a pull request](https://docs.github.com/rest/pulls#create-a-review-for-a-pull-request).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#submit-a-review-for-a-pull-request" + }, + "operationId": "pulls/submit-review", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/review-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Here is the body for the review.", + "event": "REQUEST_CHANGES" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The body text of the pull request review", + "type": "string" + }, + "event": { + "description": "The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action.", + "enum": [ + "APPROVE", + "REQUEST_CHANGES", + "COMMENT" + ], + "type": "string" + } + }, + "required": [ + "event" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-review-4" + } + }, + "schema": { + "$ref": "#/components/schemas/pull-request-review" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Submit a review for a pull request", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "reviews" + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch": { + "put": { + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/pulls#update-a-pull-request-branch" + }, + "operationId": "pulls/update-branch", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + } + }, + "schema": { + "nullable": true, + "properties": { + "expected_head_sha": { + "description": "The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the \"[List commits](https://docs.github.com/rest/reference/repos#list-commits)\" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "202": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "message": "Updating pull request branch.", + "url": "https://github.com/repos/octocat/Hello-World/pulls/53" + } + } + }, + "schema": { + "properties": { + "message": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update a pull request branch", + "tags": [ + "pulls" + ], + "x-github": { + "category": "pulls", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/readme": { + "get": { + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#get-a-repository-readme" + }, + "operationId": "repos/get-readme", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "name": "ref", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/content-file" + } + }, + "schema": { + "$ref": "#/components/schemas/content-file" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Get a repository README", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "contents" + } + } + }, + "/repos/{owner}/{repo}/readme/{dir}": { + "get": { + "description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#get-a-repository-directory-readme" + }, + "operationId": "repos/get-readme-in-directory", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "The alternate path to look for a README file", + "in": "path", + "name": "dir", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", + "in": "query", + "name": "ref", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/content-file" + } + }, + "schema": { + "$ref": "#/components/schemas/content-file" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Get a repository README for a directory", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "contents" + } + } + }, + "/repos/{owner}/{repo}/releases": { + "get": { + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/rest/reference/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#list-releases" + }, + "operationId": "repos/list-releases", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/release-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/release" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List releases", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "releases" + } + }, + "post": { + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/releases/releases#create-a-release" + }, + "operationId": "repos/create-release", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Description of the release", + "draft": false, + "generate_release_notes": false, + "name": "v1.0.0", + "prerelease": false, + "tag_name": "v1.0.0", + "target_commitish": "master" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "Text describing the contents of the tag.", + "type": "string" + }, + "discussion_category_name": { + "description": "If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see \"[Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository).\"", + "type": "string" + }, + "draft": { + "default": false, + "description": "`true` to create a draft (unpublished) release, `false` to create a published one.", + "type": "boolean" + }, + "generate_release_notes": { + "default": false, + "description": "Whether to automatically generate the name and body for this release. If `name` is specified, the specified name will be used; otherwise, a name will be automatically generated. If `body` is specified, the body will be pre-pended to the automatically generated notes.", + "type": "boolean" + }, + "make_latest": { + "default": true, + "description": "Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.", + "enum": [ + "true", + "false", + "legacy" + ], + "type": "string" + }, + "name": { + "description": "The name of the release.", + "type": "string" + }, + "prerelease": { + "default": false, + "description": "`true` to identify the release as a prerelease. `false` to identify the release as a full release.", + "type": "boolean" + }, + "tag_name": { + "description": "The name of the tag.", + "type": "string" + }, + "target_commitish": { + "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually `master`).", + "type": "string" + } + }, + "required": [ + "tag_name" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/release" + } + }, + "schema": { + "$ref": "#/components/schemas/release" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/releases/1", + "schema": { + "type": "string" + } + } + } + }, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Not Found if the discussion category name is invalid" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a release", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "releases", + "triggersNotification": true + } + } + }, + "/repos/{owner}/{repo}/releases/assets/{asset_id}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#delete-a-release-asset" + }, + "operationId": "repos/delete-release-asset", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/asset-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a release asset", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "releases" + } + }, + "get": { + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#get-a-release-asset" + }, + "operationId": "repos/get-release-asset", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/asset-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/release-asset" + } + }, + "schema": { + "$ref": "#/components/schemas/release-asset" + } + } + }, + "description": "Response" + }, + "302": { + "$ref": "#/components/responses/found" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a release asset", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "releases" + } + }, + "patch": { + "description": "Users with push access to the repository can edit a release asset.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#update-a-release-asset" + }, + "operationId": "repos/update-release-asset", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/asset-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "label": "Mac binary", + "name": "foo-1.0.0-osx.zip" + } + } + }, + "schema": { + "properties": { + "label": { + "description": "An alternate short description of the asset. Used in place of the filename.", + "type": "string" + }, + "name": { + "description": "The file name of the asset.", + "type": "string" + }, + "state": { + "example": "\"uploaded\"", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/release-asset" + } + }, + "schema": { + "$ref": "#/components/schemas/release-asset" + } + } + }, + "description": "Response" + } + }, + "summary": "Update a release asset", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "releases" + } + } + }, + "/repos/{owner}/{repo}/releases/generate-notes": { + "post": { + "description": "Generate a name and body describing a [release](https://docs.github.com/rest/reference/repos#releases). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#generate-release-notes" + }, + "operationId": "repos/generate-release-notes", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "configuration_file_path": ".github/custom_release_config.yml", + "previous_tag_name": "v0.9.2", + "tag_name": "v1.0.0", + "target_commitish": "main" + } + } + }, + "schema": { + "properties": { + "configuration_file_path": { + "description": "Specifies a path to a file in the repository containing configuration settings used for generating the release notes. If unspecified, the configuration file located in the repository at '.github/release.yml' or '.github/release.yaml' will be used. If that is not present, the default configuration will be used.", + "type": "string" + }, + "previous_tag_name": { + "description": "The name of the previous tag to use as the starting point for the release notes. Use to manually specify the range for the set of changes considered as part this release.", + "type": "string" + }, + "tag_name": { + "description": "The tag name for the release. This can be an existing tag or a new one.", + "type": "string" + }, + "target_commitish": { + "description": "Specifies the commitish value that will be the target for the release's tag. Required if the supplied tag_name does not reference an existing tag. Ignored if the tag_name already exists.", + "type": "string" + } + }, + "required": [ + "tag_name" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/release-notes-content" + } + }, + "schema": { + "$ref": "#/components/schemas/release-notes-content" + } + } + }, + "description": "Name and body of generated release notes" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Generate release notes content for a release", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "releases" + } + } + }, + "/repos/{owner}/{repo}/releases/latest": { + "get": { + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#get-the-latest-release" + }, + "operationId": "repos/get-latest-release", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/release" + } + }, + "schema": { + "$ref": "#/components/schemas/release" + } + } + }, + "description": "Response" + } + }, + "summary": "Get the latest release", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "releases" + } + } + }, + "/repos/{owner}/{repo}/releases/tags/{tag}": { + "get": { + "description": "Get a published release with the specified tag.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#get-a-release-by-tag-name" + }, + "operationId": "repos/get-release-by-tag", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "description": "tag parameter", + "in": "path", + "name": "tag", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/release" + } + }, + "schema": { + "$ref": "#/components/schemas/release" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a release by tag name", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "releases" + } + } + }, + "/repos/{owner}/{repo}/releases/{release_id}": { + "delete": { + "description": "Users with push access to the repository can delete a release.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#delete-a-release" + }, + "operationId": "repos/delete-release", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/release-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a release", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "releases" + } + }, + "get": { + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#get-a-release" + }, + "operationId": "repos/get-release", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/release-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/release" + } + }, + "schema": { + "$ref": "#/components/schemas/release" + } + } + }, + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia)." + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a release", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "releases" + } + }, + "patch": { + "description": "Users with push access to the repository can edit a release.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#update-a-release" + }, + "operationId": "repos/update-release", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/release-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Description of the release", + "draft": false, + "name": "v1.0.0", + "prerelease": false, + "tag_name": "v1.0.0", + "target_commitish": "master" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "Text describing the contents of the tag.", + "type": "string" + }, + "discussion_category_name": { + "description": "If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. If there is already a discussion linked to the release, this parameter is ignored. For more information, see \"[Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository).\"", + "type": "string" + }, + "draft": { + "description": "`true` makes the release a draft, and `false` publishes the release.", + "type": "boolean" + }, + "make_latest": { + "default": true, + "description": "Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.", + "enum": [ + "true", + "false", + "legacy" + ], + "type": "string" + }, + "name": { + "description": "The name of the release.", + "type": "string" + }, + "prerelease": { + "description": "`true` to identify the release as a prerelease, `false` to identify the release as a full release.", + "type": "boolean" + }, + "tag_name": { + "description": "The name of the tag.", + "type": "string" + }, + "target_commitish": { + "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually `master`).", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/release" + } + }, + "schema": { + "$ref": "#/components/schemas/release" + } + } + }, + "description": "Response" + }, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Not Found if the discussion category name is invalid" + } + }, + "summary": "Update a release", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "releases" + } + } + }, + "/repos/{owner}/{repo}/releases/{release_id}/assets": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#list-release-assets" + }, + "operationId": "repos/list-release-assets", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/release-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/release-asset-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/release-asset" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List release assets", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "releases" + } + }, + "post": { + "description": "This endpoint makes use of [a Hypermedia relation](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/rest/releases/releases#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://docs.github.com/rest/reference/repos#list-assets-for-a-release)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* To find the `release_id` query the [`GET /repos/{owner}/{repo}/releases/latest` endpoint](https://docs.github.com/rest/releases/releases#get-the-latest-release). \n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#upload-a-release-asset" + }, + "operationId": "repos/upload-release-asset", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/release-id" + }, + { + "in": "query", + "name": "name", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "label", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/octet-stream": { + "examples": { + "default": { + "value": "@example.zip" + } + }, + "schema": { + "description": "The raw file data", + "format": "binary", + "type": "string" + } + } + }, + "required": false + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "response-for-successful-upload": { + "$ref": "#/components/examples/release-asset-response-for-successful-upload" + } + }, + "schema": { + "$ref": "#/components/schemas/release-asset" + } + } + }, + "description": "Response for successful upload" + }, + "422": { + "description": "Response if you upload an asset with the same filename as another uploaded asset" + } + }, + "servers": [ + { + "description": "The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the \"Create a release\" endpoint", + "url": "https://uploads.github.com" + } + ], + "summary": "Upload a release asset", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "releases" + } + } + }, + "/repos/{owner}/{repo}/releases/{release_id}/reactions": { + "get": { + "description": "List the reactions to a [release](https://docs.github.com/rest/reference/repos#releases).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-release" + }, + "operationId": "reactions/list-for-release", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/release-id" + }, + { + "description": "Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to a release.", + "in": "query", + "name": "content", + "required": false, + "schema": { + "enum": [ + "+1", + "laugh", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/reaction" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List reactions for a release", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Create a reaction to a [release](https://docs.github.com/rest/reference/repos#releases). A response with a `Status: 200 OK` means that you already added the reaction type to this release.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-release" + }, + "operationId": "reactions/create-for-release", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/release-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "content": "heart" + } + } + }, + "schema": { + "properties": { + "content": { + "description": "The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the release.", + "enum": [ + "+1", + "laugh", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + "required": [ + "content" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Reaction exists" + }, + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Reaction created" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create reaction for a release", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}": { + "delete": { + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.\n\nDelete a reaction to a [release](https://docs.github.com/rest/reference/repos#releases).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions/#delete-a-release-reaction" + }, + "operationId": "reactions/delete-for-release", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/release-id" + }, + { + "$ref": "#/components/parameters/reaction-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a release reaction", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/secret-scanning/alerts": { + "get": { + "description": "Lists secret scanning alerts for an eligible repository, from newest to oldest.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository" + }, + "operationId": "secret-scanning/list-alerts-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-state" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-secret-type" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-resolution" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-sort" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/secret-scanning-pagination-before-org-repo" + }, + { + "$ref": "#/components/parameters/secret-scanning-pagination-after-org-repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-alert-list" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/secret-scanning-alert" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "404": { + "description": "Repository is public or secret scanning is disabled for the repository" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "List secret scanning alerts for a repository", + "tags": [ + "secret-scanning" + ], + "x-github": { + "category": "secret-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}": { + "get": { + "description": "Gets a single secret scanning alert detected in an eligible repository.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/secret-scanning#get-a-secret-scanning-alert" + }, + "operationId": "secret-scanning/get-alert", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/alert-number" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-alert-open" + } + }, + "schema": { + "$ref": "#/components/schemas/secret-scanning-alert" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "404": { + "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Get a secret scanning alert", + "tags": [ + "secret-scanning" + ], + "x-github": { + "category": "secret-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "patch": { + "description": "Updates the status of a secret scanning alert in an eligible repository.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` write permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/secret-scanning#update-a-secret-scanning-alert" + }, + "operationId": "secret-scanning/update-alert", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/alert-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "resolution": "false_positive", + "state": "resolved" + } + } + }, + "schema": { + "properties": { + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolution_comment": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution-comment" + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + } + }, + "required": [ + "state" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-alert-resolved" + } + }, + "schema": { + "$ref": "#/components/schemas/secret-scanning-alert" + } + } + }, + "description": "Response" + }, + "400": { + "description": "Bad request, resolution comment is invalid or the resolution was not changed." + }, + "404": { + "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" + }, + "422": { + "description": "State does not match the resolution or resolution comment" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Update a secret scanning alert", + "tags": [ + "secret-scanning" + ], + "x-github": { + "category": "secret-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + }, + "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations": { + "get": { + "description": "Lists all locations for a given secret scanning alert for an eligible repository.\nTo use this endpoint, you must be an administrator for the repository or for the organization that owns the repository, and you must use a personal access token with the `repo` scope or `security_events` scope.\nFor public repositories, you may instead use the `public_repo` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/secret-scanning#list-locations-for-a-secret-scanning-alert" + }, + "operationId": "secret-scanning/list-locations-for-alert", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/alert-number" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-location-list" + } + }, + "schema": { + "description": "List of locations where the secret was detected", + "items": { + "$ref": "#/components/schemas/secret-scanning-location" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "List locations for a secret scanning alert", + "tags": [ + "secret-scanning" + ], + "x-github": { + "category": "secret-scanning", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/stargazers": { + "get": { + "description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-stargazers" + }, + "operationId": "activity/list-stargazers-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "alternative-response-with-star-creation-timestamps": { + "$ref": "#/components/examples/stargazer-items-alternative-response-with-star-creation-timestamps" + }, + "default-response": { + "$ref": "#/components/examples/simple-user-items-default-response" + } + }, + "schema": { + "anyOf": [ + { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + }, + { + "items": { + "$ref": "#/components/schemas/stargazer" + }, + "type": "array" + } + ] + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List stargazers", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "starring" + } + } + }, + "/repos/{owner}/{repo}/stats/code_frequency": { + "get": { + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity" + }, + "operationId": "repos/get-code-frequency-stats", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-frequency-stat-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/code-frequency-stat" + }, + "type": "array" + } + } + }, + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository." + }, + "202": { + "$ref": "#/components/responses/accepted" + }, + "204": { + "$ref": "#/components/responses/no_content" + } + }, + "summary": "Get the weekly commit activity", + "tags": [ + "repos" + ], + "x-github": { + "category": "metrics", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "statistics" + } + } + }, + "/repos/{owner}/{repo}/stats/commit_activity": { + "get": { + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity" + }, + "operationId": "repos/get-commit-activity-stats", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/commit-activity-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/commit-activity" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "202": { + "$ref": "#/components/responses/accepted" + }, + "204": { + "$ref": "#/components/responses/no_content" + } + }, + "summary": "Get the last year of commit activity", + "tags": [ + "repos" + ], + "x-github": { + "category": "metrics", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "statistics" + } + } + }, + "/repos/{owner}/{repo}/stats/contributors": { + "get": { + "description": "\nReturns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity" + }, + "operationId": "repos/get-contributors-stats", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/contributor-activity-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/contributor-activity" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "202": { + "$ref": "#/components/responses/accepted" + }, + "204": { + "$ref": "#/components/responses/no_content" + } + }, + "summary": "Get all contributor commit activity", + "tags": [ + "repos" + ], + "x-github": { + "category": "metrics", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "statistics" + } + } + }, + "/repos/{owner}/{repo}/stats/participation": { + "get": { + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count" + }, + "operationId": "repos/get-participation-stats", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/participation-stats" + } + }, + "schema": { + "$ref": "#/components/schemas/participation-stats" + } + } + }, + "description": "The array order is oldest week (index 0) to most recent week." + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get the weekly commit count", + "tags": [ + "repos" + ], + "x-github": { + "category": "metrics", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "statistics" + } + } + }, + "/repos/{owner}/{repo}/stats/punch_card": { + "get": { + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day" + }, + "operationId": "repos/get-punch-card-stats", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-frequency-stat-items-2" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/code-frequency-stat" + }, + "type": "array" + } + } + }, + "description": "For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits." + }, + "204": { + "$ref": "#/components/responses/no_content" + } + }, + "summary": "Get the hourly commit count for each day", + "tags": [ + "repos" + ], + "x-github": { + "category": "metrics", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "statistics" + } + } + }, + "/repos/{owner}/{repo}/statuses/{sha}": { + "post": { + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/commits/statuses#create-a-commit-status" + }, + "operationId": "repos/create-commit-status", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "in": "path", + "name": "sha", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "context": "continuous-integration/jenkins", + "description": "The build succeeded!", + "state": "success", + "target_url": "https://example.com/build/status" + } + } + }, + "schema": { + "properties": { + "context": { + "default": "default", + "description": "A string label to differentiate this status from the status of other systems. This field is case-insensitive.", + "type": "string" + }, + "description": { + "description": "A short description of the status.", + "nullable": true, + "type": "string" + }, + "state": { + "description": "The state of the status.", + "enum": [ + "error", + "failure", + "pending", + "success" + ], + "type": "string" + }, + "target_url": { + "description": "The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status. \nFor example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA: \n`http://ci.example.com/user/repo/build/sha`", + "nullable": true, + "type": "string" + } + }, + "required": [ + "state" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/status" + } + }, + "schema": { + "$ref": "#/components/schemas/status" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + } + } + }, + "summary": "Create a commit status", + "tags": [ + "repos" + ], + "x-github": { + "category": "commits", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "statuses" + } + } + }, + "/repos/{owner}/{repo}/subscribers": { + "get": { + "description": "Lists the people watching the specified repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-watchers" + }, + "operationId": "activity/list-watchers-for-repo", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List watchers", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "watching" + } + } + }, + "/repos/{owner}/{repo}/subscription": { + "delete": { + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/rest/reference/activity#set-a-repository-subscription).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#delete-a-repository-subscription" + }, + "operationId": "activity/delete-repo-subscription", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a repository subscription", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "watching" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#get-a-repository-subscription" + }, + "operationId": "activity/get-repo-subscription", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response-if-you-subscribe-to-the-repository": { + "$ref": "#/components/examples/repository-subscription-response-if-you-subscribe-to-the-repository" + } + }, + "schema": { + "$ref": "#/components/schemas/repository-subscription" + } + } + }, + "description": "if you subscribe to the repository" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "description": "Not Found if you don't subscribe to the repository" + } + }, + "summary": "Get a repository subscription", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "watching" + } + }, + "put": { + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/rest/reference/activity#delete-a-repository-subscription) completely.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#set-a-repository-subscription" + }, + "operationId": "activity/set-repo-subscription", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "ignored": false, + "subscribed": true + } + } + }, + "schema": { + "properties": { + "ignored": { + "description": "Determines if all notifications should be blocked from this repository.", + "type": "boolean" + }, + "subscribed": { + "description": "Determines if notifications should be received from this repository.", + "type": "boolean" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repository-subscription" + } + }, + "schema": { + "$ref": "#/components/schemas/repository-subscription" + } + } + }, + "description": "Response" + } + }, + "summary": "Set a repository subscription", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "watching" + } + } + }, + "/repos/{owner}/{repo}/tags": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#list-repository-tags" + }, + "operationId": "repos/list-tags", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/tag-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/tag" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List repository tags", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/tags/protection": { + "get": { + "description": "This returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#list-tag-protection-state-of-a-repository" + }, + "operationId": "repos/list-tag-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/tag-protection-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/tag-protection" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List tag protection states for a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "tags" + } + }, + "post": { + "description": "This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#create-tag-protection-state-for-a-repository" + }, + "operationId": "repos/create-tag-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "pattern": "v1.*" + } + } + }, + "schema": { + "properties": { + "pattern": { + "description": "An optional glob pattern to match against when enforcing tag protection.", + "type": "string" + } + }, + "required": [ + "pattern" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/tag-protection" + } + }, + "schema": { + "$ref": "#/components/schemas/tag-protection" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Create a tag protection state for a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "tags" + } + } + }, + "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": { + "delete": { + "description": "This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#delete-tag-protection-state-for-a-repository" + }, + "operationId": "repos/delete-tag-protection", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/tag-protection-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a tag protection state for a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "tags" + } + } + }, + "/repos/{owner}/{repo}/tarball/{ref}": { + "get": { + "description": "Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n**Note**: For private repositories, these links are temporary and expire after five minutes.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#download-a-repository-archive" + }, + "operationId": "repos/download-tarball-archive", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "in": "path", + "name": "ref", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + } + ], + "responses": { + "302": { + "description": "Response", + "headers": { + "Location": { + "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", + "schema": { + "type": "string" + } + } + } + } + }, + "summary": "Download a repository archive (tar)", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "contents" + } + } + }, + "/repos/{owner}/{repo}/teams": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#list-repository-teams" + }, + "operationId": "repos/list-teams", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List repository teams", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/topics": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#get-all-repository-topics" + }, + "operationId": "repos/get-all-topics", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/topic" + } + }, + "schema": { + "$ref": "#/components/schemas/topic" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get all repository topics", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "put": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#replace-all-repository-topics" + }, + "operationId": "repos/replace-all-topics", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "names": [ + "octocat", + "atom", + "electron", + "api" + ] + } + } + }, + "schema": { + "properties": { + "names": { + "description": "An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "names" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/topic" + } + }, + "schema": { + "$ref": "#/components/schemas/topic" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Replace all repository topics", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/traffic/clones": { + "get": { + "description": "Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/metrics/traffic#get-repository-clones" + }, + "operationId": "repos/get-clones", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/clone-traffic" + } + }, + "schema": { + "$ref": "#/components/schemas/clone-traffic" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Get repository clones", + "tags": [ + "repos" + ], + "x-github": { + "category": "metrics", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "traffic" + } + } + }, + "/repos/{owner}/{repo}/traffic/popular/paths": { + "get": { + "description": "Get the top 10 popular contents over the last 14 days.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/metrics/traffic#get-top-referral-paths" + }, + "operationId": "repos/get-top-paths", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/content-traffic-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/content-traffic" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Get top referral paths", + "tags": [ + "repos" + ], + "x-github": { + "category": "metrics", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "traffic" + } + } + }, + "/repos/{owner}/{repo}/traffic/popular/referrers": { + "get": { + "description": "Get the top 10 referrers over the last 14 days.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/metrics/traffic#get-top-referral-sources" + }, + "operationId": "repos/get-top-referrers", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/referrer-traffic-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/referrer-traffic" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Get top referral sources", + "tags": [ + "repos" + ], + "x-github": { + "category": "metrics", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "traffic" + } + } + }, + "/repos/{owner}/{repo}/traffic/views": { + "get": { + "description": "Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/metrics/traffic#get-page-views" + }, + "operationId": "repos/get-views", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/view-traffic" + } + }, + "schema": { + "$ref": "#/components/schemas/view-traffic" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Get page views", + "tags": [ + "repos" + ], + "x-github": { + "category": "metrics", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "traffic" + } + } + }, + "/repos/{owner}/{repo}/transfer": { + "post": { + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#transfer-a-repository" + }, + "operationId": "repos/transfer", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "new_name": "octorepo", + "new_owner": "github", + "team_ids": [ + 12, + 345 + ] + } + } + }, + "schema": { + "properties": { + "new_name": { + "description": "The new name to be given to the repository.", + "type": "string" + }, + "new_owner": { + "description": "The username or organization name the repository will be transferred to.", + "type": "string" + }, + "team_ids": { + "description": "ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories.", + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "new_owner" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "202": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository" + } + }, + "schema": { + "$ref": "#/components/schemas/minimal-repository" + } + } + }, + "description": "Response" + } + }, + "summary": "Transfer a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/vulnerability-alerts": { + "delete": { + "description": "Disables dependency alerts and the dependency graph for a repository.\nThe authenticated user must have admin access to the repository. For more information,\nsee \"[About security alerts for vulnerable dependencies](https://docs.github.com/articles/about-security-alerts-for-vulnerable-dependencies)\".", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#disable-vulnerability-alerts" + }, + "operationId": "repos/disable-vulnerability-alerts", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Disable vulnerability alerts", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin read access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://docs.github.com/articles/about-security-alerts-for-vulnerable-dependencies)\".", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository" + }, + "operationId": "repos/check-vulnerability-alerts", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response if repository is enabled with vulnerability alerts" + }, + "404": { + "description": "Not Found if repository is not enabled with vulnerability alerts" + } + }, + "summary": "Check if vulnerability alerts are enabled for a repository", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "put": { + "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://docs.github.com/articles/about-security-alerts-for-vulnerable-dependencies)\".", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#enable-vulnerability-alerts" + }, + "operationId": "repos/enable-vulnerability-alerts", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Enable vulnerability alerts", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repos/{owner}/{repo}/zipball/{ref}": { + "get": { + "description": "Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually\n`main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe `Location` header to make a second `GET` request.\n\n**Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#download-a-repository-archive" + }, + "operationId": "repos/download-zipball-archive", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "in": "path", + "name": "ref", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + } + ], + "responses": { + "302": { + "description": "Response", + "headers": { + "Location": { + "example": "https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires", + "schema": { + "type": "string" + } + } + } + } + }, + "summary": "Download a repository archive (zip)", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "contents" + } + } + }, + "/repos/{template_owner}/{template_repo}/generate": { + "post": { + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#create-a-repository-using-a-template" + }, + "operationId": "repos/create-using-template", + "parameters": [ + { + "in": "path", + "name": "template_owner", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "template_repo", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "description": "This is your first repository", + "include_all_branches": false, + "name": "Hello-World", + "owner": "octocat", + "private": false + } + } + }, + "schema": { + "properties": { + "description": { + "description": "A short description of the new repository.", + "type": "string" + }, + "include_all_branches": { + "default": false, + "description": "Set to `true` to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: `false`.", + "type": "boolean" + }, + "name": { + "description": "The name of the new repository.", + "type": "string" + }, + "owner": { + "description": "The organization or person who will own the new repository. To create a new repository in an organization, the authenticated user must be a member of the specified organization.", + "type": "string" + }, + "private": { + "default": false, + "description": "Either `true` to create a new private repository or `false` to create a new public one.", + "type": "boolean" + } + }, + "required": [ + "name" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repository-3" + } + }, + "schema": { + "$ref": "#/components/schemas/repository" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World", + "schema": { + "type": "string" + } + } + } + } + }, + "summary": "Create a repository using a template", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repositories": { + "get": { + "description": "Lists all public repositories in the order that they were created.\n\nNote:\n- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#list-public-repositories" + }, + "operationId": "repos/list-public", + "parameters": [ + { + "$ref": "#/components/parameters/since-repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "example": "; rel=\"next\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List public repositories", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/repositories/{repository_id}/environments/{environment_name}/secrets": { + "get": { + "description": "Lists all secrets available in an environment without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#list-environment-secrets" + }, + "operationId": "actions/list-environment-secrets", + "parameters": [ + { + "$ref": "#/components/parameters/repository-id" + }, + { + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-secret-paginated" + } + }, + "schema": { + "properties": { + "secrets": { + "items": { + "$ref": "#/components/schemas/actions-secret" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "secrets" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List environment secrets", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key": { + "get": { + "description": "Get the public key for an environment, which you need to encrypt environment secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-an-environment-public-key" + }, + "operationId": "actions/get-environment-public-key", + "parameters": [ + { + "$ref": "#/components/parameters/repository-id" + }, + { + "$ref": "#/components/parameters/environment-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-public-key" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-public-key" + } + } + }, + "description": "Response" + } + }, + "summary": "Get an environment public key", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": { + "delete": { + "description": "Deletes a secret in an environment using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#delete-an-environment-secret" + }, + "operationId": "actions/delete-environment-secret", + "parameters": [ + { + "$ref": "#/components/parameters/repository-id" + }, + { + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Default response" + } + }, + "summary": "Delete an environment secret", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "get": { + "description": "Gets a single environment secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#get-an-environment-secret" + }, + "operationId": "actions/get-environment-secret", + "parameters": [ + { + "$ref": "#/components/parameters/repository-id" + }, + { + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-secret" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-secret" + } + } + }, + "description": "Response" + } + }, + "summary": "Get an environment secret", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "put": { + "description": "Creates or updates an environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). You must authenticate using an access\ntoken with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use\nthis endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [libsodium-wrappers](https://www.npmjs.com/package/libsodium-wrappers) library.\n\n```\nconst sodium = require('libsodium-wrappers')\nconst secret = 'plain-text-secret' // replace with the secret you want to encrypt\nconst key = 'base64-encoded-public-key' // replace with the Base64 encoded public key\n\n//Check if libsodium is ready and then proceed.\nsodium.ready.then(() => {\n // Convert Secret & Base64 key to Uint8Array.\n let binkey = sodium.from_base64(key, sodium.base64_variants.ORIGINAL)\n let binsec = sodium.from_string(secret)\n\n //Encrypt the secret using LibSodium\n let encBytes = sodium.crypto_box_seal(binsec, binkey)\n\n // Convert encrypted Uint8Array to Base64\n let output = sodium.to_base64(encBytes, sodium.base64_variants.ORIGINAL)\n\n console.log(output)\n});\n```\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/actions#create-or-update-an-environment-secret" + }, + "operationId": "actions/create-or-update-environment-secret", + "parameters": [ + { + "$ref": "#/components/parameters/repository-id" + }, + { + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + } + }, + "schema": { + "properties": { + "encrypted_value": { + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an environment public key](https://docs.github.com/rest/reference/actions#get-an-environment-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", + "type": "string" + }, + "key_id": { + "description": "ID of the key you used to encrypt the secret.", + "type": "string" + } + }, + "required": [ + "encrypted_value", + "key_id" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response when creating a secret" + }, + "204": { + "description": "Response when updating a secret" + } + }, + "summary": "Create or update an environment secret", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/repositories/{repository_id}/environments/{environment_name}/variables": { + "get": { + "description": "Lists all environment variables. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `environments:read` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#list-environment-variables" + }, + "operationId": "actions/list-environment-variables", + "parameters": [ + { + "$ref": "#/components/parameters/repository-id" + }, + { + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/variables-per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-variables-paginated" + } + }, + "schema": { + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "items": { + "$ref": "#/components/schemas/actions-variable" + }, + "type": "array" + } + }, + "required": [ + "total_count", + "variables" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List environment variables", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + }, + "post": { + "description": "Create an environment variable that you can reference in a GitHub Actions workflow.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `environment:write` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#create-an-environment-variable" + }, + "operationId": "actions/create-environment-variable", + "parameters": [ + { + "$ref": "#/components/parameters/repository-id" + }, + { + "$ref": "#/components/parameters/environment-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } + }, + "schema": { + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response" + } + }, + "summary": "Create an environment variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + } + }, + "/repositories/{repository_id}/environments/{environment_name}/variables/{name}": { + "delete": { + "description": "Deletes an environment variable using the variable name.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `environment:write` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#delete-an-environment-variable" + }, + "operationId": "actions/delete-environment-variable", + "parameters": [ + { + "$ref": "#/components/parameters/repository-id" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "$ref": "#/components/parameters/environment-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete an environment variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + }, + "get": { + "description": "Gets a specific variable in an environment. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `environments:read` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#get-an-environment-variable" + }, + "operationId": "actions/get-environment-variable", + "parameters": [ + { + "$ref": "#/components/parameters/repository-id" + }, + { + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-variable" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-variable" + } + } + }, + "description": "Response" + } + }, + "summary": "Get an environment variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + }, + "patch": { + "description": "Updates an environment variable that you can reference in a GitHub Actions workflow.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `environment:write` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/variables#update-an-environment-variable" + }, + "operationId": "actions/update-environment-variable", + "parameters": [ + { + "$ref": "#/components/parameters/repository-id" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "$ref": "#/components/parameters/environment-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } + }, + "schema": { + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Update an environment variable", + "tags": [ + "actions" + ], + "x-github": { + "category": "actions", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "variables" + } + } + }, + "/search/code": { + "get": { + "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/search#search-code" + }, + "operationId": "search/code", + "parameters": [ + { + "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/reference/search#constructing-a-search-query). See \"[Searching code](https://docs.github.com/search-github/searching-on-github/searching-code)\" for a detailed list of qualifiers.", + "in": "query", + "name": "q", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/reference/search#ranking-search-results)", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "enum": [ + "indexed" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/order" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/code-search-result-item-paginated" + } + }, + "schema": { + "properties": { + "incomplete_results": { + "type": "boolean" + }, + "items": { + "items": { + "$ref": "#/components/schemas/code-search-result-item" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "incomplete_results", + "items" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Search code", + "tags": [ + "search" + ], + "x-github": { + "category": "search", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/search/commits": { + "get": { + "description": "Find commits via various criteria on the default branch (usually `main`). This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/search#search-commits" + }, + "operationId": "search/commits", + "parameters": [ + { + "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/reference/search#constructing-a-search-query). See \"[Searching commits](https://docs.github.com/search-github/searching-on-github/searching-commits)\" for a detailed list of qualifiers.", + "in": "query", + "name": "q", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Sorts the results of your query by `author-date` or `committer-date`. Default: [best match](https://docs.github.com/rest/reference/search#ranking-search-results)", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "enum": [ + "author-date", + "committer-date" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/order" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/commit-search-result-item-paginated" + } + }, + "schema": { + "properties": { + "incomplete_results": { + "type": "boolean" + }, + "items": { + "items": { + "$ref": "#/components/schemas/commit-search-result-item" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "incomplete_results", + "items" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + } + }, + "summary": "Search commits", + "tags": [ + "search" + ], + "x-github": { + "category": "search", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/search/issues": { + "get": { + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/search#search-issues-and-pull-requests" + }, + "operationId": "search/issues-and-pull-requests", + "parameters": [ + { + "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/reference/search#constructing-a-search-query). See \"[Searching issues and pull requests](https://docs.github.com/search-github/searching-on-github/searching-issues-and-pull-requests)\" for a detailed list of qualifiers.", + "in": "query", + "name": "q", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Sorts the results of your query by the number of `comments`, `reactions`, `reactions-+1`, `reactions--1`, `reactions-smile`, `reactions-thinking_face`, `reactions-heart`, `reactions-tada`, or `interactions`. You can also sort results by how recently the items were `created` or `updated`, Default: [best match](https://docs.github.com/rest/reference/search#ranking-search-results)", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "enum": [ + "comments", + "reactions", + "reactions-+1", + "reactions--1", + "reactions-smile", + "reactions-thinking_face", + "reactions-heart", + "reactions-tada", + "interactions", + "created", + "updated" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/order" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue-search-result-item-paginated" + } + }, + "schema": { + "properties": { + "incomplete_results": { + "type": "boolean" + }, + "items": { + "items": { + "$ref": "#/components/schemas/issue-search-result-item" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "incomplete_results", + "items" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Search issues and pull requests", + "tags": [ + "search" + ], + "x-github": { + "category": "search", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/search/labels": { + "get": { + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/search#search-labels" + }, + "operationId": "search/labels", + "parameters": [ + { + "description": "The id of the repository.", + "in": "query", + "name": "repository_id", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "description": "The search keywords. This endpoint does not accept qualifiers in the query. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/reference/search#constructing-a-search-query).", + "in": "query", + "name": "q", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Sorts the results of your query by when the label was `created` or `updated`. Default: [best match](https://docs.github.com/rest/reference/search#ranking-search-results)", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "enum": [ + "created", + "updated" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/order" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/label-search-result-item-paginated" + } + }, + "schema": { + "properties": { + "incomplete_results": { + "type": "boolean" + }, + "items": { + "items": { + "$ref": "#/components/schemas/label-search-result-item" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "incomplete_results", + "items" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Search labels", + "tags": [ + "search" + ], + "x-github": { + "category": "search", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/search/repositories": { + "get": { + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/search#search-repositories" + }, + "operationId": "search/repos", + "parameters": [ + { + "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/reference/search#constructing-a-search-query). See \"[Searching for repositories](https://docs.github.com/articles/searching-for-repositories/)\" for a detailed list of qualifiers.", + "in": "query", + "name": "q", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Sorts the results of your query by number of `stars`, `forks`, or `help-wanted-issues` or how recently the items were `updated`. Default: [best match](https://docs.github.com/rest/reference/search#ranking-search-results)", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "enum": [ + "stars", + "forks", + "help-wanted-issues", + "updated" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/order" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repo-search-result-item-paginated" + } + }, + "schema": { + "properties": { + "incomplete_results": { + "type": "boolean" + }, + "items": { + "items": { + "$ref": "#/components/schemas/repo-search-result-item" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "incomplete_results", + "items" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Search repositories", + "tags": [ + "search" + ], + "x-github": { + "category": "search", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/search/topics": { + "get": { + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://docs.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/search#search-topics" + }, + "operationId": "search/topics", + "parameters": [ + { + "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/reference/search#constructing-a-search-query).", + "in": "query", + "name": "q", + "required": true, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/topic-search-result-item-paginated" + } + }, + "schema": { + "properties": { + "incomplete_results": { + "type": "boolean" + }, + "items": { + "items": { + "$ref": "#/components/schemas/topic-search-result-item" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "incomplete_results", + "items" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + } + }, + "summary": "Search topics", + "tags": [ + "search" + ], + "x-github": { + "category": "search", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/search/users": { + "get": { + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, public **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/search#search-users" + }, + "operationId": "search/users", + "parameters": [ + { + "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/reference/search#constructing-a-search-query). See \"[Searching users](https://docs.github.com/search-github/searching-on-github/searching-users)\" for a detailed list of qualifiers.", + "in": "query", + "name": "q", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "Sorts the results of your query by number of `followers` or `repositories`, or when the person `joined` GitHub. Default: [best match](https://docs.github.com/rest/reference/search#ranking-search-results)", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "enum": [ + "followers", + "repositories", + "joined" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/order" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/user-search-result-item-paginated" + } + }, + "schema": { + "properties": { + "incomplete_results": { + "type": "boolean" + }, + "items": { + "items": { + "$ref": "#/components/schemas/user-search-result-item" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "incomplete_results", + "items" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Search users", + "tags": [ + "search" + ], + "x-github": { + "category": "search", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/teams/{team_id}": { + "delete": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/reference/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams/#delete-a-team-legacy" + }, + "operationId": "teams/delete-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Delete a team (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": null + } + }, + "get": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/reference/teams#get-a-team-by-name) endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams/#get-a-team-legacy" + }, + "operationId": "teams/get-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-full" + } + }, + "schema": { + "$ref": "#/components/schemas/team-full" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a team (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": null + } + }, + "patch": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/reference/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams/#update-a-team-legacy" + }, + "operationId": "teams/update-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "description": "new team description", + "name": "new team name", + "privacy": "closed" + } + } + }, + "schema": { + "properties": { + "description": { + "description": "The description of the team.", + "type": "string" + }, + "name": { + "description": "The name of the team.", + "type": "string" + }, + "parent_team_id": { + "description": "The ID of a team to set as the parent team.", + "nullable": true, + "type": "integer" + }, + "permission": { + "default": "pull", + "description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified.", + "enum": [ + "pull", + "push", + "admin" + ], + "type": "string" + }, + "privacy": { + "description": "The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. The options are: \n**For a non-nested team:** \n * `secret` - only visible to organization owners and members of this team. \n * `closed` - visible to all members of this organization. \n**For a parent or child team:** \n * `closed` - visible to all members of this organization.", + "enum": [ + "secret", + "closed" + ], + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-full" + } + }, + "schema": { + "$ref": "#/components/schemas/team-full" + } + } + }, + "description": "Response when the updated information already exists" + }, + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-full" + } + }, + "schema": { + "$ref": "#/components/schemas/team-full" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update a team (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": null + } + } + }, + "/teams/{team_id}/discussions": { + "get": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/reference/teams#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#list-discussions-legacy" + }, + "operationId": "teams/list-discussions-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team-discussion" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List discussions (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "discussions" + } + }, + "post": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/reference/teams#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#create-a-discussion-legacy" + }, + "operationId": "teams/create-discussion-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Hi! This is an area for us to collaborate as a team.", + "title": "Our first team post" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The discussion post's body text.", + "type": "string" + }, + "private": { + "default": false, + "description": "Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.", + "type": "boolean" + }, + "title": { + "description": "The discussion post's title.", + "type": "string" + } + }, + "required": [ + "title", + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion" + } + }, + "schema": { + "$ref": "#/components/schemas/team-discussion" + } + } + }, + "description": "Response" + } + }, + "summary": "Create a discussion (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "discussions", + "triggersNotification": true + } + } + }, + "/teams/{team_id}/discussions/{discussion_number}": { + "delete": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/reference/teams#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#delete-a-discussion-legacy" + }, + "operationId": "teams/delete-discussion-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/discussion-number" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a discussion (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "discussions" + } + }, + "get": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/reference/teams#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#get-a-discussion-legacy" + }, + "operationId": "teams/get-discussion-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/discussion-number" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion" + } + }, + "schema": { + "$ref": "#/components/schemas/team-discussion" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a discussion (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "discussions" + } + }, + "patch": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/reference/teams#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#update-a-discussion-legacy" + }, + "operationId": "teams/update-discussion-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/discussion-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "title": "Welcome to our first team post" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The discussion post's body text.", + "type": "string" + }, + "title": { + "description": "The discussion post's title.", + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion-2" + } + }, + "schema": { + "$ref": "#/components/schemas/team-discussion" + } + } + }, + "description": "Response" + } + }, + "summary": "Update a discussion (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "discussions" + } + } + }, + "/teams/{team_id}/discussions/{discussion_number}/comments": { + "get": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/reference/teams#list-discussion-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#list-discussion-comments-legacy" + }, + "operationId": "teams/list-discussion-comments-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion-comment-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team-discussion-comment" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List discussion comments (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "discussion-comments" + } + }, + "post": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/reference/teams#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#create-a-discussion-comment-legacy" + }, + "operationId": "teams/create-discussion-comment-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/discussion-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Do you like apples?" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The discussion comment's body text.", + "type": "string" + } + }, + "required": [ + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion-comment" + } + }, + "schema": { + "$ref": "#/components/schemas/team-discussion-comment" + } + } + }, + "description": "Response" + } + }, + "summary": "Create a discussion comment (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "discussion-comments", + "triggersNotification": true + } + } + }, + "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": { + "delete": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/reference/teams#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#delete-a-discussion-comment-legacy" + }, + "operationId": "teams/delete-discussion-comment-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "$ref": "#/components/parameters/comment-number" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a discussion comment (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "discussion-comments" + } + }, + "get": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/reference/teams#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#get-a-discussion-comment-legacy" + }, + "operationId": "teams/get-discussion-comment-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "$ref": "#/components/parameters/comment-number" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion-comment" + } + }, + "schema": { + "$ref": "#/components/schemas/team-discussion-comment" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a discussion comment (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "discussion-comments" + } + }, + "patch": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/reference/teams#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#update-a-discussion-comment-legacy" + }, + "operationId": "teams/update-discussion-comment-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "$ref": "#/components/parameters/comment-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "body": "Do you like pineapples?" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "The discussion comment's body text.", + "type": "string" + } + }, + "required": [ + "body" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-discussion-comment-2" + } + }, + "schema": { + "$ref": "#/components/schemas/team-discussion-comment" + } + } + }, + "description": "Response" + } + }, + "summary": "Update a discussion comment (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "discussion-comments" + } + } + }, + "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": { + "get": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy" + }, + "operationId": "reactions/list-for-team-discussion-comment-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "$ref": "#/components/parameters/comment-number" + }, + { + "description": "Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to a team discussion comment.", + "in": "query", + "name": "content", + "required": false, + "schema": { + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/reaction" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List reactions for a team discussion comment (Legacy)", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "deprecationDate": "2020-02-26", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-21", + "subcategory": null + } + }, + "post": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy" + }, + "operationId": "reactions/create-for-team-discussion-comment-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "$ref": "#/components/parameters/comment-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "content": "heart" + } + } + }, + "schema": { + "properties": { + "content": { + "description": "The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the team discussion comment.", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + "required": [ + "content" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Response" + } + }, + "summary": "Create reaction for a team discussion comment (Legacy)", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "deprecationDate": "2020-02-26", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-21", + "subcategory": null + } + } + }, + "/teams/{team_id}/discussions/{discussion_number}/reactions": { + "get": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy" + }, + "operationId": "reactions/list-for-team-discussion-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/discussion-number" + }, + { + "description": "Returns a single [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types). Omit this parameter to list all reactions to a team discussion.", + "in": "query", + "name": "content", + "required": false, + "schema": { + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/reaction" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List reactions for a team discussion (Legacy)", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "deprecationDate": "2020-02-26", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-21", + "subcategory": null + } + }, + "post": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy" + }, + "operationId": "reactions/create-for-team-discussion-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/discussion-number" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "content": "heart" + } + } + }, + "schema": { + "properties": { + "content": { + "description": "The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-types) to add to the team discussion.", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "type": "string" + } + }, + "required": [ + "content" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/reaction" + } + }, + "schema": { + "$ref": "#/components/schemas/reaction" + } + } + }, + "description": "Response" + } + }, + "summary": "Create reaction for a team discussion (Legacy)", + "tags": [ + "reactions" + ], + "x-github": { + "category": "reactions", + "deprecationDate": "2020-02-26", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "removalDate": "2021-02-21", + "subcategory": null + } + } + }, + "/teams/{team_id}/invitations": { + "get": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/reference/teams#list-pending-team-invitations) endpoint.\n\nThe return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#list-pending-team-invitations-legacy" + }, + "operationId": "teams/list-pending-invitations-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-invitation-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/organization-invitation" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List pending team invitations (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "members" + } + } + }, + "/teams/{team_id}/members": { + "get": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/reference/teams#list-team-members) endpoint.\n\nTeam members will include the members of child teams.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#list-team-members-legacy" + }, + "operationId": "teams/list-members-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "description": "Filters members returned by their role in the team.", + "in": "query", + "name": "role", + "required": false, + "schema": { + "default": "all", + "enum": [ + "member", + "maintainer", + "all" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List team members (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "members" + } + } + }, + "/teams/{team_id}/members/{username}": { + "delete": { + "deprecated": true, + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#remove-team-member-legacy" + }, + "operationId": "teams/remove-member-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "description": "Not Found if team synchronization is setup" + } + }, + "summary": "Remove team member (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "members" + } + }, + "get": { + "deprecated": true, + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#get-team-member-legacy" + }, + "operationId": "teams/get-member-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "if user is a member" + }, + "404": { + "description": "if user is not a member" + } + }, + "summary": "Get team member (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "members" + } + }, + "put": { + "deprecated": true, + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#add-team-member-legacy" + }, + "operationId": "teams/add-member-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "description": "Not Found if team synchronization is set up" + }, + "422": { + "description": "Unprocessable Entity if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" + } + }, + "summary": "Add team member (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "members" + } + } + }, + "/teams/{team_id}/memberships/{username}": { + "delete": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user-legacy" + }, + "operationId": "teams/remove-membership-for-user-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "if team synchronization is set up" + } + }, + "summary": "Remove team membership for a user (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "members" + } + }, + "get": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/reference/teams#create-a-team).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user-legacy" + }, + "operationId": "teams/get-membership-for-user-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response-if-user-is-a-team-maintainer": { + "$ref": "#/components/examples/team-membership-response-if-user-is-a-team-maintainer" + } + }, + "schema": { + "$ref": "#/components/schemas/team-membership" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get team membership for a user (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "members" + } + }, + "put": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy" + }, + "operationId": "teams/add-or-update-membership-for-user-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Assign the member role for a user in a team", + "value": { + "role": "member" + } + } + }, + "schema": { + "properties": { + "role": { + "default": "member", + "description": "The role that this user should have in the team.", + "enum": [ + "member", + "maintainer" + ], + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response-if-users-membership-with-team-is-now-pending": { + "$ref": "#/components/examples/team-membership-response-if-users-membership-with-team-is-now-pending" + } + }, + "schema": { + "$ref": "#/components/schemas/team-membership" + } + } + }, + "description": "Response" + }, + "403": { + "description": "Forbidden if team synchronization is set up" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Unprocessable Entity if you attempt to add an organization to a team" + } + }, + "summary": "Add or update team membership for a user (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": "members" + } + } + }, + "/teams/{team_id}/projects": { + "get": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/reference/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams/#list-team-projects-legacy" + }, + "operationId": "teams/list-projects-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-project-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team-project" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List team projects (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": null + } + } + }, + "/teams/{team_id}/projects/{project_id}": { + "delete": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/reference/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams/#remove-a-project-from-a-team-legacy" + }, + "operationId": "teams/remove-project-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/project-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Remove a project from a team (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": null + } + }, + "get": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-project-legacy" + }, + "operationId": "teams/check-permissions-for-project-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/project-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-project" + } + }, + "schema": { + "$ref": "#/components/schemas/team-project" + } + } + }, + "description": "Response" + }, + "404": { + "description": "Not Found if project is not managed by this team" + } + }, + "summary": "Check team permissions for a project (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": null + } + }, + "put": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams/#add-or-update-team-project-permissions-legacy" + }, + "operationId": "teams/add-or-update-project-permissions-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/project-id" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example of setting permission to read", + "value": { + "permission": "read" + } + } + }, + "schema": { + "properties": { + "permission": { + "description": "The permission to grant to the team for this project. Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"", + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "content": { + "application/json": { + "examples": { + "response-if-the-project-is-not-owned-by-the-organization": { + "value": { + "documentation_url": "https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions", + "message": "Must have admin rights to Repository." + } + } + }, + "schema": { + "properties": { + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Forbidden if the project is not owned by the organization" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Add or update team project permissions (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": null + } + } + }, + "/teams/{team_id}/repos": { + "get": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/reference/teams#list-team-repositories) endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams/#list-team-repositories-legacy" + }, + "operationId": "teams/list-repos-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List team repositories (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": null + } + } + }, + "/teams/{team_id}/repos/{owner}/{repo}": { + "delete": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/reference/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams/#remove-a-repository-from-a-team-legacy" + }, + "operationId": "teams/remove-repo-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Remove a repository from a team (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": null + } + }, + "get": { + "deprecated": true, + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-repository-legacy" + }, + "operationId": "teams/check-permissions-for-repo-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "alternative-response-with-extra-repository-information": { + "$ref": "#/components/examples/team-repository-alternative-response-with-extra-repository-information" + } + }, + "schema": { + "$ref": "#/components/schemas/team-repository" + } + } + }, + "description": "Alternative response with extra repository information" + }, + "204": { + "description": "Response if repository is managed by this team" + }, + "404": { + "description": "Not Found if repository is not managed by this team" + } + }, + "summary": "Check team permissions for a repository (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": null + } + }, + "put": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#add-or-update-team-repository-permissions-legacy" + }, + "operationId": "teams/add-or-update-repo-permissions-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example of setting permission to pull", + "value": { + "permission": "push" + } + } + }, + "schema": { + "properties": { + "permission": { + "description": "The permission to grant the team on this repository. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.", + "enum": [ + "pull", + "push", + "admin" + ], + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Add or update team repository permissions (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": null + } + } + }, + "/teams/{team_id}/teams": { + "get": { + "deprecated": true, + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/reference/teams#list-child-teams) endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams/#list-child-teams-legacy" + }, + "operationId": "teams/list-child-legacy", + "parameters": [ + { + "$ref": "#/components/parameters/team-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response-if-child-teams-exist": { + "$ref": "#/components/examples/team-items-response-if-child-teams-exist" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team" + }, + "type": "array" + } + } + }, + "description": "if child teams exist", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List child teams (Legacy)", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "deprecationDate": "2020-01-21", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "removalDate": "2021-02-01", + "subcategory": null + } + } + }, + "/user": { + "get": { + "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#get-the-authenticated-user" + }, + "operationId": "users/get-authenticated", + "parameters": [], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "response-with-public-and-private-profile-information": { + "$ref": "#/components/examples/private-user-response-with-public-and-private-profile-information" + }, + "response-with-public-profile-information": { + "$ref": "#/components/examples/private-user-response-with-public-profile-information" + } + }, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/private-user" + }, + { + "$ref": "#/components/schemas/public-user" + } + ] + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Get the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "patch": { + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users/#update-the-authenticated-user" + }, + "operationId": "users/update-authenticated", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example of updating blog and name", + "value": { + "blog": "https://github.com/blog", + "name": "monalisa octocat" + } + } + }, + "schema": { + "properties": { + "bio": { + "description": "The new short biography of the user.", + "type": "string" + }, + "blog": { + "description": "The new blog URL of the user.", + "example": "blog.example.com", + "type": "string" + }, + "company": { + "description": "The new company of the user.", + "example": "Acme corporation", + "type": "string" + }, + "email": { + "description": "The publicly visible email address of the user.", + "example": "omar@example.com", + "type": "string" + }, + "hireable": { + "description": "The new hiring availability of the user.", + "type": "boolean" + }, + "location": { + "description": "The new location of the user.", + "example": "Berlin, Germany", + "type": "string" + }, + "name": { + "description": "The new name of the user.", + "example": "Omar Jahandar", + "type": "string" + }, + "twitter_username": { + "description": "The new Twitter username of the user.", + "example": "therealomarj", + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/private-user" + } + }, + "schema": { + "$ref": "#/components/schemas/private-user" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/blocks": { + "get": { + "description": "List the users you've blocked on your personal account.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#list-users-blocked-by-the-authenticated-user" + }, + "operationId": "users/list-blocked-by-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List users blocked by the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "blocking" + } + } + }, + "/user/blocks/{username}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#unblock-a-user" + }, + "operationId": "users/unblock", + "parameters": [ + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Unblock a user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "blocking" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#check-if-a-user-is-blocked-by-the-authenticated-user" + }, + "operationId": "users/check-blocked", + "parameters": [ + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "If the user is blocked" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "If the user is not blocked" + } + }, + "summary": "Check if a user is blocked by the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "blocking" + } + }, + "put": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#block-a-user" + }, + "operationId": "users/block", + "parameters": [ + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Block a user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "blocking" + } + } + }, + "/user/codespaces": { + "get": { + "description": "Lists the authenticated user's codespaces.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#list-codespaces-for-the-authenticated-user" + }, + "operationId": "codespaces/list-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/repository-id-in-query" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespaces-list" + } + }, + "schema": { + "properties": { + "codespaces": { + "items": { + "$ref": "#/components/schemas/codespace" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "codespaces" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "List codespaces for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Creates a new codespace, owned by the authenticated user.\n\nThis endpoint requires either a `repository_id` OR a `pull_request` but not both.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#create-a-codespace-for-the-authenticated-user" + }, + "operationId": "codespaces/create-for-authenticated-user", + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "location": "WestUs2", + "ref": "main", + "repository_id": 1 + } + } + }, + "schema": { + "oneOf": [ + { + "properties": { + "client_ip": { + "description": "IP for location auto-detection when proxying a request", + "type": "string" + }, + "devcontainer_path": { + "description": "Path to devcontainer.json config to use for this codespace", + "type": "string" + }, + "display_name": { + "description": "Display name for this codespace", + "type": "string" + }, + "idle_timeout_minutes": { + "description": "Time in minutes before codespace stops from inactivity", + "type": "integer" + }, + "location": { + "description": "Location for this codespace. Assigned by IP if not provided", + "type": "string" + }, + "machine": { + "description": "Machine type to use for this codespace", + "type": "string" + }, + "multi_repo_permissions_opt_out": { + "description": "Whether to authorize requested permissions from devcontainer.json", + "type": "boolean" + }, + "ref": { + "description": "Git ref (typically a branch name) for this codespace", + "type": "string" + }, + "repository_id": { + "description": "Repository id for this codespace", + "type": "integer" + }, + "retention_period_minutes": { + "description": "Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days).", + "type": "integer" + }, + "working_directory": { + "description": "Working directory for this codespace", + "type": "string" + } + }, + "required": [ + "repository_id" + ], + "type": "object" + }, + { + "properties": { + "devcontainer_path": { + "description": "Path to devcontainer.json config to use for this codespace", + "type": "string" + }, + "idle_timeout_minutes": { + "description": "Time in minutes before codespace stops from inactivity", + "type": "integer" + }, + "location": { + "description": "Location for this codespace. Assigned by IP if not provided", + "type": "string" + }, + "machine": { + "description": "Machine type to use for this codespace", + "type": "string" + }, + "pull_request": { + "description": "Pull request number for this codespace", + "properties": { + "pull_request_number": { + "description": "Pull request number", + "type": "integer" + }, + "repository_id": { + "description": "Repository id for this codespace", + "type": "integer" + } + }, + "required": [ + "pull_request_number", + "repository_id" + ], + "type": "object" + }, + "working_directory": { + "description": "Working directory for this codespace", + "type": "string" + } + }, + "required": [ + "pull_request" + ], + "type": "object" + } + ] + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespace" + } + }, + "schema": { + "$ref": "#/components/schemas/codespace" + } + } + }, + "description": "Response when the codespace was successfully created" + }, + "202": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespace" + } + }, + "schema": { + "$ref": "#/components/schemas/codespace" + } + } + }, + "description": "Response when the codespace creation partially failed but is being retried in the background" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "summary": "Create a codespace for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/codespaces/secrets": { + "get": { + "description": "Lists all secrets available for a user's Codespaces without revealing their\nencrypted values.\n\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces_user_secrets` user permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#list-secrets-for-the-authenticated-user" + }, + "operationId": "codespaces/list-secrets-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repo-codespaces-secret-paginated" + } + }, + "schema": { + "properties": { + "secrets": { + "items": { + "$ref": "#/components/schemas/codespaces-secret" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "secrets" + ], + "type": "object" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List secrets for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/user/codespaces/secrets/public-key": { + "get": { + "description": "Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets.\n\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces_user_secrets` user permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#get-public-key-for-the-authenticated-user" + }, + "operationId": "codespaces/get-public-key-for-authenticated-user", + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespaces-user-public-key" + } + }, + "schema": { + "$ref": "#/components/schemas/codespaces-user-public-key" + } + } + }, + "description": "Response" + } + }, + "summary": "Get public key for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/user/codespaces/secrets/{secret_name}": { + "delete": { + "description": "Deletes a secret from a user's codespaces using the secret name. Deleting the secret will remove access from all codespaces that were allowed to access the secret.\n\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces_user_secrets` user permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#delete-a-secret-for-the-authenticated-user" + }, + "operationId": "codespaces/delete-secret-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Delete a secret for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "get": { + "description": "Gets a secret available to a user's codespaces without revealing its encrypted value.\n\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces_user_secrets` user permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#get-a-secret-for-the-authenticated-user" + }, + "operationId": "codespaces/get-secret-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/user-codespaces-secret" + } + }, + "schema": { + "$ref": "#/components/schemas/codespaces-secret" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a secret for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "put": { + "description": "Creates or updates a secret for a user's codespace with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages).\n\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must also have Codespaces access to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces_user_secrets` user permission and `codespaces_secrets` repository permission on all referenced repositories to use this endpoint.\n\n#### Example encrypting a secret using Node.js\n\nEncrypt your secret using the [libsodium-wrappers](https://www.npmjs.com/package/libsodium-wrappers) library.\n\n```\nconst sodium = require('libsodium-wrappers')\nconst secret = 'plain-text-secret' // replace with the secret you want to encrypt\nconst key = 'base64-encoded-public-key' // replace with the Base64 encoded public key\n\n//Check if libsodium is ready and then proceed.\nsodium.ready.then(() => {\n // Convert Secret & Base64 key to Uint8Array.\n let binkey = sodium.from_base64(key, sodium.base64_variants.ORIGINAL)\n let binsec = sodium.from_string(secret)\n\n //Encrypt the secret using LibSodium\n let encBytes = sodium.crypto_box_seal(binsec, binkey)\n\n // Convert encrypted Uint8Array to Base64\n let output = sodium.to_base64(encBytes, sodium.base64_variants.ORIGINAL)\n\n console.log(output)\n});\n```\n\n#### Example encrypting a secret using Python\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/latest/public/#nacl-public-sealedbox) with Python 3.\n\n```\nfrom base64 import b64encode\nfrom nacl import encoding, public\n\ndef encrypt(public_key: str, secret_value: str) -> str:\n \"\"\"Encrypt a Unicode string using the public key.\"\"\"\n public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder())\n sealed_box = public.SealedBox(public_key)\n encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\"))\n return b64encode(encrypted).decode(\"utf-8\")\n```\n\n#### Example encrypting a secret using C#\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n```\nvar secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\");\nvar publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\");\n\nvar sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey);\n\nConsole.WriteLine(Convert.ToBase64String(sealedPublicKeyBox));\n```\n\n#### Example encrypting a secret using Ruby\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n```ruby\nrequire \"rbnacl\"\nrequire \"base64\"\n\nkey = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\")\npublic_key = RbNaCl::PublicKey.new(key)\n\nbox = RbNaCl::Boxes::Sealed.from_public_key(public_key)\nencrypted_secret = box.encrypt(\"my_secret\")\n\n# Print the base64 encoded secret\nputs Base64.strict_encode64(encrypted_secret)\n```", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#create-or-update-a-secret-for-the-authenticated-user" + }, + "operationId": "codespaces/create-or-update-secret-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "selected_repository_ids": [ + "1234567", + "2345678" + ] + } + } + }, + "schema": { + "properties": { + "encrypted_value": { + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get the public key for the authenticated user](https://docs.github.com/rest/reference/codespaces#get-the-public-key-for-the-authenticated-user) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$", + "type": "string" + }, + "key_id": { + "description": "ID of the key you used to encrypt the secret.", + "type": "string" + }, + "selected_repository_ids": { + "description": "An array of repository ids that can access the user secret. You can manage the list of selected repositories using the [List selected repositories for a user secret](https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-a-user-secret), [Set selected repositories for a user secret](https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-a-user-secret), and [Remove a selected repository from a user secret](https://docs.github.com/rest/reference/codespaces#remove-a-selected-repository-from-a-user-secret) endpoints.", + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + }, + "type": "array" + } + }, + "required": [ + "key_id" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "$ref": "#/components/schemas/empty-object" + } + } + }, + "description": "Response after successfully creating a secret" + }, + "204": { + "description": "Response after successfully updating a secret" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create or update a secret for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/user/codespaces/secrets/{secret_name}/repositories": { + "get": { + "description": "List the repositories that have been granted the ability to use a user's codespace secret.\n\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces_user_secrets` user permission and write access to the `codespaces_secrets` repository permission on all referenced repositories to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-a-user-secret" + }, + "operationId": "codespaces/list-repositories-for-secret-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-paginated" + } + }, + "schema": { + "properties": { + "repositories": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "repositories" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "List selected repositories for a user secret", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "put": { + "description": "Select the repositories that will use a user's codespace secret.\n\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces_user_secrets` user permission and write access to the `codespaces_secrets` repository permission on all referenced repositories to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-a-user-secret" + }, + "operationId": "codespaces/set-repositories-for-secret-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + "1296269", + "1296280" + ] + } + } + }, + "schema": { + "properties": { + "selected_repository_ids": { + "description": "An array of repository ids for which a codespace can access the secret. You can manage the list of selected repositories using the [List selected repositories for a user secret](https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-a-user-secret), [Add a selected repository to a user secret](https://docs.github.com/rest/reference/codespaces#add-a-selected-repository-to-a-user-secret), and [Remove a selected repository from a user secret](https://docs.github.com/rest/reference/codespaces#remove-a-selected-repository-from-a-user-secret) endpoints.", + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "selected_repository_ids" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content when repositories were added to the selected list" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "Set selected repositories for a user secret", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/user/codespaces/secrets/{secret_name}/repositories/{repository_id}": { + "delete": { + "description": "Removes a repository from the selected repositories for a user's codespace secret.\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\nGitHub Apps must have write access to the `codespaces_user_secrets` user permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#remove-a-selected-repository-from-a-user-secret" + }, + "operationId": "codespaces/remove-repository-for-secret-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/secret-name" + }, + { + "in": "path", + "name": "repository_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content when repository was removed from the selected list" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "Remove a selected repository from a user secret", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "secrets" + } + }, + "put": { + "description": "Adds a repository to the selected repositories for a user's codespace secret.\nYou must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.\nGitHub Apps must have write access to the `codespaces_user_secrets` user permission and write access to the `codespaces_secrets` repository permission on the referenced repository to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#add-a-selected-repository-to-a-user-secret" + }, + "operationId": "codespaces/add-repository-for-secret-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/secret-name" + }, + { + "in": "path", + "name": "repository_id", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content when repository was added to the selected list" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "Add a selected repository to a user secret", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "secrets" + } + } + }, + "/user/codespaces/{codespace_name}": { + "delete": { + "description": "Deletes a user's codespace.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#delete-a-codespace-for-the-authenticated-user" + }, + "operationId": "codespaces/delete-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/codespace-name" + } + ], + "responses": { + "202": { + "$ref": "#/components/responses/accepted" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "Delete a codespace for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "Gets information about a user's codespace.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#get-a-codespace-for-the-authenticated-user" + }, + "operationId": "codespaces/get-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/codespace-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespace" + } + }, + "schema": { + "$ref": "#/components/schemas/codespace" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "Get a codespace for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "patch": { + "description": "Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.\n\nIf you specify a new machine type it will be applied the next time your codespace is started.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#update-a-codespace-for-the-authenticated-user" + }, + "operationId": "codespaces/update-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/codespace-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "machine": "standardLinux" + } + } + }, + "schema": { + "properties": { + "display_name": { + "description": "Display name for this codespace", + "type": "string" + }, + "machine": { + "description": "A valid machine to transition this codespace to.", + "type": "string" + }, + "recent_folders": { + "description": "Recently opened folders inside the codespace. It is currently used by the clients to determine the folder path to load the codespace in.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespace" + } + }, + "schema": { + "$ref": "#/components/schemas/codespace" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Update a codespace for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/codespaces/{codespace_name}/exports": { + "post": { + "description": "Triggers an export of the specified codespace and returns a URL and ID where the status of the export can be monitored.\n\nIf changes cannot be pushed to the codespace's repository, they will be pushed to a new or previously-existing fork instead.\n\nYou must authenticate using a personal access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces_lifecycle_admin` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user" + }, + "operationId": "codespaces/export-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/codespace-name" + } + ], + "responses": { + "202": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/user-export-details" + } + }, + "schema": { + "$ref": "#/components/schemas/codespace-export-details" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "Export a codespace for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/codespaces/{codespace_name}/exports/{export_id}": { + "get": { + "description": "Gets information about an export of a codespace.\n\nYou must authenticate using a personal access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces_lifecycle_admin` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export" + }, + "operationId": "codespaces/get-export-details-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/codespace-name" + }, + { + "$ref": "#/components/parameters/export-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/user-export-details" + } + }, + "schema": { + "$ref": "#/components/schemas/codespace-export-details" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get details about a codespace export", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/codespaces/{codespace_name}/machines": { + "get": { + "description": "List the machine types a codespace can transition to use.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have read access to the `codespaces_metadata` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#list-machine-types-for-a-codespace" + }, + "operationId": "codespaces/codespace-machines-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/codespace-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespace-machines-list" + } + }, + "schema": { + "properties": { + "machines": { + "items": { + "$ref": "#/components/schemas/codespace-machine" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "machines" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "List machine types for a codespace", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "machines" + } + } + }, + "/user/codespaces/{codespace_name}/publish": { + "post": { + "description": "Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.\n\nThe codespace's token is granted write permissions to the repository, allowing the user to push their changes.\n\nThis will fail for a codespace that is already published, meaning it has an associated repository.\n\nYou must authenticate using a personal access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace" + }, + "operationId": "codespaces/publish-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/codespace-name" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "private": false, + "repository": "monalisa-octocat-hello-world-g4wpq6h95q" + } + } + }, + "schema": { + "properties": { + "name": { + "description": "A name for the new repository.", + "type": "string" + }, + "private": { + "default": false, + "description": "Whether the new repository should be private.", + "type": "boolean" + } + }, + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespace-with-full-repository" + } + }, + "schema": { + "$ref": "#/components/schemas/codespace-with-full-repository" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a repository from an unpublished codespace", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/codespaces/{codespace_name}/start": { + "post": { + "description": "Starts a user's codespace.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces_lifecycle_admin` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#start-a-codespace-for-the-authenticated-user" + }, + "operationId": "codespaces/start-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/codespace-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespace" + } + }, + "schema": { + "$ref": "#/components/schemas/codespace" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "402": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Payment required" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "Start a codespace for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/codespaces/{codespace_name}/stop": { + "post": { + "description": "Stops a user's codespace.\n\nYou must authenticate using an access token with the `codespace` scope to use this endpoint.\n\nGitHub Apps must have write access to the `codespaces_lifecycle_admin` repository permission to use this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/codespaces#stop-a-codespace-for-the-authenticated-user" + }, + "operationId": "codespaces/stop-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/codespace-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/codespace" + } + }, + "schema": { + "$ref": "#/components/schemas/codespace" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "summary": "Stop a codespace for the authenticated user", + "tags": [ + "codespaces" + ], + "x-github": { + "category": "codespaces", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/email/visibility": { + "patch": { + "description": "Sets the visibility for your primary email addresses.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user" + }, + "operationId": "users/set-primary-email-visibility-for-authenticated-user", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example setting the primary email address to private", + "value": { + "visibility": "private" + } + } + }, + "schema": { + "properties": { + "visibility": { + "description": "Denotes whether an email is publicly visible.", + "enum": [ + "public", + "private" + ], + "type": "string" + } + }, + "required": [ + "visibility" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/email-items-3" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/email" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Set primary email visibility for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "emails" + } + } + }, + "/user/emails": { + "delete": { + "description": "This endpoint is accessible with the `user` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#delete-an-email-address-for-the-authenticated-user" + }, + "operationId": "users/delete-email-for-authenticated-user", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example deleting multiple email accounts", + "value": { + "emails": [ + "octocat@github.com", + "mona@github.com" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "description": "Deletes one or more email addresses from your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key.", + "example": { + "emails": [ + "octocat@github.com", + "mona@github.com" + ] + }, + "properties": { + "emails": { + "description": "Email addresses associated with the GitHub user account.", + "items": { + "example": "username@example.com", + "minItems": 1, + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "emails" + ], + "type": "object" + }, + { + "items": { + "example": "username@example.com", + "minItems": 1, + "type": "string" + }, + "type": "array" + }, + { + "type": "string" + } + ] + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Delete an email address for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "emails" + } + }, + "get": { + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#list-email-addresses-for-the-authenticated-user" + }, + "operationId": "users/list-emails-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/email-items-2" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/email" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List email addresses for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "emails" + } + }, + "post": { + "description": "This endpoint is accessible with the `user` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#add-an-email-address-for-the-authenticated-user" + }, + "operationId": "users/add-email-for-authenticated-user", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Example adding multiple email addresses", + "value": { + "emails": [ + "octocat@github.com", + "mona@github.com", + "octocat@octocat.org" + ] + } + } + }, + "schema": { + "oneOf": [ + { + "example": { + "emails": [ + "octocat@github.com", + "mona@github.com" + ] + }, + "properties": { + "emails": { + "description": "Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key.", + "example": [], + "items": { + "example": "username@example.com", + "minItems": 1, + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "emails" + ], + "type": "object" + }, + { + "items": { + "example": "username@example.com", + "minItems": 1, + "type": "string" + }, + "type": "array" + }, + { + "type": "string" + } + ] + } + } + }, + "required": false + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/email-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/email" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Add an email address for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "emails" + } + } + }, + "/user/followers": { + "get": { + "description": "Lists the people following the authenticated user.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#list-followers-of-the-authenticated-user" + }, + "operationId": "users/list-followers-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List followers of the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "followers" + } + } + }, + "/user/following": { + "get": { + "description": "Lists the people who the authenticated user follows.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#list-the-people-the-authenticated-user-follows" + }, + "operationId": "users/list-followed-by-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List the people the authenticated user follows", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "followers" + } + } + }, + "/user/following/{username}": { + "delete": { + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#unfollow-a-user" + }, + "operationId": "users/unfollow", + "parameters": [ + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Unfollow a user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "followers" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user" + }, + "operationId": "users/check-person-is-followed-by-authenticated", + "parameters": [ + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "if the person is followed by the authenticated user" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "if the person is not followed by the authenticated user" + } + }, + "summary": "Check if a person is followed by the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "followers" + } + }, + "put": { + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#follow-a-user" + }, + "operationId": "users/follow", + "parameters": [ + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Follow a user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "followers" + } + } + }, + "/user/gpg_keys": { + "get": { + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#list-gpg-keys-for-the-authenticated-user" + }, + "operationId": "users/list-gpg-keys-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/gpg-key-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/gpg-key" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List GPG keys for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "gpg-keys" + } + }, + "post": { + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#create-a-gpg-key-for-the-authenticated-user" + }, + "operationId": "users/create-gpg-key-for-authenticated-user", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "armored_public_key": "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQINBFnZ2ZIBEADQ2Z7Z7\n-----END PGP PUBLIC KEY BLOCK-----", + "name": "Octocat's GPG Key" + } + } + }, + "schema": { + "properties": { + "armored_public_key": { + "description": "A GPG key in ASCII-armored format.", + "type": "string" + }, + "name": { + "description": "A descriptive name for the new key.", + "type": "string" + } + }, + "required": [ + "armored_public_key" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/gpg-key" + } + }, + "schema": { + "$ref": "#/components/schemas/gpg-key" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a GPG key for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "gpg-keys" + } + } + }, + "/user/gpg_keys/{gpg_key_id}": { + "delete": { + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user" + }, + "operationId": "users/delete-gpg-key-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/gpg-key-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Delete a GPG key for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "gpg-keys" + } + }, + "get": { + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#get-a-gpg-key-for-the-authenticated-user" + }, + "operationId": "users/get-gpg-key-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/gpg-key-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/gpg-key" + } + }, + "schema": { + "$ref": "#/components/schemas/gpg-key" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a GPG key for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "gpg-keys" + } + } + }, + "/user/installations": { + "get": { + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token" + }, + "operationId": "apps/list-installations-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/base-installation-for-auth-user-paginated" + } + }, + "schema": { + "properties": { + "installations": { + "items": { + "$ref": "#/components/schemas/installation" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "installations" + ], + "type": "object" + } + } + }, + "description": "You can find the permissions for the installation under the `permissions` key.", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List app installations accessible to the user access token", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "installations" + } + } + }, + "/user/installations/{installation_id}/repositories": { + "get": { + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-user-access-token" + }, + "operationId": "apps/list-installation-repos-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/installation-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repository-paginated" + } + }, + "schema": { + "properties": { + "repositories": { + "items": { + "$ref": "#/components/schemas/repository" + }, + "type": "array" + }, + "repository_selection": { + "type": "string" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "repositories" + ], + "type": "object" + } + } + }, + "description": "The access the user has to each repository is included in the hash under the `permissions` key.", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List repositories accessible to the user access token", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "installations" + } + } + }, + "/user/installations/{installation_id}/repositories/{repository_id}": { + "delete": { + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#remove-a-repository-from-an-app-installation" + }, + "operationId": "apps/remove-repo-from-installation-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/installation-id" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Remove a repository from an app installation", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "installations" + } + }, + "put": { + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#add-a-repository-to-an-app-installation" + }, + "operationId": "apps/add-repo-to-installation-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/installation-id" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Add a repository to an app installation", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "installations" + } + } + }, + "/user/interaction-limits": { + "delete": { + "description": "Removes any interaction restrictions from your public repositories.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-from-your-public-repositories" + }, + "operationId": "interactions/remove-restrictions-for-authenticated-user", + "responses": { + "204": { + "description": "Response" + } + }, + "summary": "Remove interaction restrictions from your public repositories", + "tags": [ + "interactions" + ], + "x-github": { + "category": "interactions", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "user" + } + }, + "get": { + "description": "Shows which type of GitHub user can interact with your public repositories and when the restriction expires.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-your-public-repositories" + }, + "operationId": "interactions/get-restrictions-for-authenticated-user", + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/interaction-limit-response" + } + }, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/interaction-limit-response" + }, + { + "additionalProperties": false, + "properties": {}, + "type": "object" + } + ] + } + } + }, + "description": "Default response" + }, + "204": { + "description": "Response when there are no restrictions" + } + }, + "summary": "Get interaction restrictions for your public repositories", + "tags": [ + "interactions" + ], + "x-github": { + "category": "interactions", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "user" + } + }, + "put": { + "description": "Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-your-public-repositories" + }, + "operationId": "interactions/set-restrictions-for-authenticated-user", + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "expiry": "one_month", + "limit": "collaborators_only" + } + } + }, + "schema": { + "$ref": "#/components/schemas/interaction-limit" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/interaction-limit-user" + } + }, + "schema": { + "$ref": "#/components/schemas/interaction-limit-response" + } + } + }, + "description": "Response" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Set interaction restrictions for your public repositories", + "tags": [ + "interactions" + ], + "x-github": { + "category": "interactions", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "user" + } + } + }, + "/user/issues": { + "get": { + "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user" + }, + "operationId": "issues/list-for-authenticated-user", + "parameters": [ + { + "description": "Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means issues mentioning you. `subscribed` means issues you're subscribed to updates for. `all` or `repos` means all issues you can see, regardless of participation or creation.", + "in": "query", + "name": "filter", + "required": false, + "schema": { + "default": "assigned", + "enum": [ + "assigned", + "created", + "mentioned", + "subscribed", + "repos", + "all" + ], + "type": "string" + } + }, + { + "description": "Indicates the state of the issues to return.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "default": "open", + "enum": [ + "open", + "closed", + "all" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/labels" + }, + { + "description": "What to sort results by.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "created", + "enum": [ + "created", + "updated", + "comments" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/issue-with-repo-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/issue" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List user account issues assigned to the authenticated user", + "tags": [ + "issues" + ], + "x-github": { + "category": "issues", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/keys": { + "get": { + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user" + }, + "operationId": "users/list-public-ssh-keys-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/key-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/key" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List public SSH keys for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "keys" + } + }, + "post": { + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user" + }, + "operationId": "users/create-public-ssh-key-for-authenticated-user", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", + "title": "ssh-rsa AAAAB3NzaC1yc2EAAA" + } + } + }, + "schema": { + "properties": { + "key": { + "description": "The public SSH key to add to your GitHub account.", + "pattern": "^ssh-(rsa|dss|ed25519) |^ecdsa-sha2-nistp(256|384|521) ", + "type": "string" + }, + "title": { + "description": "A descriptive name for the new key.", + "example": "Personal MacBook Air", + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/key" + } + }, + "schema": { + "$ref": "#/components/schemas/key" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a public SSH key for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "keys" + } + } + }, + "/user/keys/{key_id}": { + "delete": { + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user" + }, + "operationId": "users/delete-public-ssh-key-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/key-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a public SSH key for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "keys" + } + }, + "get": { + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user" + }, + "operationId": "users/get-public-ssh-key-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/key-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/key" + } + }, + "schema": { + "$ref": "#/components/schemas/key" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a public SSH key for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "keys" + } + } + }, + "/user/marketplace_purchases": { + "get": { + "description": "Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user" + }, + "operationId": "apps/list-subscriptions-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/user-marketplace-purchase-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/user-marketplace-purchase" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List subscriptions for the authenticated user", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "marketplace" + } + } + }, + "/user/marketplace_purchases/stubbed": { + "get": { + "description": "Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user-stubbed" + }, + "operationId": "apps/list-subscriptions-for-authenticated-user-stubbed", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/user-marketplace-purchase-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/user-marketplace-purchase" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "summary": "List subscriptions for the authenticated user (stubbed)", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "marketplace" + } + } + }, + "/user/memberships/orgs": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user" + }, + "operationId": "orgs/list-memberships-for-authenticated-user", + "parameters": [ + { + "description": "Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "enum": [ + "active", + "pending" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/org-membership-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/org-membership" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List organization memberships for the authenticated user", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "members" + } + } + }, + "/user/memberships/orgs/{org}": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user" + }, + "operationId": "orgs/get-membership-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/org-membership" + } + }, + "schema": { + "$ref": "#/components/schemas/org-membership" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get an organization membership for the authenticated user", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "members" + } + }, + "patch": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user" + }, + "operationId": "orgs/update-membership-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "state": "active" + } + } + }, + "schema": { + "properties": { + "state": { + "description": "The state that the membership should be in. Only `\"active\"` will be accepted.", + "enum": [ + "active" + ], + "type": "string" + } + }, + "required": [ + "state" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/org-membership-2" + } + }, + "schema": { + "$ref": "#/components/schemas/org-membership" + } + } + }, + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Update an organization membership for the authenticated user", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "members" + } + } + }, + "/user/migrations": { + "get": { + "description": "Lists all migrations a user has started.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/users#list-user-migrations" + }, + "operationId": "migrations/list-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/migration-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/migration" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List user migrations", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "users" + } + }, + "post": { + "description": "Initiates the generation of a user migration archive.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/users#start-a-user-migration" + }, + "operationId": "migrations/start-for-authenticated-user", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "lock_repositories": true, + "repositories": [ + "octocat/Hello-World" + ] + } + } + }, + "schema": { + "properties": { + "exclude": { + "description": "Exclude attributes from the API response to improve performance", + "example": [ + "repositories" + ], + "items": { + "description": "Allowed values that can be passed to the exclude param.", + "enum": [ + "repositories" + ], + "example": "repositories", + "type": "string" + }, + "readOnly": false, + "type": "array" + }, + "exclude_attachments": { + "description": "Do not include attachments in the migration", + "example": true, + "readOnly": false, + "type": "boolean" + }, + "exclude_git_data": { + "description": "Indicates whether the repository git data should be excluded from the migration.", + "example": true, + "readOnly": false, + "type": "boolean" + }, + "exclude_metadata": { + "description": "Indicates whether metadata should be excluded and only git source should be included for the migration.", + "example": true, + "readOnly": false, + "type": "boolean" + }, + "exclude_owner_projects": { + "description": "Indicates whether projects owned by the organization or users should be excluded.", + "example": true, + "readOnly": false, + "type": "boolean" + }, + "exclude_releases": { + "description": "Do not include releases in the migration", + "example": true, + "readOnly": false, + "type": "boolean" + }, + "lock_repositories": { + "description": "Lock the repositories being migrated at the start of the migration", + "example": true, + "readOnly": false, + "type": "boolean" + }, + "org_metadata_only": { + "default": false, + "description": "Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).", + "example": true, + "type": "boolean" + }, + "repositories": { + "items": { + "description": "Repository path, owner and name", + "example": "acme/widgets", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "repositories" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/migration-2" + } + }, + "schema": { + "$ref": "#/components/schemas/migration" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Start a user migration", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "users" + } + } + }, + "/user/migrations/{migration_id}": { + "get": { + "description": "Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:\n\n* `pending` - the migration hasn't started yet.\n* `exporting` - the migration is in progress.\n* `exported` - the migration finished successfully.\n* `failed` - the migration failed.\n\nOnce the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/migrations/users#download-a-user-migration-archive).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/users#get-a-user-migration-status" + }, + "operationId": "migrations/get-status-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/migration-id" + }, + { + "in": "query", + "name": "exclude", + "required": false, + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/migration" + } + }, + "schema": { + "$ref": "#/components/schemas/migration" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a user migration status", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "users" + } + } + }, + "/user/migrations/{migration_id}/archive": { + "delete": { + "description": "Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/migrations/users#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/migrations/users#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive" + }, + "operationId": "migrations/delete-archive-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/migration-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a user migration archive", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "users" + } + }, + "get": { + "description": "Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:\n\n* attachments\n* bases\n* commit\\_comments\n* issue\\_comments\n* issue\\_events\n* issues\n* milestones\n* organizations\n* projects\n* protected\\_branches\n* pull\\_request\\_reviews\n* pull\\_requests\n* releases\n* repositories\n* review\\_comments\n* schema\n* users\n\nThe archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/users#download-a-user-migration-archive" + }, + "operationId": "migrations/get-archive-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/migration-id" + } + ], + "responses": { + "302": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "Download a user migration archive", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "users" + } + } + }, + "/user/migrations/{migration_id}/repos/{repo_name}/lock": { + "delete": { + "description": "Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/migrations/users#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/repos/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/users#unlock-a-user-repository" + }, + "operationId": "migrations/unlock-repo-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/migration-id" + }, + { + "$ref": "#/components/parameters/repo-name" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Unlock a user repository", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "users" + } + } + }, + "/user/migrations/{migration_id}/repositories": { + "get": { + "description": "Lists all the repositories for this user migration.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration" + }, + "operationId": "migrations/list-repos-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/migration-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List repositories for a user migration", + "tags": [ + "migrations" + ], + "x-github": { + "category": "migrations", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "users" + } + } + }, + "/user/orgs": { + "get": { + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user" + }, + "operationId": "orgs/list-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/organization-simple" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List organizations for the authenticated user", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/packages": { + "get": { + "description": "Lists packages owned by the authenticated user within the user's namespace.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#list-packages-for-the-authenticated-user" + }, + "operationId": "packages/list-packages-for-authenticated-user", + "parameters": [ + { + "description": "The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.", + "in": "query", + "name": "package_type", + "required": true, + "schema": { + "enum": [ + "npm", + "maven", + "rubygems", + "docker", + "nuget", + "container" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/package-visibility" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/packages-for-user" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/package" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "List packages for the authenticated user's namespace", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/packages/{package_type}/{package_name}": { + "delete": { + "description": "Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` and `delete:packages` scopes.\nIf the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#delete-a-package-for-the-authenticated-user" + }, + "operationId": "packages/delete-package-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a package for the authenticated user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "Gets a specific package for a package owned by the authenticated user.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#get-a-package-for-the-authenticated-user" + }, + "operationId": "packages/get-package-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/package-user" + } + }, + "schema": { + "$ref": "#/components/schemas/package" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a package for the authenticated user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/packages/{package_type}/{package_name}/restore": { + "post": { + "description": "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#restore-a-package-for-the-authenticated-user" + }, + "operationId": "packages/restore-package-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "description": "package token", + "in": "query", + "name": "token", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Restore a package for the authenticated user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/packages/{package_type}/{package_name}/versions": { + "get": { + "description": "Lists package versions for a package owned by the authenticated user.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/packages#get-all-package-versions-for-a-package-owned-by-the-authenticated-user" + }, + "operationId": "packages/get-all-package-versions-for-package-owned-by-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "description": "The state of the package, either active or deleted.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "default": "active", + "enum": [ + "active", + "deleted" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/package-versions-for-authenticated-user" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/package-version" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List package versions for a package owned by the authenticated user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/packages/{package_type}/{package_name}/versions/{package_version_id}": { + "delete": { + "description": "Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nTo use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `delete:packages` scopes.\nIf the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#delete-a-package-version-for-the-authenticated-user" + }, + "operationId": "packages/delete-package-version-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a package version for the authenticated user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "Gets a specific package version for a package owned by the authenticated user.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#get-a-package-version-for-the-authenticated-user" + }, + "operationId": "packages/get-package-version-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/package-version-authenticated-user" + } + }, + "schema": { + "$ref": "#/components/schemas/package-version" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a package version for the authenticated user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { + "post": { + "description": "Restores a package version owned by the authenticated user.\n\nYou can restore a deleted package version under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#restore-a-package-version-for-the-authenticated-user" + }, + "operationId": "packages/restore-package-version-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Restore a package version for the authenticated user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/projects": { + "post": { + "description": "Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#create-a-user-project" + }, + "operationId": "projects/create-for-authenticated-user", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "summary": "Create a new project", + "value": { + "body": "A board to manage my personal projects.", + "name": "My Projects" + } + } + }, + "schema": { + "properties": { + "body": { + "description": "Body of the project", + "example": "This project represents the sprint of the first week in January", + "nullable": true, + "type": "string" + }, + "name": { + "description": "Name of the project", + "example": "Week One Sprint", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project" + } + }, + "schema": { + "$ref": "#/components/schemas/project" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "summary": "Create a user project", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/public_emails": { + "get": { + "description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#list-public-email-addresses-for-the-authenticated-user" + }, + "operationId": "users/list-public-emails-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/email-items-2" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/email" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List public email addresses for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "emails" + } + } + }, + "/user/repos": { + "get": { + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#list-repositories-for-the-authenticated-user" + }, + "operationId": "repos/list-for-authenticated-user", + "parameters": [ + { + "description": "Limit results to repositories with the specified visibility.", + "in": "query", + "name": "visibility", + "required": false, + "schema": { + "default": "all", + "enum": [ + "all", + "public", + "private" + ], + "type": "string" + } + }, + { + "description": "Comma-separated list of values. Can include: \n * `owner`: Repositories that are owned by the authenticated user. \n * `collaborator`: Repositories that the user has been added to as a collaborator. \n * `organization_member`: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.", + "in": "query", + "name": "affiliation", + "required": false, + "schema": { + "default": "owner,collaborator,organization_member", + "type": "string" + } + }, + { + "description": "Limit results to repositories of the specified type. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", + "in": "query", + "name": "type", + "required": false, + "schema": { + "default": "all", + "enum": [ + "all", + "owner", + "public", + "private", + "member" + ], + "type": "string" + } + }, + { + "description": "The property to sort the results by.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "full_name", + "enum": [ + "created", + "updated", + "pushed", + "full_name" + ], + "type": "string" + } + }, + { + "description": "The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`.", + "in": "query", + "name": "direction", + "required": false, + "schema": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/before" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repository-items-default-response" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/repository" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List repositories for the authenticated user", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "post": { + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user" + }, + "operationId": "repos/create-for-authenticated-user", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "description": "This is your first repo!", + "homepage": "https://github.com", + "is_template": true, + "name": "Hello-World", + "private": false + } + } + }, + "schema": { + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow Auto-merge to be used on pull requests.", + "example": false, + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "example": true, + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "example": true, + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "example": true, + "type": "boolean" + }, + "auto_init": { + "default": false, + "description": "Whether the repository is initialized with a minimal README.", + "type": "boolean" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "example": false, + "type": "boolean" + }, + "description": { + "description": "A short description of the repository.", + "type": "string" + }, + "gitignore_template": { + "description": "The desired language or platform to apply to the .gitignore.", + "example": "Haskell", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "example": true, + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "example": true, + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "example": true, + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "example": true, + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "example": true, + "type": "boolean" + }, + "homepage": { + "description": "A URL with more information about the repository.", + "type": "string" + }, + "is_template": { + "default": false, + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "example": true, + "type": "boolean" + }, + "license_template": { + "description": "The license keyword of the open source license for this repository.", + "example": "mit", + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "example": "Team Environment", + "type": "string" + }, + "private": { + "default": false, + "description": "Whether the repository is private.", + "type": "boolean" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "team_id": { + "description": "The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.", + "type": "integer" + } + }, + "required": [ + "name" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repository" + } + }, + "schema": { + "$ref": "#/components/schemas/repository" + } + } + }, + "description": "Response", + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a repository for the authenticated user", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/user/repository_invitations": { + "get": { + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user" + }, + "operationId": "repos/list-invitations-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/repository-invitation-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/repository-invitation" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List repository invitations for the authenticated user", + "tags": [ + "repos" + ], + "x-github": { + "category": "collaborators", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "invitations" + } + } + }, + "/user/repository_invitations/{invitation_id}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation" + }, + "operationId": "repos/decline-invitation-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/invitation-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "summary": "Decline a repository invitation", + "tags": [ + "repos" + ], + "x-github": { + "category": "collaborators", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "invitations" + } + }, + "patch": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation" + }, + "operationId": "repos/accept-invitation-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/invitation-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "summary": "Accept a repository invitation", + "tags": [ + "repos" + ], + "x-github": { + "category": "collaborators", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "invitations" + } + } + }, + "/user/ssh_signing_keys": { + "get": { + "description": "Lists the SSH signing keys for the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `read:ssh_signing_key` scope. For more information, see \"[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#list-public-ssh-signing-keys-for-the-authenticated-user" + }, + "operationId": "users/list-ssh-signing-keys-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/ssh-signing-key-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/ssh-signing-key" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List SSH signing keys for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "previews": [], + "subcategory": "ssh-signing-keys" + } + }, + "post": { + "description": "Creates an SSH signing key for the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `write:ssh_signing_key` scope. For more information, see \"[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#create-an-ssh-signing-key-for-the-authenticated-user" + }, + "operationId": "users/create-ssh-signing-key-for-authenticated-user", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "value": { + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", + "title": "ssh-rsa AAAAB3NzaC1yc2EAAA" + } + } + }, + "schema": { + "properties": { + "key": { + "description": "The public SSH key to add to your GitHub account. For more information, see \"[Checking for existing SSH keys](https://docs.github.com/authentication/connecting-to-github-with-ssh/checking-for-existing-ssh-keys).\"", + "pattern": "^ssh-(rsa|dss|ed25519) |^ecdsa-sha2-nistp(256|384|521) |^(sk-ssh-ed25519|sk-ecdsa-sha2-nistp256)@openssh.com ", + "type": "string" + }, + "title": { + "description": "A descriptive name for the new key.", + "example": "Personal MacBook Air", + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/ssh-signing-key" + } + }, + "schema": { + "$ref": "#/components/schemas/ssh-signing-key" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Create a SSH signing key for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "ssh-signing-keys" + } + } + }, + "/user/ssh_signing_keys/{ssh_signing_key_id}": { + "delete": { + "description": "Deletes an SSH signing key from the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `admin:ssh_signing_key` scope. For more information, see \"[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#delete-a-ssh-signing-key-for-the-authenticated-user" + }, + "operationId": "users/delete-ssh-signing-key-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/ssh-signing-key-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete an SSH signing key for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "ssh-signing-keys" + } + }, + "get": { + "description": "Gets extended details for an SSH signing key. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `read:ssh_signing_key` scope. For more information, see \"[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#get-a-ssh-signing-key-for-the-authenticated-user" + }, + "operationId": "users/get-ssh-signing-key-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/ssh-signing-key-id" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/ssh-signing-key" + } + }, + "schema": { + "$ref": "#/components/schemas/ssh-signing-key" + } + } + }, + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get an SSH signing key for the authenticated user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "ssh-signing-keys" + } + } + }, + "/user/starred": { + "get": { + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-repositories-starred-by-the-authenticated-user" + }, + "operationId": "activity/list-repos-starred-by-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/sort" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default-response": { + "$ref": "#/components/examples/repository-items-default-response" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/repository" + }, + "type": "array" + } + }, + "application/vnd.github.v3.star+json": { + "examples": { + "alternative-response-with-star-creation-timestamps": { + "$ref": "#/components/examples/starred-repository-items-alternative-response-with-star-creation-timestamps" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/starred-repository" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List repositories starred by the authenticated user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "starring" + } + } + }, + "/user/starred/{owner}/{repo}": { + "delete": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#unstar-a-repository-for-the-authenticated-user" + }, + "operationId": "activity/unstar-repo-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Unstar a repository for the authenticated user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "starring" + } + }, + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user" + }, + "operationId": "activity/check-repo-is-starred-by-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response if this repository is starred by you" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Not Found if this repository is not starred by you" + } + }, + "summary": "Check if a repository is starred by the authenticated user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "starring" + } + }, + "put": { + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#star-a-repository-for-the-authenticated-user" + }, + "operationId": "activity/star-repo-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Star a repository for the authenticated user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "starring" + } + } + }, + "/user/subscriptions": { + "get": { + "description": "Lists repositories the authenticated user is watching.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-repositories-watched-by-the-authenticated-user" + }, + "operationId": "activity/list-watched-repos-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List repositories watched by the authenticated user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "watching" + } + } + }, + "/user/teams": { + "get": { + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/apps/building-oauth-apps/).", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/teams#list-teams-for-the-authenticated-user" + }, + "operationId": "teams/list-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/team-full-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/team-full" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List teams for the authenticated user", + "tags": [ + "teams" + ], + "x-github": { + "category": "teams", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users": { + "get": { + "description": "Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#list-users" + }, + "operationId": "users/list", + "parameters": [ + { + "$ref": "#/components/parameters/since-user" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "example": "; rel=\"next\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + } + }, + "summary": "List users", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}": { + "get": { + "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/rest/reference/users#emails)\".", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#get-a-user" + }, + "operationId": "users/get-by-username", + "parameters": [ + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default-response": { + "$ref": "#/components/examples/public-user-default-response" + }, + "response-with-git-hub-plan-information": { + "$ref": "#/components/examples/public-user-response-with-git-hub-plan-information" + } + }, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/private-user" + }, + { + "$ref": "#/components/schemas/public-user" + } + ] + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get a user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/events": { + "get": { + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-events-for-the-authenticated-user" + }, + "operationId": "activity/list-events-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/user-events-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/event" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "List events for the authenticated user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "events" + } + } + }, + "/users/{username}/events/orgs/{org}": { + "get": { + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-organization-events-for-the-authenticated-user" + }, + "operationId": "activity/list-org-events-for-authenticated-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/user-org-events-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/event" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "List organization events for the authenticated user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": "events" + } + } + }, + "/users/{username}/events/public": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-public-events-for-a-user" + }, + "operationId": "activity/list-public-events-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/user-public-events-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/event" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "List public events for a user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "events" + } + } + }, + "/users/{username}/followers": { + "get": { + "description": "Lists the people following the specified user.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#list-followers-of-a-user" + }, + "operationId": "users/list-followers-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List followers of a user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "followers" + } + } + }, + "/users/{username}/following": { + "get": { + "description": "Lists the people who the specified user follows.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#list-the-people-a-user-follows" + }, + "operationId": "users/list-following-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/simple-user-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List the people a user follows", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "followers" + } + } + }, + "/users/{username}/following/{target_user}": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#check-if-a-user-follows-another-user" + }, + "operationId": "users/check-following-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "in": "path", + "name": "target_user", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "if the user follows the target user" + }, + "404": { + "description": "if the user does not follow the target user" + } + }, + "summary": "Check if a user follows another user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "followers" + } + } + }, + "/users/{username}/gists": { + "get": { + "description": "Lists public gists for the specified user:", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/gists#list-gists-for-a-user" + }, + "operationId": "gists/list-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/base-gist-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/base-gist" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List gists for a user", + "tags": [ + "gists" + ], + "x-github": { + "category": "gists", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/gpg_keys": { + "get": { + "description": "Lists the GPG keys for a user. This information is accessible by anyone.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#list-gpg-keys-for-a-user" + }, + "operationId": "users/list-gpg-keys-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/gpg-key-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/gpg-key" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List GPG keys for a user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "gpg-keys" + } + } + }, + "/users/{username}/hovercard": { + "get": { + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#get-contextual-information-for-a-user" + }, + "operationId": "users/get-context-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "description": "Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, `pull_request`. **Required** when using `subject_id`.", + "in": "query", + "name": "subject_type", + "required": false, + "schema": { + "enum": [ + "organization", + "repository", + "issue", + "pull_request" + ], + "type": "string" + } + }, + { + "description": "Uses the ID for the `subject_type` you specified. **Required** when using `subject_type`.", + "in": "query", + "name": "subject_id", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/hovercard" + } + }, + "schema": { + "$ref": "#/components/schemas/hovercard" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "Get contextual information for a user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/installation": { + "get": { + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/apps#get-a-user-installation-for-the-authenticated-app" + }, + "operationId": "apps/get-user-installation", + "parameters": [ + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/installation" + } + }, + "schema": { + "$ref": "#/components/schemas/installation" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a user installation for the authenticated app", + "tags": [ + "apps" + ], + "x-github": { + "category": "apps", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/keys": { + "get": { + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#list-public-keys-for-a-user" + }, + "operationId": "users/list-public-keys-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/key-simple-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/key-simple" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List public keys for a user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "keys" + } + } + }, + "/users/{username}/orgs": { + "get": { + "description": "List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/orgs#list-organizations-for-a-user" + }, + "operationId": "orgs/list-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/organization-simple" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List organizations for a user", + "tags": [ + "orgs" + ], + "x-github": { + "category": "orgs", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/packages": { + "get": { + "description": "Lists all packages in a user's namespace for which the requesting user has access.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#list-packages-for-user" + }, + "operationId": "packages/list-packages-for-user", + "parameters": [ + { + "description": "The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.", + "in": "query", + "name": "package_type", + "required": true, + "schema": { + "enum": [ + "npm", + "maven", + "rubygems", + "docker", + "nuget", + "container" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/package-visibility" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/packages-for-user" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/package" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "summary": "List packages for a user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/packages/{package_type}/{package_name}": { + "delete": { + "description": "Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:\n- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"\n- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to delete. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#delete-a-package-for-a-user" + }, + "operationId": "packages/delete-package-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete a package for a user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "Gets a specific package metadata for a public package owned by a user.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#get-a-package-for-a-user" + }, + "operationId": "packages/get-package-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/package-user" + } + }, + "schema": { + "$ref": "#/components/schemas/package" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a package for a user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/packages/{package_type}/{package_name}/restore": { + "post": { + "description": "Restores an entire package for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:\n- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"\n- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to restore. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#restore-a-package-for-a-user" + }, + "operationId": "packages/restore-package-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/username" + }, + { + "description": "package token", + "in": "query", + "name": "token", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Restore a package for a user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/packages/{package_type}/{package_name}/versions": { + "get": { + "description": "Lists package versions for a public package owned by a specified user.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/packages#get-all-package-versions-for-a-package-owned-by-a-user" + }, + "operationId": "packages/get-all-package-versions-for-package-owned-by-user", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/package-versions-for-user" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/package-version" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "List package versions for a package owned by a user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}": { + "delete": { + "description": "Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:\n- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"\n- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to delete. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#delete-a-package-version-for-a-user" + }, + "operationId": "packages/delete-package-version-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Delete package version for a user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + }, + "get": { + "description": "Gets a specific package version for a public package owned by a specified user.\n\nAt this time, to use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#get-a-package-version-for-a-user" + }, + "operationId": "packages/get-package-version-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/package-version-user" + } + }, + "schema": { + "$ref": "#/components/schemas/package-version" + } + } + }, + "description": "Response" + } + }, + "summary": "Get a package version for a user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": { + "post": { + "description": "Restores a specific package version for a user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\n\nTo use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:\n- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"\n- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to restore. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/packages#restore-a-package-version-for-a-user" + }, + "operationId": "packages/restore-package-version-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Restore package version for a user", + "tags": [ + "packages" + ], + "x-github": { + "category": "packages", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/projects": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/projects#list-user-projects" + }, + "operationId": "projects/list-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "description": "Indicates the state of the projects to return.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "default": "open", + "enum": [ + "open", + "closed", + "all" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/project-items-3" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/project" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "summary": "List user projects", + "tags": [ + "projects" + ], + "x-github": { + "category": "projects", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/received_events": { + "get": { + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-events-received-by-the-authenticated-user" + }, + "operationId": "activity/list-received-events-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/user-received-events-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/event" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "List events received by the authenticated user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "events" + } + } + }, + "/users/{username}/received_events/public": { + "get": { + "description": "", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-public-events-received-by-a-user" + }, + "operationId": "activity/list-received-public-events-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/user-received-public-events-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/event" + }, + "type": "array" + } + } + }, + "description": "Response" + } + }, + "summary": "List public events received by a user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "events" + } + } + }, + "/users/{username}/repos": { + "get": { + "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#list-repositories-for-a-user" + }, + "operationId": "repos/list-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "description": "Limit results to repositories of the specified type.", + "in": "query", + "name": "type", + "required": false, + "schema": { + "default": "owner", + "enum": [ + "all", + "owner", + "member" + ], + "type": "string" + } + }, + { + "description": "The property to sort the results by.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "full_name", + "enum": [ + "created", + "updated", + "pushed", + "full_name" + ], + "type": "string" + } + }, + { + "description": "The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`.", + "in": "query", + "name": "direction", + "required": false, + "schema": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List repositories for a user", + "tags": [ + "repos" + ], + "x-github": { + "category": "repos", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/settings/billing/actions": { + "get": { + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAccess tokens must have the `user` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-a-user" + }, + "operationId": "billing/get-github-actions-billing-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/actions-billing-usage" + } + }, + "schema": { + "$ref": "#/components/schemas/actions-billing-usage" + } + } + }, + "description": "Response" + } + }, + "summary": "Get GitHub Actions billing for a user", + "tags": [ + "billing" + ], + "x-github": { + "category": "billing", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/settings/billing/packages": { + "get": { + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `user` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-a-user" + }, + "operationId": "billing/get-github-packages-billing-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/packages-billing-usage" + } + }, + "schema": { + "$ref": "#/components/schemas/packages-billing-usage" + } + } + }, + "description": "Response" + } + }, + "summary": "Get GitHub Packages billing for a user", + "tags": [ + "billing" + ], + "x-github": { + "category": "billing", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/settings/billing/shared-storage": { + "get": { + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `user` scope.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-a-user" + }, + "operationId": "billing/get-shared-storage-billing-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/combined-billing-usage" + } + }, + "schema": { + "$ref": "#/components/schemas/combined-billing-usage" + } + } + }, + "description": "Response" + } + }, + "summary": "Get shared storage billing for a user", + "tags": [ + "billing" + ], + "x-github": { + "category": "billing", + "enabledForGitHubApps": false, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/users/{username}/ssh_signing_keys": { + "get": { + "description": "Lists the SSH signing keys for a user. This operation is accessible by anyone.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/users#list-ssh-signing-keys-for-a-user" + }, + "operationId": "users/list-ssh-signing-keys-for-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/ssh-signing-key-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/ssh-signing-key" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List SSH signing keys for a user", + "tags": [ + "users" + ], + "x-github": { + "category": "users", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "ssh-signing-keys" + } + } + }, + "/users/{username}/starred": { + "get": { + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-repositories-starred-by-a-user" + }, + "operationId": "activity/list-repos-starred-by-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/sort" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default-response": { + "$ref": "#/components/examples/repository-items-default-response" + } + }, + "schema": { + "anyOf": [ + { + "items": { + "$ref": "#/components/schemas/starred-repository" + }, + "type": "array" + }, + { + "items": { + "$ref": "#/components/schemas/repository" + }, + "type": "array" + } + ] + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List repositories starred by a user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "starring" + } + } + }, + "/users/{username}/subscriptions": { + "get": { + "description": "Lists repositories a user is watching.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/activity#list-repositories-watched-by-a-user" + }, + "operationId": "activity/list-repos-watched-by-user", + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-items" + } + }, + "schema": { + "items": { + "$ref": "#/components/schemas/minimal-repository" + }, + "type": "array" + } + } + }, + "description": "Response", + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "summary": "List repositories watched by a user", + "tags": [ + "activity" + ], + "x-github": { + "category": "activity", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "watching" + } + } + }, + "/versions": { + "get": { + "description": "Get all supported GitHub API versions.", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/meta#get-all-api-versions" + }, + "operationId": "meta/get-all-versions", + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "default": { + "value": [ + "2021-01-01", + "2021-06-01", + "2022-01-01" + ] + } + }, + "schema": { + "items": { + "example": "2021-01-01", + "format": "date", + "type": "string" + }, + "type": "array" + } + } + }, + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "summary": "Get all API versions", + "tags": [ + "meta" + ], + "x-github": { + "category": "meta", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": null + } + } + }, + "/zen": { + "get": { + "description": "Get a random sentence from the Zen of GitHub", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/meta#get-the-zen-of-github" + }, + "operationId": "meta/get-zen", + "responses": { + "200": { + "content": { + "text/plain": { + "examples": { + "default": { + "summary": "Example response", + "value": "Responsive is better than fast" + } + }, + "schema": { + "type": "string" + } + } + }, + "description": "Response" + } + }, + "summary": "Get the Zen of GitHub", + "tags": [ + "meta" + ], + "x-github": { + "category": "meta", + "enabledForGitHubApps": true, + "githubCloudOnly": false + } + } + } + }, + "components": { + "examples": { + "actions-billing-usage": { + "value": { + "included_minutes": 3000, + "minutes_used_breakdown": { + "MACOS": 10, + "UBUNTU": 205, + "WINDOWS": 90 + }, + "total_minutes_used": 305, + "total_paid_minutes_used": 0 + } + }, + "actions-cache-list": { + "value": { + "actions_caches": [ + { + "created_at": "2019-01-24T22:45:36.000Z", + "id": 505, + "key": "Linux-node-958aff96db2d75d67787d1e634ae70b659de937b", + "last_accessed_at": "2019-01-24T22:45:36.000Z", + "ref": "refs/heads/main", + "size_in_bytes": 1024, + "version": "73885106f58cc52a7df9ec4d4a5622a5614813162cb516c759a30af6bf56e6f0" + } + ], + "total_count": 1 + } + }, + "actions-cache-usage": { + "value": { + "active_caches_count": 3, + "active_caches_size_in_bytes": 2322142, + "full_name": "octo-org/Hello-World" + } + }, + "actions-cache-usage-org-enterprise": { + "value": { + "total_active_caches_count": 5, + "total_active_caches_size_in_bytes": 3344284 + } + }, + "actions-default-workflow-permissions": { + "summary": "Give read-only permission, and allow approving PRs.", + "value": { + "can_approve_pull_request_reviews": true, + "default_workflow_permissions": "read" + } + }, + "actions-organization-permissions": { + "value": { + "allowed_actions": "selected", + "enabled_repositories": "all", + "selected_actions_url": "https://api.github.com/organizations/42/actions/permissions/selected-actions" + } + }, + "actions-public-key": { + "value": { + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", + "key_id": "012345678912345678" + } + }, + "actions-repository-permissions": { + "value": { + "allowed_actions": "selected", + "enabled": true, + "selected_actions_url": "https://api.github.com/repositories/42/actions/permissions/selected-actions" + } + }, + "actions-secret": { + "value": { + "created_at": "2019-08-10T14:59:22Z", + "name": "GH_TOKEN", + "updated_at": "2020-01-10T14:59:22Z" + } + }, + "actions-secret-paginated": { + "value": { + "secrets": [ + { + "created_at": "2019-08-10T14:59:22Z", + "name": "GH_TOKEN", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "created_at": "2020-01-10T10:59:22Z", + "name": "GIST_ID", + "updated_at": "2020-01-11T11:59:22Z" + } + ], + "total_count": 2 + } + }, + "actions-variable": { + "value": { + "created_at": "2021-08-10T14:59:22Z", + "name": "USERNAME", + "updated_at": "2022-01-10T14:59:22Z", + "value": "octocat" + } + }, + "actions-variables-paginated": { + "value": { + "total_count": 2, + "variables": [ + { + "created_at": "2019-08-10T14:59:22Z", + "name": "USERNAME", + "updated_at": "2020-01-10T14:59:22Z", + "value": "octocat" + }, + { + "created_at": "2020-01-10T10:59:22Z", + "name": "EMAIL", + "updated_at": "2020-01-11T11:59:22Z", + "value": "octocat@github.com" + } + ] + } + }, + "actions-workflow-access-to-repository": { + "value": { + "access_level": "organization" + } + }, + "api-overview": { + "value": { + "actions": [ + "4.148.0.0/16", + "13.67.153.64/26", + "2603:1030:804:220::/61", + "2603:1036:2500:10::/64" + ], + "api": [ + "192.30.252.0/22", + "185.199.108.0/22", + "140.82.112.0/20", + "143.55.64.0/20", + "2a0a:a440::/29", + "2606:50c0::/32", + "20.201.28.148/32" + ], + "dependabot": [ + "18.213.123.130/32", + "3.217.79.163/32", + "3.217.93.44/32" + ], + "git": [ + "192.30.252.0/22", + "185.199.108.0/22", + "140.82.112.0/20", + "143.55.64.0/20", + "2a0a:a440::/29", + "2606:50c0::/32" + ], + "hooks": [ + "192.30.252.0/22", + "185.199.108.0/22", + "140.82.112.0/20", + "143.55.64.0/20", + "2a0a:a440::/29", + "2606:50c0::/32" + ], + "importer": [ + "52.23.85.212/32", + "52.0.228.224/32", + "52.22.155.48/32" + ], + "packages": [ + "140.82.121.33/32", + "192.30.255.164/31", + "20.200.245.241/32", + "20.233.54.55/32" + ], + "pages": [ + "192.30.252.153/32", + "192.30.252.154/32", + "185.199.108.153/32", + "185.199.109.153/32", + "185.199.110.153/32", + "185.199.111.153/32", + "2606:50c0:8000::153/128", + "2606:50c0:8001::153/128", + "2606:50c0:8002::153/128", + "2606:50c0:8003::153/128" + ], + "ssh_key_fingerprints": { + "SHA256_DSA": "br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ", + "SHA256_ECDSA": "p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM", + "SHA256_ED25519": "+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU", + "SHA256_RSA": "nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8" + }, + "ssh_keys": [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl", + "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=", + "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==" + ], + "verifiable_password_authentication": true, + "web": [ + "192.30.252.0/22", + "185.199.108.0/22", + "140.82.112.0/20", + "143.55.64.0/20", + "2a0a:a440::/29", + "2606:50c0::/32", + "20.201.28.151/32", + "20.205.243.166/32", + "102.133.202.242/32" + ] + } + }, + "artifact": { + "value": { + "archive_download_url": "https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/11/zip", + "created_at": "2020-01-10T14:59:22Z", + "expired": false, + "expires_at": "2020-01-21T14:59:22Z", + "id": 11, + "name": "Rails", + "node_id": "MDg6QXJ0aWZhY3QxMQ==", + "size_in_bytes": 556, + "updated_at": "2020-01-21T14:59:22Z", + "url": "https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/11", + "workflow_run": { + "head_branch": "main", + "head_repository_id": 1296269, + "head_sha": "328faa0536e6fef19753d9d91dc96a9931694ce3", + "id": 2332938, + "repository_id": 1296269 + } + } + }, + "artifact-paginated": { + "value": { + "artifacts": [ + { + "archive_download_url": "https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/11/zip", + "created_at": "2020-01-10T14:59:22Z", + "expired": false, + "expires_at": "2020-03-21T14:59:22Z", + "id": 11, + "name": "Rails", + "node_id": "MDg6QXJ0aWZhY3QxMQ==", + "size_in_bytes": 556, + "updated_at": "2020-02-21T14:59:22Z", + "url": "https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/11", + "workflow_run": { + "head_branch": "main", + "head_repository_id": 1296269, + "head_sha": "328faa0536e6fef19753d9d91dc96a9931694ce3", + "id": 2332938, + "repository_id": 1296269 + } + }, + { + "archive_download_url": "https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/13/zip", + "created_at": "2020-01-10T14:59:22Z", + "expired": false, + "expires_at": "2020-03-21T14:59:22Z", + "id": 13, + "name": "Test output", + "node_id": "MDg6QXJ0aWZhY3QxMw==", + "size_in_bytes": 453, + "updated_at": "2020-02-21T14:59:22Z", + "url": "https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/13", + "workflow_run": { + "head_branch": "main", + "head_repository_id": 1296269, + "head_sha": "178f4f6090b3fccad4a65b3e83d076a622d59652", + "id": 2332942, + "repository_id": 1296269 + } + } + ], + "total_count": 2 + } + }, + "authentication-token": { + "value": { + "expires_at": "2020-01-22T12:13:35.123-08:00", + "token": "LLBF3JGZDX3P5PMEXLND6TS6FCWO6" + } + }, + "authentication-token-2": { + "value": { + "expires_at": "2020-01-29T12:13:35.123-08:00", + "token": "AABF3JGZDX3P5PMEXLND6TS6FCWO6" + } + }, + "authorization-with-user": { + "value": { + "app": { + "client_id": "Iv1.8a61f9b3a7aba766", + "name": "my github app", + "url": "http://my-github-app.com" + }, + "created_at": "2011-09-06T17:26:27Z", + "expires_at": "2011-09-08T17:26:27Z", + "fingerprint": "jklmnop12345678", + "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 1, + "note": "optional note", + "note_url": "http://optional/note/url", + "scopes": [ + "public_repo", + "user" + ], + "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", + "token_last_eight": "Ae178B4a", + "updated_at": "2011-09-06T20:39:23Z", + "url": "https://api.github.com/authorizations/1", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "autolink": { + "value": { + "id": 1, + "is_alphanumeric": true, + "key_prefix": "TICKET-", + "url_template": "https://example.com/TICKET?query=" + } + }, + "autolink-items": { + "value": [ + { + "id": 1, + "is_alphanumeric": true, + "key_prefix": "TICKET-", + "url_template": "https://example.com/TICKET?query=" + } + ] + }, + "base-gist": { + "value": { + "comments": 0, + "comments_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/comments/", + "commits_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/commits", + "created_at": "2010-04-14T02:15:15Z", + "description": "Hello World Examples", + "files": { + "hello_world.rb": { + "filename": "hello_world.rb", + "language": "Ruby", + "raw_url": "https://gist.githubusercontent.com/octocat/6cad326836d38bd3a7ae/raw/db9c55113504e46fa076e7df3a04ce592e2e86d8/hello_world.rb", + "size": 167, + "type": "application/x-ruby" + } + }, + "forks_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/forks", + "git_pull_url": "https://gist.github.com/aa5a315d61ae9438b18d.git", + "git_push_url": "https://gist.github.com/aa5a315d61ae9438b18d.git", + "html_url": "https://gist.github.com/aa5a315d61ae9438b18d", + "id": "aa5a315d61ae9438b18d", + "node_id": "MDQ6R2lzdGFhNWEzMTVkNjFhZTk0MzhiMThk", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "public": true, + "truncated": false, + "updated_at": "2011-06-20T11:34:15Z", + "url": "https://api.github.com/gists/aa5a315d61ae9438b18d", + "user": null + } + }, + "base-gist-items": { + "value": [ + { + "comments": 0, + "comments_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/comments/", + "commits_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/commits", + "created_at": "2010-04-14T02:15:15Z", + "description": "Hello World Examples", + "files": { + "hello_world.rb": { + "filename": "hello_world.rb", + "language": "Ruby", + "raw_url": "https://gist.githubusercontent.com/octocat/6cad326836d38bd3a7ae/raw/db9c55113504e46fa076e7df3a04ce592e2e86d8/hello_world.rb", + "size": 167, + "type": "application/x-ruby" + } + }, + "forks_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/forks", + "git_pull_url": "https://gist.github.com/aa5a315d61ae9438b18d.git", + "git_push_url": "https://gist.github.com/aa5a315d61ae9438b18d.git", + "html_url": "https://gist.github.com/aa5a315d61ae9438b18d", + "id": "aa5a315d61ae9438b18d", + "node_id": "MDQ6R2lzdGFhNWEzMTVkNjFhZTk0MzhiMThk", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "public": true, + "truncated": false, + "updated_at": "2011-06-20T11:34:15Z", + "url": "https://api.github.com/gists/aa5a315d61ae9438b18d", + "user": null + } + ] + }, + "base-installation": { + "value": { + "access_tokens_url": "https://api.github.com/installations/1/access_tokens", + "account": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "app_id": 1, + "app_slug": "github-actions", + "created_at": "2017-07-08T16:18:44-04:00", + "events": [ + "push", + "pull_request" + ], + "has_multiple_single_files": true, + "html_url": "https://github.com/organizations/github/settings/installations/1", + "id": 1, + "permissions": { + "checks": "write", + "contents": "read", + "metadata": "read" + }, + "repositories_url": "https://api.github.com/installation/repositories", + "repository_selection": "selected", + "single_file_name": "config.yaml", + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "suspended_at": null, + "suspended_by": null, + "target_id": 1, + "target_type": "Organization", + "updated_at": "2017-07-08T16:18:44-04:00" + } + }, + "base-installation-for-auth-user-paginated": { + "value": { + "installations": [ + { + "access_tokens_url": "https://api.github.com/installations/1/access_tokens", + "account": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "app_id": 1, + "app_slug": "github-actions", + "created_at": "2017-07-08T16:18:44-04:00", + "events": [ + "push", + "pull_request" + ], + "has_multiple_single_files": true, + "html_url": "https://github.com/organizations/github/settings/installations/1", + "id": 1, + "permissions": { + "checks": "write", + "contents": "read", + "metadata": "read" + }, + "repositories_url": "https://api.github.com/installation/repositories", + "repository_selection": "all", + "single_file_name": "config.yaml", + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "suspended_at": null, + "suspended_by": null, + "target_id": 1, + "target_type": "Organization", + "updated_at": "2017-07-08T16:18:44-04:00" + }, + { + "access_tokens_url": "https://api.github.com/installations/1/access_tokens", + "account": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 2, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "app_id": 1, + "app_slug": "github-actions", + "created_at": "2017-07-08T16:18:44-04:00", + "events": [ + "push", + "pull_request" + ], + "has_multiple_single_files": true, + "html_url": "https://github.com/organizations/github/settings/installations/1", + "id": 3, + "permissions": { + "checks": "write", + "contents": "read", + "metadata": "read" + }, + "repositories_url": "https://api.github.com/installation/repositories", + "repository_selection": "all", + "single_file_name": "config.yaml", + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "suspended_at": null, + "suspended_by": null, + "target_id": 1, + "target_type": "Organization", + "updated_at": "2017-07-08T16:18:44-04:00" + } + ], + "total_count": 2 + } + }, + "base-installation-items": { + "value": [ + { + "access_tokens_url": "https://api.github.com/installations/1/access_tokens", + "account": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "app_id": 1, + "app_slug": "github-actions", + "created_at": "2017-07-08T16:18:44-04:00", + "events": [ + "push", + "pull_request" + ], + "has_multiple_single_files": true, + "html_url": "https://github.com/organizations/github/settings/installations/1", + "id": 1, + "permissions": { + "checks": "write", + "contents": "read", + "metadata": "read" + }, + "repositories_url": "https://api.github.com/installation/repositories", + "repository_selection": "selected", + "single_file_name": "config.yaml", + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "suspended_at": null, + "suspended_by": null, + "target_id": 1, + "target_type": "Organization", + "updated_at": "2017-07-08T16:18:44-04:00" + } + ] + }, + "blob": { + "value": { + "content": "Q29udGVudCBvZiB0aGUgYmxvYg==", + "encoding": "base64", + "node_id": "Q29udGVudCBvZiB0aGUgYmxvYg==", + "sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15", + "size": 19, + "url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" + } + }, + "branch-get": { + "value": { + "_links": { + "html": "https://github.com/octocat/Hello-World/tree/main", + "self": "https://api.github.com/repos/octocat/Hello-World/branches/main" + }, + "commit": { + "author": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 583231, + "login": "octocat", + "node_id": "MDQ6VXNlcjU4MzIzMQ==", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments", + "commit": { + "author": { + "date": "2012-03-06T23:06:50Z", + "email": "octocat@nowhere.com", + "name": "The Octocat" + }, + "comment_count": 77, + "committer": { + "date": "2012-03-06T23:06:50Z", + "email": "octocat@nowhere.com", + "name": "The Octocat" + }, + "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", + "tree": { + "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608", + "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", + "verification": { + "payload": null, + "reason": "unsigned", + "signature": null, + "verified": false + } + }, + "committer": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 583231, + "login": "octocat", + "node_id": "MDQ6VXNlcjU4MzIzMQ==", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", + "node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk", + "parents": [ + { + "html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e", + "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e" + }, + { + "html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303", + "sha": "762941318ee16e59dabbacb1b4049eec22f0d303", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303" + } + ], + "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d" + }, + "name": "main", + "protected": false, + "protection": { + "enabled": false, + "required_status_checks": { + "checks": [], + "contexts": [], + "enforcement_level": "off" + } + }, + "protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection" + } + }, + "branch-protection": { + "value": { + "allow_deletions": { + "enabled": true + }, + "allow_force_pushes": { + "enabled": true + }, + "allow_fork_syncing": { + "enabled": true + }, + "enforce_admins": { + "enabled": true, + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins" + }, + "lock_branch": { + "enabled": true + }, + "required_conversation_resolution": { + "enabled": true + }, + "required_linear_history": { + "enabled": true + }, + "required_pull_request_reviews": { + "dismiss_stale_reviews": true, + "dismissal_restrictions": { + "apps": [ + { + "created_at": "2017-07-08T16:18:44-04:00", + "description": "", + "events": [ + "push", + "pull_request" + ], + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "id": 1, + "name": "Octocat App", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "id": 1, + "issues_url": "https://api.github.com/orgs/github/issues", + "login": "github", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "repos_url": "https://api.github.com/orgs/github/repos", + "url": "https://api.github.com/orgs/github" + }, + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read", + "single_file": "write" + }, + "slug": "octoapp", + "updated_at": "2017-07-08T16:18:44-04:00" + } + ], + "teams": [ + { + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "parent": null, + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "url": "https://api.github.com/teams/1" + } + ], + "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/teams", + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions", + "users": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + ], + "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/users" + }, + "require_code_owner_reviews": true, + "require_last_push_approval": true, + "required_approving_review_count": 2, + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews" + }, + "required_status_checks": { + "contexts": [ + "continuous-integration/travis-ci" + ], + "contexts_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts", + "enforcement_level": "non_admins", + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks" + }, + "restrictions": { + "apps": [ + { + "created_at": "2017-07-08T16:18:44-04:00", + "description": "", + "events": [ + "push", + "pull_request" + ], + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "id": 1, + "name": "Octocat App", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "id": 1, + "issues_url": "https://api.github.com/orgs/github/issues", + "login": "github", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "repos_url": "https://api.github.com/orgs/github/repos", + "url": "https://api.github.com/orgs/github" + }, + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read", + "single_file": "write" + }, + "slug": "octoapp", + "updated_at": "2017-07-08T16:18:44-04:00" + } + ], + "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/apps", + "teams": [ + { + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "parent": null, + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "url": "https://api.github.com/teams/1" + } + ], + "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions", + "users": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + ], + "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection" + } + }, + "branch-protection-update": { + "value": { + "allow_deletions": { + "enabled": true + }, + "allow_force_pushes": { + "enabled": true + }, + "allow_fork_syncing": { + "enabled": true + }, + "block_creations": { + "enabled": true + }, + "enforce_admins": { + "enabled": true, + "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins" + }, + "lock_branch": { + "enabled": true + }, + "required_conversation_resolution": { + "enabled": true + }, + "required_linear_history": { + "enabled": true + }, + "required_pull_request_reviews": { + "dismiss_stale_reviews": true, + "dismissal_restrictions": { + "apps": [], + "teams": [], + "teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams", + "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions", + "users": [], + "users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users" + }, + "require_code_owner_reviews": true, + "require_last_push_approval": true, + "required_approving_review_count": 2, + "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews" + }, + "required_signatures": { + "enabled": false, + "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures" + }, + "required_status_checks": { + "checks": [ + { + "app_id": null, + "context": "continuous-integration/travis-ci" + } + ], + "contexts": [ + "continuous-integration/travis-ci" + ], + "contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts", + "strict": true, + "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks" + }, + "restrictions": { + "apps": [], + "apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps", + "teams": [], + "teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams", + "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions", + "users": [], + "users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users" + }, + "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection" + } + }, + "branch-restriction-policy": { + "value": { + "apps": [ + { + "created_at": "2017-07-08T16:18:44-04:00", + "description": "", + "events": [ + "push", + "pull_request" + ], + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "id": 1, + "name": "Octocat App", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "id": 1, + "issues_url": "https://api.github.com/orgs/github/issues", + "login": "github", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "repos_url": "https://api.github.com/orgs/github/repos", + "url": "https://api.github.com/orgs/github" + }, + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read", + "single_file": "write" + }, + "slug": "octoapp", + "updated_at": "2017-07-08T16:18:44-04:00" + } + ], + "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/apps", + "teams": [ + { + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "parent": null, + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "url": "https://api.github.com/teams/1" + } + ], + "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions", + "users": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + ], + "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users" + } + }, + "branch-short-items": { + "value": [ + { + "commit": { + "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" + }, + "name": "branch_5", + "protected": false + } + ] + }, + "branch-with-protection": { + "value": { + "_links": { + "html": "https://github.com/octocat/Hello-World/tree/master", + "self": "https://api.github.com/repos/octocat/Hello-World/branches/master" + }, + "commit": { + "author": { + "avatar_url": "https://secure.gravatar.com/avatar/7ad39074b0584bc555d0417ae3e7d974?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 583231, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", + "commit": { + "author": { + "date": "2012-03-06T15:06:50-08:00", + "email": "octocat@nowhere.com", + "name": "The Octocat" + }, + "comment_count": 0, + "committer": { + "date": "2012-03-06T15:06:50-08:00", + "email": "octocat@nowhere.com", + "name": "The Octocat" + }, + "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", + "tree": { + "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608", + "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", + "verification": { + "payload": null, + "reason": "unsigned", + "signature": null, + "verified": false + } + }, + "committer": { + "avatar_url": "https://secure.gravatar.com/avatar/7ad39074b0584bc555d0417ae3e7d974?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 583231, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "node_id": "MDY6Q29tbWl0N2ZkMWE2MGIwMWY5MWIzMTRmNTk5NTVhNGU0ZDRlODBkOGVkZjExZA==", + "parents": [ + { + "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e" + }, + { + "sha": "762941318ee16e59dabbacb1b4049eec22f0d303", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303" + } + ], + "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d" + }, + "name": "master", + "protected": true, + "protection": { + "required_status_checks": { + "contexts": [ + "ci-test", + "linter" + ], + "enforcement_level": "non_admins" + } + }, + "protection_url": "https://api.github.com/repos/octocat/hello-world/branches/master/protection" + } + }, + "check-annotation-items": { + "value": [ + { + "annotation_level": "warning", + "blob_href": "https://api.github.com/repos/github/rest-api-description/git/blobs/abc", + "end_column": 10, + "end_line": 2, + "message": "Check your spelling for 'banaas'.", + "path": "README.md", + "raw_details": "Do you mean 'bananas' or 'banana'?", + "start_column": 5, + "start_line": 2, + "title": "Spell Checker" + } + ] + }, + "check-run": { + "value": { + "app": { + "created_at": "2017-07-08T16:18:44-04:00", + "description": "", + "events": [ + "push", + "pull_request" + ], + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "id": 1, + "name": "Octocat App", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/orgs/github/events", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/orgs/github/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/orgs/github" + }, + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read", + "single_file": "write" + }, + "slug": "octoapp", + "updated_at": "2017-07-08T16:18:44-04:00" + }, + "check_suite": { + "id": 5 + }, + "completed_at": "2018-05-04T01:14:52Z", + "conclusion": "neutral", + "details_url": "https://example.com", + "external_id": "", + "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", + "html_url": "https://github.com/github/hello-world/runs/4", + "id": 4, + "name": "mighty_readme", + "node_id": "MDg6Q2hlY2tSdW40", + "output": { + "annotations_count": 2, + "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations", + "summary": "There are 0 failures, 2 warnings, and 1 notice.", + "text": "You may have some misspelled words on lines 2 and 4. You also may want to add a section in your README about how to install your app.", + "title": "Mighty Readme report" + }, + "pull_requests": [ + { + "base": { + "ref": "master", + "repo": { + "id": 526, + "name": "hello-world", + "url": "https://api.github.com/repos/github/hello-world" + }, + "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f" + }, + "head": { + "ref": "say-hello", + "repo": { + "id": 526, + "name": "hello-world", + "url": "https://api.github.com/repos/github/hello-world" + }, + "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390" + }, + "id": 1934, + "number": 3956, + "url": "https://api.github.com/repos/github/hello-world/pulls/1" + } + ], + "started_at": "2018-05-04T01:14:52Z", + "status": "completed", + "url": "https://api.github.com/repos/github/hello-world/check-runs/4" + } + }, + "check-run-completed": { + "value": { + "action": "completed", + "check_run": { + "app": { + "created_at": "2019-04-19T19:36:24Z", + "description": "", + "events": [], + "external_url": "https://octocoders.github.io", + "html_url": "https://github.com/apps/octocoders-linter", + "id": 29310, + "name": "octocoders-linter", + "node_id": "MDM6QXBwMjkzMTA=", + "owner": { + "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", + "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", + "followers_url": "https://api.github.com/users/Octocoders/followers", + "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", + "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Octocoders", + "id": 38302899, + "login": "Octocoders", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", + "organizations_url": "https://api.github.com/users/Octocoders/orgs", + "received_events_url": "https://api.github.com/users/Octocoders/received_events", + "repos_url": "https://api.github.com/users/Octocoders/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/Octocoders" + }, + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "members": "write", + "metadata": "read", + "organization_administration": "write", + "organization_hooks": "write", + "organization_plan": "read", + "organization_projects": "write", + "organization_user_blocking": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "team_discussions": "write", + "vulnerability_alerts": "read" + }, + "updated_at": "2019-04-19T19:36:56Z" + }, + "check_suite": { + "after": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", + "app": { + "created_at": "2019-04-19T19:36:24Z", + "description": "", + "events": [], + "external_url": "https://octocoders.github.io", + "html_url": "https://github.com/apps/octocoders-linter", + "id": 29310, + "name": "octocoders-linter", + "node_id": "MDM6QXBwMjkzMTA=", + "owner": { + "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", + "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", + "followers_url": "https://api.github.com/users/Octocoders/followers", + "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", + "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Octocoders", + "id": 38302899, + "login": "Octocoders", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", + "organizations_url": "https://api.github.com/users/Octocoders/orgs", + "received_events_url": "https://api.github.com/users/Octocoders/received_events", + "repos_url": "https://api.github.com/users/Octocoders/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/Octocoders" + }, + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "members": "write", + "metadata": "read", + "organization_administration": "write", + "organization_hooks": "write", + "organization_plan": "read", + "organization_projects": "write", + "organization_user_blocking": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "team_discussions": "write", + "vulnerability_alerts": "read" + }, + "updated_at": "2019-04-19T19:36:56Z" + }, + "before": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "conclusion": null, + "created_at": "2019-05-15T15:20:31Z", + "deployment": { + "created_at": "2021-02-18T08:22:48Z", + "description": null, + "environment": "lab", + "id": 326191728, + "node_id": "MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg=", + "original_environment": "lab", + "repository_url": "https://api.github.com/repos/Codertocat/Hello-World", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728/statuses", + "task": "deploy", + "updated_at": "2021-02-18T09:47:16Z", + "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728" + }, + "head_branch": "changes", + "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", + "id": 118578147, + "node_id": "MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc=", + "pull_requests": [ + { + "base": { + "ref": "master", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e" + }, + "head": { + "ref": "changes", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821" + }, + "id": 279147437, + "number": 2, + "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2" + } + ], + "status": "completed", + "updated_at": "2019-05-15T15:20:31Z", + "url": "https://api.github.com/repos/Codertocat/Hello-World/check-suites/118578147" + }, + "completed_at": "2019-05-15T15:21:45Z", + "conclusion": "success", + "details_url": "https://octocoders.github.io", + "external_id": "", + "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", + "html_url": "https://github.com/Codertocat/Hello-World/runs/128620228", + "id": 128620228, + "name": "Octocoders-linter", + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "output": { + "annotations_count": 0, + "annotations_url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228/annotations", + "summary": null, + "text": null, + "title": null + }, + "pull_requests": [ + { + "base": { + "ref": "master", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e" + }, + "head": { + "ref": "changes", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821" + }, + "id": 279147437, + "number": 2, + "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2" + } + ], + "started_at": "2019-05-15T15:21:12Z", + "status": "completed", + "url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228" + }, + "repository": { + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "created_at": "2019-05-15T15:19:25Z", + "default_branch": "master", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "description": null, + "disabled": false, + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 1, + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "full_name": "Codertocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": true, + "has_projects": true, + "has_wiki": true, + "homepage": null, + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "html_url": "https://github.com/Codertocat/Hello-World", + "id": 186853002, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "language": "Ruby", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "license": null, + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "mirror_url": null, + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 2, + "open_issues_count": 2, + "owner": { + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Codertocat", + "id": 21031067, + "login": "Codertocat", + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/Codertocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "pushed_at": "2019-05-15T15:20:57Z", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "size": 0, + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "stargazers_count": 0, + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "svn_url": "https://github.com/Codertocat/Hello-World", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "updated_at": "2019-05-15T15:21:03Z", + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "watchers": 0, + "watchers_count": 0 + }, + "sender": { + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Codertocat", + "id": 21031067, + "login": "Codertocat", + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/Codertocat" + } + } + }, + "check-run-completed-form-encoded": { + "value": { + "payload": "%7B%22action%22%3A%22completed%22%2C%22check_run%22%3A%7B%22id%22%3A128620228%2C%22node_id%22%3A%22MDg6Q2hlY2tSdW4xMjg2MjAyMjg%3D%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22external_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%2Fruns%2F128620228%22%2C%22details_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22status%22%3A%22completed%22%2C%22conclusion%22%3A%22success%22%2C%22started_at%22%3A%222019-05-15T15%3A21%3A12Z%22%2C%22completed_at%22%3A%222019-05-15T15%3A21%3A45Z%22%2C%22output%22%3A%7B%22title%22%3Anull%2C%22summary%22%3Anull%2C%22text%22%3Anull%2C%22annotations_count%22%3A0%2C%22annotations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%2Fannotations%22%7D%2C%22name%22%3A%22Octocoders-linter%22%2C%22check_suite%22%3A%7B%22id%22%3A118578147%2C%22node_id%22%3A%22MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc%3D%22%2C%22head_branch%22%3A%22changes%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22status%22%3A%22completed%22%2C%22conclusion%22%3Anull%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-suites%2F118578147%22%2C%22before%22%3A%226113728f27ae82c7b1a177c8d03f9e96e0adf246%22%2C%22after%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%2C%22deployment%22%3A%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%22%2C%22id%22%3A326191728%2C%22node_id%22%3A%22MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg%3D%22%2C%22task%22%3A%22deploy%22%2C%22original_environment%22%3A%22lab%22%2C%22environment%22%3A%22lab%22%2C%22description%22%3Anull%2C%22created_at%22%3A%222021-02-18T08%3A22%3A48Z%22%2C%22updated_at%22%3A%222021-02-18T09%3A47%3A16Z%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%2Fstatuses%22%2C%22repository_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%7D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22created_at%22%3A%222019-05-15T15%3A20%3A31Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A20%3A31Z%22%7D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%7D%2C%22repository%22%3A%7B%22id%22%3A186853002%2C%22node_id%22%3A%22MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%22%2C%22name%22%3A%22Hello-World%22%2C%22full_name%22%3A%22Codertocat%2FHello-World%22%2C%22private%22%3Afalse%2C%22owner%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22description%22%3Anull%2C%22fork%22%3Afalse%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22forks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fforks%22%2C%22keys_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fkeys%7B%2Fkey_id%7D%22%2C%22collaborators_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcollaborators%7B%2Fcollaborator%7D%22%2C%22teams_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fteams%22%2C%22hooks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fhooks%22%2C%22issue_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fevents%7B%2Fnumber%7D%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fevents%22%2C%22assignees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fassignees%7B%2Fuser%7D%22%2C%22branches_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fbranches%7B%2Fbranch%7D%22%2C%22tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Ftags%22%2C%22blobs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fblobs%7B%2Fsha%7D%22%2C%22git_tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftags%7B%2Fsha%7D%22%2C%22git_refs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Frefs%7B%2Fsha%7D%22%2C%22trees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftrees%7B%2Fsha%7D%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstatuses%2F%7Bsha%7D%22%2C%22languages_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flanguages%22%2C%22stargazers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstargazers%22%2C%22contributors_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontributors%22%2C%22subscribers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscribers%22%2C%22subscription_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscription%22%2C%22commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcommits%7B%2Fsha%7D%22%2C%22git_commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fcommits%7B%2Fsha%7D%22%2C%22comments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcomments%7B%2Fnumber%7D%22%2C%22issue_comment_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fcomments%7B%2Fnumber%7D%22%2C%22contents_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontents%2F%7B%2Bpath%7D%22%2C%22compare_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%22%2C%22merges_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmerges%22%2C%22archive_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2F%7Barchive_format%7D%7B%2Fref%7D%22%2C%22downloads_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdownloads%22%2C%22issues_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%7B%2Fnumber%7D%22%2C%22pulls_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%7B%2Fnumber%7D%22%2C%22milestones_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmilestones%7B%2Fnumber%7D%22%2C%22notifications_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%22%2C%22labels_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flabels%7B%2Fname%7D%22%2C%22releases_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Freleases%7B%2Fid%7D%22%2C%22deployments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%22%2C%22created_at%22%3A%222019-05-15T15%3A19%3A25Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A21%3A03Z%22%2C%22pushed_at%22%3A%222019-05-15T15%3A20%3A57Z%22%2C%22git_url%22%3A%22git%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22ssh_url%22%3A%22git%40github.com%3ACodertocat%2FHello-World.git%22%2C%22clone_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22svn_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22homepage%22%3Anull%2C%22size%22%3A0%2C%22stargazers_count%22%3A0%2C%22watchers_count%22%3A0%2C%22language%22%3A%22Ruby%22%2C%22has_issues%22%3Atrue%2C%22has_projects%22%3Atrue%2C%22has_downloads%22%3Atrue%2C%22has_wiki%22%3Atrue%2C%22has_pages%22%3Atrue%2C%22forks_count%22%3A1%2C%22mirror_url%22%3Anull%2C%22archived%22%3Afalse%2C%22disabled%22%3Afalse%2C%22open_issues_count%22%3A2%2C%22license%22%3Anull%2C%22forks%22%3A1%2C%22open_issues%22%3A2%2C%22watchers%22%3A0%2C%22default_branch%22%3A%22master%22%2C%22is_template%22%3Afalse%7D%2C%22sender%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%7D" + } + }, + "check-run-created": { + "value": { + "action": "created", + "check_run": { + "app": { + "created_at": "2019-04-19T19:36:24Z", + "description": "", + "events": [], + "external_url": "https://octocoders.github.io", + "html_url": "https://github.com/apps/octocoders-linter", + "id": 29310, + "name": "octocoders-linter", + "node_id": "MDM6QXBwMjkzMTA=", + "owner": { + "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", + "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", + "followers_url": "https://api.github.com/users/Octocoders/followers", + "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", + "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Octocoders", + "id": 38302899, + "login": "Octocoders", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", + "organizations_url": "https://api.github.com/users/Octocoders/orgs", + "received_events_url": "https://api.github.com/users/Octocoders/received_events", + "repos_url": "https://api.github.com/users/Octocoders/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/Octocoders" + }, + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "members": "write", + "metadata": "read", + "organization_administration": "write", + "organization_hooks": "write", + "organization_plan": "read", + "organization_projects": "write", + "organization_user_blocking": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "team_discussions": "write", + "vulnerability_alerts": "read" + }, + "updated_at": "2019-04-19T19:36:56Z" + }, + "check_suite": { + "after": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", + "app": { + "created_at": "2019-04-19T19:36:24Z", + "description": "", + "events": [], + "external_url": "https://octocoders.github.io", + "html_url": "https://github.com/apps/octocoders-linter", + "id": 29310, + "name": "octocoders-linter", + "node_id": "MDM6QXBwMjkzMTA=", + "owner": { + "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", + "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", + "followers_url": "https://api.github.com/users/Octocoders/followers", + "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", + "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Octocoders", + "id": 38302899, + "login": "Octocoders", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", + "organizations_url": "https://api.github.com/users/Octocoders/orgs", + "received_events_url": "https://api.github.com/users/Octocoders/received_events", + "repos_url": "https://api.github.com/users/Octocoders/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/Octocoders" + }, + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "members": "write", + "metadata": "read", + "organization_administration": "write", + "organization_hooks": "write", + "organization_plan": "read", + "organization_projects": "write", + "organization_user_blocking": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "team_discussions": "write", + "vulnerability_alerts": "read" + }, + "updated_at": "2019-04-19T19:36:56Z" + }, + "before": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "conclusion": null, + "created_at": "2019-05-15T15:20:31Z", + "deployment": { + "created_at": "2021-02-18T08:22:48Z", + "description": null, + "environment": "lab", + "id": 326191728, + "node_id": "MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg=", + "original_environment": "lab", + "repository_url": "https://api.github.com/repos/Codertocat/Hello-World", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728/statuses", + "task": "deploy", + "updated_at": "2021-02-18T09:47:16Z", + "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728" + }, + "head_branch": "changes", + "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", + "id": 118578147, + "node_id": "MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc=", + "pull_requests": [ + { + "base": { + "ref": "master", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e" + }, + "head": { + "ref": "changes", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821" + }, + "id": 279147437, + "number": 2, + "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2" + } + ], + "status": "queued", + "updated_at": "2019-05-15T15:20:31Z", + "url": "https://api.github.com/repos/Codertocat/Hello-World/check-suites/118578147" + }, + "completed_at": null, + "conclusion": null, + "details_url": "https://octocoders.github.io", + "external_id": "", + "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", + "html_url": "https://github.com/Codertocat/Hello-World/runs/128620228", + "id": 128620228, + "name": "Octocoders-linter", + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "output": { + "annotations_count": 0, + "annotations_url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228/annotations", + "summary": null, + "text": null, + "title": null + }, + "pull_requests": [ + { + "base": { + "ref": "master", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e" + }, + "head": { + "ref": "changes", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821" + }, + "id": 279147437, + "number": 2, + "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2" + } + ], + "started_at": "2019-05-15T15:21:12Z", + "status": "queued", + "url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228" + }, + "repository": { + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "created_at": "2019-05-15T15:19:25Z", + "default_branch": "master", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "description": null, + "disabled": false, + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 1, + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "full_name": "Codertocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": true, + "has_projects": true, + "has_wiki": true, + "homepage": null, + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "html_url": "https://github.com/Codertocat/Hello-World", + "id": 186853002, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "language": "Ruby", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "license": null, + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "mirror_url": null, + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 2, + "open_issues_count": 2, + "owner": { + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Codertocat", + "id": 21031067, + "login": "Codertocat", + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/Codertocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "pushed_at": "2019-05-15T15:20:57Z", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "size": 0, + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "stargazers_count": 0, + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "svn_url": "https://github.com/Codertocat/Hello-World", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "updated_at": "2019-05-15T15:21:03Z", + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "watchers": 0, + "watchers_count": 0 + }, + "sender": { + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Codertocat", + "id": 21031067, + "login": "Codertocat", + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/Codertocat" + } + } + }, + "check-run-created-form-encoded": { + "value": { + "payload": "%7B%22action%22%3A%22created%22%2C%22check_run%22%3A%7B%22id%22%3A128620228%2C%22node_id%22%3A%22MDg6Q2hlY2tSdW4xMjg2MjAyMjg%3D%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22external_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%2Fruns%2F128620228%22%2C%22details_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22status%22%3A%22queued%22%2C%22conclusion%22%3Anull%2C%22started_at%22%3A%222019-05-15T15%3A21%3A12Z%22%2C%22completed_at%22%3Anull%2C%22output%22%3A%7B%22title%22%3Anull%2C%22summary%22%3Anull%2C%22text%22%3Anull%2C%22annotations_count%22%3A0%2C%22annotations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%2Fannotations%22%7D%2C%22name%22%3A%22Octocoders-linter%22%2C%22check_suite%22%3A%7B%22id%22%3A118578147%2C%22node_id%22%3A%22MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc%3D%22%2C%22head_branch%22%3A%22changes%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22status%22%3A%22queued%22%2C%22conclusion%22%3Anull%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-suites%2F118578147%22%2C%22before%22%3A%226113728f27ae82c7b1a177c8d03f9e96e0adf246%22%2C%22after%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%2C%22deployment%22%3A%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%22%2C%22id%22%3A326191728%2C%22node_id%22%3A%22MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg%3D%22%2C%22task%22%3A%22deploy%22%2C%22original_environment%22%3A%22lab%22%2C%22environment%22%3A%22lab%22%2C%22description%22%3Anull%2C%22created_at%22%3A%222021-02-18T08%3A22%3A48Z%22%2C%22updated_at%22%3A%222021-02-18T09%3A47%3A16Z%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%2Fstatuses%22%2C%22repository_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%7D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22created_at%22%3A%222019-05-15T15%3A20%3A31Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A20%3A31Z%22%7D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%7D%2C%22repository%22%3A%7B%22id%22%3A186853002%2C%22node_id%22%3A%22MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%22%2C%22name%22%3A%22Hello-World%22%2C%22full_name%22%3A%22Codertocat%2FHello-World%22%2C%22private%22%3Afalse%2C%22owner%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22description%22%3Anull%2C%22fork%22%3Afalse%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22forks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fforks%22%2C%22keys_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fkeys%7B%2Fkey_id%7D%22%2C%22collaborators_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcollaborators%7B%2Fcollaborator%7D%22%2C%22teams_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fteams%22%2C%22hooks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fhooks%22%2C%22issue_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fevents%7B%2Fnumber%7D%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fevents%22%2C%22assignees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fassignees%7B%2Fuser%7D%22%2C%22branches_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fbranches%7B%2Fbranch%7D%22%2C%22tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Ftags%22%2C%22blobs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fblobs%7B%2Fsha%7D%22%2C%22git_tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftags%7B%2Fsha%7D%22%2C%22git_refs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Frefs%7B%2Fsha%7D%22%2C%22trees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftrees%7B%2Fsha%7D%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstatuses%2F%7Bsha%7D%22%2C%22languages_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flanguages%22%2C%22stargazers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstargazers%22%2C%22contributors_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontributors%22%2C%22subscribers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscribers%22%2C%22subscription_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscription%22%2C%22commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcommits%7B%2Fsha%7D%22%2C%22git_commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fcommits%7B%2Fsha%7D%22%2C%22comments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcomments%7B%2Fnumber%7D%22%2C%22issue_comment_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fcomments%7B%2Fnumber%7D%22%2C%22contents_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontents%2F%7B%2Bpath%7D%22%2C%22compare_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%22%2C%22merges_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmerges%22%2C%22archive_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2F%7Barchive_format%7D%7B%2Fref%7D%22%2C%22downloads_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdownloads%22%2C%22issues_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%7B%2Fnumber%7D%22%2C%22pulls_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%7B%2Fnumber%7D%22%2C%22milestones_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmilestones%7B%2Fnumber%7D%22%2C%22notifications_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%22%2C%22labels_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flabels%7B%2Fname%7D%22%2C%22releases_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Freleases%7B%2Fid%7D%22%2C%22deployments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%22%2C%22created_at%22%3A%222019-05-15T15%3A19%3A25Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A21%3A03Z%22%2C%22pushed_at%22%3A%222019-05-15T15%3A20%3A57Z%22%2C%22git_url%22%3A%22git%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22ssh_url%22%3A%22git%40github.com%3ACodertocat%2FHello-World.git%22%2C%22clone_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22svn_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22homepage%22%3Anull%2C%22size%22%3A0%2C%22stargazers_count%22%3A0%2C%22watchers_count%22%3A0%2C%22language%22%3A%22Ruby%22%2C%22has_issues%22%3Atrue%2C%22has_projects%22%3Atrue%2C%22has_downloads%22%3Atrue%2C%22has_wiki%22%3Atrue%2C%22has_pages%22%3Atrue%2C%22forks_count%22%3A1%2C%22mirror_url%22%3Anull%2C%22archived%22%3Afalse%2C%22disabled%22%3Afalse%2C%22open_issues_count%22%3A2%2C%22license%22%3Anull%2C%22forks%22%3A1%2C%22open_issues%22%3A2%2C%22watchers%22%3A0%2C%22default_branch%22%3A%22master%22%2C%22is_template%22%3Afalse%7D%2C%22sender%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%7D" + } + }, + "check-run-example-of-completed-conclusion": { + "summary": "Response for completed conclusion", + "value": { + "app": { + "created_at": "2017-07-08T16:18:44-04:00", + "description": "", + "events": [ + "push", + "pull_request" + ], + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "id": 1, + "name": "Octocat App", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/orgs/github/events", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/orgs/github/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/orgs/github" + }, + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read", + "single_file": "write" + }, + "slug": "octoapp", + "updated_at": "2017-07-08T16:18:44-04:00" + }, + "check_suite": { + "id": 5 + }, + "completed_at": "2018-05-04T01:14:52Z", + "conclusion": "neutral", + "details_url": "https://example.com", + "external_id": "42", + "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", + "html_url": "https://github.com/github/hello-world/runs/4", + "id": 4, + "name": "mighty_readme", + "node_id": "MDg6Q2hlY2tSdW40", + "output": { + "annotations_count": 2, + "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations", + "summary": "There are 0 failures, 2 warnings, and 1 notice.", + "text": "You may have some misspelled words on lines 2 and 4. You also may want to add a section in your README about how to install your app.", + "title": "Mighty Readme report" + }, + "pull_requests": [ + { + "base": { + "ref": "master", + "repo": { + "id": 526, + "name": "hello-world", + "url": "https://api.github.com/repos/github/hello-world" + }, + "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f" + }, + "head": { + "ref": "say-hello", + "repo": { + "id": 526, + "name": "hello-world", + "url": "https://api.github.com/repos/github/hello-world" + }, + "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390" + }, + "id": 1934, + "number": 3956, + "url": "https://api.github.com/repos/github/hello-world/pulls/1" + } + ], + "started_at": "2018-05-04T01:14:52Z", + "status": "completed", + "url": "https://api.github.com/repos/github/hello-world/check-runs/4" + } + }, + "check-run-example-of-in-progress-conclusion": { + "summary": "Response for in_progress conclusion", + "value": { + "app": { + "created_at": "2017-07-08T16:18:44-04:00", + "description": "", + "events": [ + "push", + "pull_request" + ], + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "id": 1, + "name": "Octocat App", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/orgs/github/events", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/orgs/github/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/orgs/github" + }, + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read", + "single_file": "write" + }, + "slug": "octoapp", + "updated_at": "2017-07-08T16:18:44-04:00" + }, + "check_suite": { + "id": 5 + }, + "completed_at": null, + "conclusion": null, + "details_url": "https://example.com", + "external_id": "42", + "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", + "html_url": "https://github.com/github/hello-world/runs/4", + "id": 4, + "name": "mighty_readme", + "node_id": "MDg6Q2hlY2tSdW40", + "output": { + "annotations_count": 2, + "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations", + "summary": "There are 0 failures, 2 warnings, and 1 notice.", + "text": "You may have some misspelled words on lines 2 and 4. You also may want to add a section in your README about how to install your app.", + "title": "Mighty Readme report" + }, + "pull_requests": [ + { + "base": { + "ref": "master", + "repo": { + "id": 526, + "name": "hello-world", + "url": "https://api.github.com/repos/github/hello-world" + }, + "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f" + }, + "head": { + "ref": "say-hello", + "repo": { + "id": 526, + "name": "hello-world", + "url": "https://api.github.com/repos/github/hello-world" + }, + "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390" + }, + "id": 1934, + "number": 3956, + "url": "https://api.github.com/repos/github/hello-world/pulls/1" + } + ], + "started_at": "2018-05-04T01:14:52Z", + "status": "in_progress", + "url": "https://api.github.com/repos/github/hello-world/check-runs/4" + } + }, + "check-run-paginated": { + "value": { + "check_runs": [ + { + "app": { + "created_at": "2017-07-08T16:18:44-04:00", + "description": "", + "events": [ + "push", + "pull_request" + ], + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "id": 1, + "name": "Octocat App", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/orgs/github/events", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/orgs/github/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/orgs/github" + }, + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read", + "single_file": "write" + }, + "slug": "octoapp", + "updated_at": "2017-07-08T16:18:44-04:00" + }, + "check_suite": { + "id": 5 + }, + "completed_at": "2018-05-04T01:14:52Z", + "conclusion": "neutral", + "details_url": "https://example.com", + "external_id": "", + "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", + "html_url": "https://github.com/github/hello-world/runs/4", + "id": 4, + "name": "mighty_readme", + "node_id": "MDg6Q2hlY2tSdW40", + "output": { + "annotations_count": 2, + "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations", + "summary": "There are 0 failures, 2 warnings, and 1 notice.", + "text": "You may have some misspelled words on lines 2 and 4. You also may want to add a section in your README about how to install your app.", + "title": "Mighty Readme report" + }, + "pull_requests": [ + { + "base": { + "ref": "master", + "repo": { + "id": 526, + "name": "hello-world", + "url": "https://api.github.com/repos/github/hello-world" + }, + "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f" + }, + "head": { + "ref": "say-hello", + "repo": { + "id": 526, + "name": "hello-world", + "url": "https://api.github.com/repos/github/hello-world" + }, + "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390" + }, + "id": 1934, + "number": 3956, + "url": "https://api.github.com/repos/github/hello-world/pulls/1" + } + ], + "started_at": "2018-05-04T01:14:52Z", + "status": "completed", + "url": "https://api.github.com/repos/github/hello-world/check-runs/4" + } + ], + "total_count": 1 + } + }, + "check-run-requested-action": { + "value": { + "action": "requested_action", + "check_run": { + "app": { + "created_at": "2019-04-19T19:36:24Z", + "description": "", + "events": [], + "external_url": "https://octocoders.github.io", + "html_url": "https://github.com/apps/octocoders-linter", + "id": 29310, + "name": "octocoders-linter", + "node_id": "MDM6QXBwMjkzMTA=", + "owner": { + "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", + "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", + "followers_url": "https://api.github.com/users/Octocoders/followers", + "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", + "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Octocoders", + "id": 38302899, + "login": "Octocoders", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", + "organizations_url": "https://api.github.com/users/Octocoders/orgs", + "received_events_url": "https://api.github.com/users/Octocoders/received_events", + "repos_url": "https://api.github.com/users/Octocoders/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/Octocoders" + }, + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "members": "write", + "metadata": "read", + "organization_administration": "write", + "organization_hooks": "write", + "organization_plan": "read", + "organization_projects": "write", + "organization_user_blocking": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "team_discussions": "write", + "vulnerability_alerts": "read" + }, + "updated_at": "2019-04-19T19:36:56Z" + }, + "check_suite": { + "after": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", + "app": { + "created_at": "2019-04-19T19:36:24Z", + "description": "", + "events": [], + "external_url": "https://octocoders.github.io", + "html_url": "https://github.com/apps/octocoders-linter", + "id": 29310, + "name": "octocoders-linter", + "node_id": "MDM6QXBwMjkzMTA=", + "owner": { + "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", + "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", + "followers_url": "https://api.github.com/users/Octocoders/followers", + "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", + "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Octocoders", + "id": 38302899, + "login": "Octocoders", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", + "organizations_url": "https://api.github.com/users/Octocoders/orgs", + "received_events_url": "https://api.github.com/users/Octocoders/received_events", + "repos_url": "https://api.github.com/users/Octocoders/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/Octocoders" + }, + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "members": "write", + "metadata": "read", + "organization_administration": "write", + "organization_hooks": "write", + "organization_plan": "read", + "organization_projects": "write", + "organization_user_blocking": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "team_discussions": "write", + "vulnerability_alerts": "read" + }, + "updated_at": "2019-04-19T19:36:56Z" + }, + "before": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "conclusion": null, + "created_at": "2019-05-15T15:20:31Z", + "head_branch": "changes", + "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", + "id": 118578147, + "node_id": "MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc=", + "pull_requests": [ + { + "base": { + "ref": "master", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e" + }, + "head": { + "ref": "changes", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821" + }, + "id": 279147437, + "number": 2, + "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2" + } + ], + "status": "queued", + "updated_at": "2019-05-15T15:20:31Z", + "url": "https://api.github.com/repos/Codertocat/Hello-World/check-suites/118578147" + }, + "completed_at": null, + "conclusion": null, + "deployment": { + "created_at": "2021-02-18T08:22:48Z", + "description": null, + "environment": "lab", + "id": 326191728, + "node_id": "MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg=", + "original_environment": "lab", + "repository_url": "https://api.github.com/repos/Codertocat/Hello-World", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728/statuses", + "task": "deploy", + "updated_at": "2021-02-18T09:47:16Z", + "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728" + }, + "details_url": "https://octocoders.github.io", + "external_id": "", + "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", + "html_url": "https://github.com/Codertocat/Hello-World/runs/128620228", + "id": 128620228, + "name": "Octocoders-linter", + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "output": { + "annotations_count": 0, + "annotations_url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228/annotations", + "summary": null, + "text": null, + "title": null + }, + "pull_requests": [ + { + "base": { + "ref": "master", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e" + }, + "head": { + "ref": "changes", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821" + }, + "id": 279147437, + "number": 2, + "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2" + } + ], + "started_at": "2019-05-15T15:21:12Z", + "status": "queued", + "url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228" + }, + "repository": { + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "created_at": "2019-05-15T15:19:25Z", + "default_branch": "master", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "description": null, + "disabled": false, + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 1, + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "full_name": "Codertocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": true, + "has_projects": true, + "has_wiki": true, + "homepage": null, + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "html_url": "https://github.com/Codertocat/Hello-World", + "id": 186853002, + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "language": "Ruby", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "license": null, + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "mirror_url": null, + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 2, + "open_issues_count": 2, + "owner": { + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Codertocat", + "id": 21031067, + "login": "Codertocat", + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/Codertocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "pushed_at": "2019-05-15T15:20:57Z", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "size": 0, + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "stargazers_count": 0, + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "svn_url": "https://github.com/Codertocat/Hello-World", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "updated_at": "2019-05-15T15:21:03Z", + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "watchers": 0, + "watchers_count": 0 + }, + "requested_action": { + "identifier": "lgtm|1234" + }, + "sender": { + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Codertocat", + "id": 21031067, + "login": "Codertocat", + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/Codertocat" + } + } + }, + "check-run-requested-action-form-encoded": { + "value": { + "payload": "%7B%22action%22%3A%22requested_action%22%2C%22check_run%22%3A%7B%22id%22%3A128620228%2C%22node_id%22%3A%22MDg6Q2hlY2tSdW4xMjg2MjAyMjg%3D%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22external_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%2Fruns%2F128620228%22%2C%22details_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22status%22%3A%22queued%22%2C%22conclusion%22%3Anull%2C%22started_at%22%3A%222019-05-15T15%3A21%3A12Z%22%2C%22completed_at%22%3Anull%2C%22output%22%3A%7B%22title%22%3Anull%2C%22summary%22%3Anull%2C%22text%22%3Anull%2C%22annotations_count%22%3A0%2C%22annotations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%2Fannotations%22%7D%2C%22name%22%3A%22Octocoders-linter%22%2C%22check_suite%22%3A%7B%22id%22%3A118578147%2C%22node_id%22%3A%22MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc%3D%22%2C%22head_branch%22%3A%22changes%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22status%22%3A%22queued%22%2C%22conclusion%22%3Anull%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-suites%2F118578147%22%2C%22before%22%3A%226113728f27ae82c7b1a177c8d03f9e96e0adf246%22%2C%22after%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22created_at%22%3A%222019-05-15T15%3A20%3A31Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A20%3A31Z%22%7D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%2C%22deployment%22%3A%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%22%2C%22id%22%3A326191728%2C%22node_id%22%3A%22MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg%3D%22%2C%22task%22%3A%22deploy%22%2C%22original_environment%22%3A%22lab%22%2C%22environment%22%3A%22lab%22%2C%22description%22%3Anull%2C%22created_at%22%3A%222021-02-18T08%3A22%3A48Z%22%2C%22updated_at%22%3A%222021-02-18T09%3A47%3A16Z%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%2Fstatuses%22%2C%22repository_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%7D%7D%2C%22requested_action%22%3A%7B%22identifier%22%3A%22lgtm%7C1234%22%7D%2C%22repository%22%3A%7B%22id%22%3A186853002%2C%22node_id%22%3A%22MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%22%2C%22name%22%3A%22Hello-World%22%2C%22full_name%22%3A%22Codertocat%2FHello-World%22%2C%22private%22%3Afalse%2C%22owner%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22description%22%3Anull%2C%22fork%22%3Afalse%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22forks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fforks%22%2C%22keys_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fkeys%7B%2Fkey_id%7D%22%2C%22collaborators_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcollaborators%7B%2Fcollaborator%7D%22%2C%22teams_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fteams%22%2C%22hooks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fhooks%22%2C%22issue_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fevents%7B%2Fnumber%7D%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fevents%22%2C%22assignees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fassignees%7B%2Fuser%7D%22%2C%22branches_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fbranches%7B%2Fbranch%7D%22%2C%22tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Ftags%22%2C%22blobs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fblobs%7B%2Fsha%7D%22%2C%22git_tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftags%7B%2Fsha%7D%22%2C%22git_refs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Frefs%7B%2Fsha%7D%22%2C%22trees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftrees%7B%2Fsha%7D%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstatuses%2F%7Bsha%7D%22%2C%22languages_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flanguages%22%2C%22stargazers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstargazers%22%2C%22contributors_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontributors%22%2C%22subscribers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscribers%22%2C%22subscription_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscription%22%2C%22commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcommits%7B%2Fsha%7D%22%2C%22git_commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fcommits%7B%2Fsha%7D%22%2C%22comments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcomments%7B%2Fnumber%7D%22%2C%22issue_comment_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fcomments%7B%2Fnumber%7D%22%2C%22contents_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontents%2F%7B%2Bpath%7D%22%2C%22compare_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%22%2C%22merges_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmerges%22%2C%22archive_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2F%7Barchive_format%7D%7B%2Fref%7D%22%2C%22downloads_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdownloads%22%2C%22issues_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%7B%2Fnumber%7D%22%2C%22pulls_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%7B%2Fnumber%7D%22%2C%22milestones_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmilestones%7B%2Fnumber%7D%22%2C%22notifications_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%22%2C%22labels_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flabels%7B%2Fname%7D%22%2C%22releases_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Freleases%7B%2Fid%7D%22%2C%22deployments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%22%2C%22created_at%22%3A%222019-05-15T15%3A19%3A25Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A21%3A03Z%22%2C%22pushed_at%22%3A%222019-05-15T15%3A20%3A57Z%22%2C%22git_url%22%3A%22git%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22ssh_url%22%3A%22git%40github.com%3ACodertocat%2FHello-World.git%22%2C%22clone_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22svn_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22homepage%22%3Anull%2C%22size%22%3A0%2C%22stargazers_count%22%3A0%2C%22watchers_count%22%3A0%2C%22language%22%3A%22Ruby%22%2C%22has_issues%22%3Atrue%2C%22has_projects%22%3Atrue%2C%22has_downloads%22%3Atrue%2C%22has_wiki%22%3Atrue%2C%22has_pages%22%3Atrue%2C%22forks_count%22%3A1%2C%22mirror_url%22%3Anull%2C%22archived%22%3Afalse%2C%22disabled%22%3Afalse%2C%22open_issues_count%22%3A2%2C%22license%22%3Anull%2C%22forks%22%3A1%2C%22open_issues%22%3A2%2C%22watchers%22%3A0%2C%22default_branch%22%3A%22master%22%7D%2C%22sender%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%7D" + } + }, + "check-run-rerequested": { + "value": { + "action": "rerequested", + "check_run": { + "app": { + "created_at": "2019-04-19T19:36:24Z", + "description": "", + "events": [], + "external_url": "https://octocoders.github.io", + "html_url": "https://github.com/apps/octocoders-linter", + "id": 29310, + "name": "octocoders-linter", + "node_id": "MDM6QXBwMjkzMTA=", + "owner": { + "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", + "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", + "followers_url": "https://api.github.com/users/Octocoders/followers", + "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", + "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Octocoders", + "id": 38302899, + "login": "Octocoders", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", + "organizations_url": "https://api.github.com/users/Octocoders/orgs", + "received_events_url": "https://api.github.com/users/Octocoders/received_events", + "repos_url": "https://api.github.com/users/Octocoders/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/Octocoders" + }, + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "members": "write", + "metadata": "read", + "organization_administration": "write", + "organization_hooks": "write", + "organization_plan": "read", + "organization_projects": "write", + "organization_user_blocking": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "team_discussions": "write", + "vulnerability_alerts": "read" + }, + "updated_at": "2019-04-19T19:36:56Z" + }, + "check_suite": { + "after": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", + "app": { + "created_at": "2019-04-19T19:36:24Z", + "description": "", + "events": [], + "external_url": "https://octocoders.github.io", + "html_url": "https://github.com/apps/octocoders-linter", + "id": 29310, + "name": "octocoders-linter", + "node_id": "MDM6QXBwMjkzMTA=", + "owner": { + "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", + "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", + "followers_url": "https://api.github.com/users/Octocoders/followers", + "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", + "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Octocoders", + "id": 38302899, + "login": "Octocoders", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", + "organizations_url": "https://api.github.com/users/Octocoders/orgs", + "received_events_url": "https://api.github.com/users/Octocoders/received_events", + "repos_url": "https://api.github.com/users/Octocoders/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/Octocoders" + }, + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "members": "write", + "metadata": "read", + "organization_administration": "write", + "organization_hooks": "write", + "organization_plan": "read", + "organization_projects": "write", + "organization_user_blocking": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "team_discussions": "write", + "vulnerability_alerts": "read" + }, + "updated_at": "2019-04-19T19:36:56Z" + }, + "before": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "conclusion": null, + "created_at": "2019-05-15T15:20:31Z", + "deployment": { + "created_at": "2021-02-18T08:22:48Z", + "description": null, + "environment": "lab", + "id": 326191728, + "node_id": "MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg=", + "original_environment": "lab", + "repository_url": "https://api.github.com/repos/Codertocat/Hello-World", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728/statuses", + "task": "deploy", + "updated_at": "2021-02-18T09:47:16Z", + "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728" + }, + "head_branch": "changes", + "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", + "id": 118578147, + "node_id": "MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc=", + "pull_requests": [ + { + "base": { + "ref": "master", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e" + }, + "head": { + "ref": "changes", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821" + }, + "id": 279147437, + "number": 2, + "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2" + } + ], + "status": "completed", + "updated_at": "2019-05-15T15:20:31Z", + "url": "https://api.github.com/repos/Codertocat/Hello-World/check-suites/118578147" + }, + "completed_at": "2019-05-15T15:21:45Z", + "conclusion": "success", + "details_url": "https://octocoders.github.io", + "external_id": "", + "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", + "html_url": "https://github.com/Codertocat/Hello-World/runs/128620228", + "id": 128620228, + "name": "Octocoders-linter", + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "output": { + "annotations_count": 0, + "annotations_url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228/annotations", + "summary": null, + "text": null, + "title": null + }, + "pull_requests": [ + { + "base": { + "ref": "master", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e" + }, + "head": { + "ref": "changes", + "repo": { + "id": 186853002, + "name": "Hello-World", + "url": "https://api.github.com/repos/Codertocat/Hello-World" + }, + "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821" + }, + "id": 279147437, + "number": 2, + "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2" + } + ], + "started_at": "2019-05-15T15:21:12Z", + "status": "completed", + "url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228" + }, + "repository": { + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "created_at": "2019-05-15T15:19:25Z", + "default_branch": "master", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "description": null, + "disabled": false, + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 1, + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "full_name": "Codertocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": true, + "has_projects": true, + "has_wiki": true, + "homepage": null, + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "html_url": "https://github.com/Codertocat/Hello-World", + "id": 186853002, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "language": "Ruby", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "license": null, + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "mirror_url": null, + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 2, + "open_issues_count": 2, + "owner": { + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Codertocat", + "id": 21031067, + "login": "Codertocat", + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/Codertocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "pushed_at": "2019-05-15T15:20:57Z", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "size": 0, + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "stargazers_count": 0, + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "svn_url": "https://github.com/Codertocat/Hello-World", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "updated_at": "2019-05-15T15:21:03Z", + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "watchers": 0, + "watchers_count": 0 + }, + "sender": { + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Codertocat", + "id": 21031067, + "login": "Codertocat", + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/Codertocat" + } + } + }, + "check-run-rerequested-form-encoded": { + "value": { + "payload": "%7B%22action%22%3A%22rerequested%22%2C%22check_run%22%3A%7B%22id%22%3A128620228%2C%22node_id%22%3A%22MDg6Q2hlY2tSdW4xMjg2MjAyMjg%3D%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22external_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%2Fruns%2F128620228%22%2C%22details_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22status%22%3A%22completed%22%2C%22conclusion%22%3A%22success%22%2C%22started_at%22%3A%222019-05-15T15%3A21%3A12Z%22%2C%22completed_at%22%3A%222019-05-15T15%3A21%3A45Z%22%2C%22output%22%3A%7B%22title%22%3Anull%2C%22summary%22%3Anull%2C%22text%22%3Anull%2C%22annotations_count%22%3A0%2C%22annotations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%2Fannotations%22%7D%2C%22name%22%3A%22Octocoders-linter%22%2C%22check_suite%22%3A%7B%22id%22%3A118578147%2C%22node_id%22%3A%22MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc%3D%22%2C%22head_branch%22%3A%22changes%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22status%22%3A%22completed%22%2C%22conclusion%22%3Anull%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-suites%2F118578147%22%2C%22before%22%3A%226113728f27ae82c7b1a177c8d03f9e96e0adf246%22%2C%22after%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%2C%22deployment%22%3A%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%22%2C%22id%22%3A326191728%2C%22node_id%22%3A%22MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg%3D%22%2C%22task%22%3A%22deploy%22%2C%22original_environment%22%3A%22lab%22%2C%22environment%22%3A%22lab%22%2C%22description%22%3Anull%2C%22created_at%22%3A%222021-02-18T08%3A22%3A48Z%22%2C%22updated_at%22%3A%222021-02-18T09%3A47%3A16Z%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%2Fstatuses%22%2C%22repository_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%7D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22created_at%22%3A%222019-05-15T15%3A20%3A31Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A20%3A31Z%22%7D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%7D%2C%22repository%22%3A%7B%22id%22%3A186853002%2C%22node_id%22%3A%22MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%22%2C%22name%22%3A%22Hello-World%22%2C%22full_name%22%3A%22Codertocat%2FHello-World%22%2C%22private%22%3Afalse%2C%22owner%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22description%22%3Anull%2C%22fork%22%3Afalse%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22forks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fforks%22%2C%22keys_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fkeys%7B%2Fkey_id%7D%22%2C%22collaborators_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcollaborators%7B%2Fcollaborator%7D%22%2C%22teams_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fteams%22%2C%22hooks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fhooks%22%2C%22issue_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fevents%7B%2Fnumber%7D%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fevents%22%2C%22assignees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fassignees%7B%2Fuser%7D%22%2C%22branches_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fbranches%7B%2Fbranch%7D%22%2C%22tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Ftags%22%2C%22blobs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fblobs%7B%2Fsha%7D%22%2C%22git_tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftags%7B%2Fsha%7D%22%2C%22git_refs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Frefs%7B%2Fsha%7D%22%2C%22trees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftrees%7B%2Fsha%7D%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstatuses%2F%7Bsha%7D%22%2C%22languages_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flanguages%22%2C%22stargazers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstargazers%22%2C%22contributors_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontributors%22%2C%22subscribers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscribers%22%2C%22subscription_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscription%22%2C%22commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcommits%7B%2Fsha%7D%22%2C%22git_commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fcommits%7B%2Fsha%7D%22%2C%22comments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcomments%7B%2Fnumber%7D%22%2C%22issue_comment_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fcomments%7B%2Fnumber%7D%22%2C%22contents_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontents%2F%7B%2Bpath%7D%22%2C%22compare_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%22%2C%22merges_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmerges%22%2C%22archive_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2F%7Barchive_format%7D%7B%2Fref%7D%22%2C%22downloads_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdownloads%22%2C%22issues_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%7B%2Fnumber%7D%22%2C%22pulls_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%7B%2Fnumber%7D%22%2C%22milestones_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmilestones%7B%2Fnumber%7D%22%2C%22notifications_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%22%2C%22labels_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flabels%7B%2Fname%7D%22%2C%22releases_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Freleases%7B%2Fid%7D%22%2C%22deployments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%22%2C%22created_at%22%3A%222019-05-15T15%3A19%3A25Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A21%3A03Z%22%2C%22pushed_at%22%3A%222019-05-15T15%3A20%3A57Z%22%2C%22git_url%22%3A%22git%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22ssh_url%22%3A%22git%40github.com%3ACodertocat%2FHello-World.git%22%2C%22clone_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22svn_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22homepage%22%3Anull%2C%22size%22%3A0%2C%22stargazers_count%22%3A0%2C%22watchers_count%22%3A0%2C%22language%22%3A%22Ruby%22%2C%22has_issues%22%3Atrue%2C%22has_projects%22%3Atrue%2C%22has_downloads%22%3Atrue%2C%22has_wiki%22%3Atrue%2C%22has_pages%22%3Atrue%2C%22forks_count%22%3A1%2C%22mirror_url%22%3Anull%2C%22archived%22%3Afalse%2C%22disabled%22%3Afalse%2C%22open_issues_count%22%3A2%2C%22license%22%3Anull%2C%22forks%22%3A1%2C%22open_issues%22%3A2%2C%22watchers%22%3A0%2C%22default_branch%22%3A%22master%22%2C%22is_template%22%3Afalse%7D%2C%22sender%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%7D" + } + }, + "check-suite": { + "value": { + "after": "d6fde92930d4715a2b49857d24b940956b26d2d3", + "app": { + "created_at": "2017-07-08T16:18:44-04:00", + "description": "", + "events": [ + "push", + "pull_request" + ], + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "id": 1, + "name": "Octocat App", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/orgs/github/events", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/orgs/github/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/orgs/github" + }, + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read", + "single_file": "write" + }, + "slug": "octoapp", + "updated_at": "2017-07-08T16:18:44-04:00" + }, + "before": "146e867f55c26428e5f9fade55a9bbf5e95a7912", + "check_runs_url": "https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs", + "conclusion": "neutral", + "created_at": "2017-07-08T16:18:44-04:00", + "head_branch": "master", + "head_commit": { + "author": { + "email": "octocat@nowhere.com", + "name": "The Octocat" + }, + "committer": { + "email": "octocat@nowhere.com", + "name": "The Octocat" + }, + "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", + "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", + "timestamp": "2016-10-10T00:00:00Z", + "tree_id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d" + }, + "head_sha": "d6fde92930d4715a2b49857d24b940956b26d2d3", + "id": 5, + "latest_check_runs_count": 1, + "node_id": "MDEwOkNoZWNrU3VpdGU1", + "pull_requests": [], + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World-Template.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World-Template/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World-Template/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World-Template/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World-Template/events", + "fork": false, + "forks": 9, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World-Template/forks", + "full_name": "octocat/Hello-World-Template", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World-Template.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World-Template/hooks", + "html_url": "https://github.com/octocat/Hello-World-Template", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World-Template/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World-Template/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World-Template", + "name": "Hello-World-Template", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World-Template.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World-Template/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World-Template", + "tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World-Template/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World-Template", + "visibility": "public", + "watchers": 80, + "watchers_count": 80 + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers_count": 80 + }, + "status": "completed", + "updated_at": "2017-07-08T16:18:44-04:00", + "url": "https://api.github.com/repos/github/hello-world/check-suites/5" + } + }, + "check-suite-paginated": { + "value": { + "check_suites": [ + { + "after": "d6fde92930d4715a2b49857d24b940956b26d2d3", + "app": { + "created_at": "2017-07-08T16:18:44-04:00", + "description": "", + "events": [ + "push", + "pull_request" + ], + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "id": 1, + "name": "Octocat App", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/orgs/github/events", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/orgs/github/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/orgs/github" + }, + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read", + "single_file": "write" + }, + "slug": "octoapp", + "updated_at": "2017-07-08T16:18:44-04:00" + }, + "before": "146e867f55c26428e5f9fade55a9bbf5e95a7912", + "check_runs_url": "https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs", + "conclusion": "neutral", + "created_at": "2011-01-26T19:01:12Z", + "head_branch": "master", + "head_commit": { + "author": { + "email": "octocat@nowhere.com", + "name": "The Octocat" + }, + "committer": { + "email": "octocat@nowhere.com", + "name": "The Octocat" + }, + "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", + "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", + "timestamp": "2016-10-10T00:00:00Z", + "tree_id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d" + }, + "head_sha": "d6fde92930d4715a2b49857d24b940956b26d2d3", + "id": 5, + "latest_check_runs_count": 1, + "node_id": "MDEwOkNoZWNrU3VpdGU1", + "pull_requests": [], + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers_count": 80 + }, + "status": "completed", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/github/hello-world/check-suites/5" + } + ], + "total_count": 1 + } + }, + "check-suite-preference": { + "value": { + "preferences": { + "auto_trigger_checks": [ + { + "app_id": 2, + "setting": true + }, + { + "app_id": 4, + "setting": false + } + ] + }, + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "template_repository": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World-Template.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World-Template/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World-Template/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World-Template/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World-Template/events", + "fork": false, + "forks": 9, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World-Template/forks", + "full_name": "octocat/Hello-World-Template", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World-Template.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World-Template/hooks", + "html_url": "https://github.com/octocat/Hello-World-Template", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World-Template/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World-Template/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World-Template", + "name": "Hello-World-Template", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World-Template.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World-Template/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World-Template", + "tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World-Template/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World-Template", + "visibility": "public", + "watchers": 80, + "watchers_count": 80 + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers_count": 80 + } + } + }, + "clone-traffic": { + "value": { + "clones": [ + { + "count": 2, + "timestamp": "2016-10-10T00:00:00Z", + "uniques": 1 + }, + { + "count": 17, + "timestamp": "2016-10-11T00:00:00Z", + "uniques": 16 + }, + { + "count": 21, + "timestamp": "2016-10-12T00:00:00Z", + "uniques": 15 + }, + { + "count": 8, + "timestamp": "2016-10-13T00:00:00Z", + "uniques": 7 + }, + { + "count": 5, + "timestamp": "2016-10-14T00:00:00Z", + "uniques": 5 + }, + { + "count": 2, + "timestamp": "2016-10-15T00:00:00Z", + "uniques": 2 + }, + { + "count": 8, + "timestamp": "2016-10-16T00:00:00Z", + "uniques": 7 + }, + { + "count": 26, + "timestamp": "2016-10-17T00:00:00Z", + "uniques": 15 + }, + { + "count": 19, + "timestamp": "2016-10-18T00:00:00Z", + "uniques": 17 + }, + { + "count": 19, + "timestamp": "2016-10-19T00:00:00Z", + "uniques": 14 + }, + { + "count": 19, + "timestamp": "2016-10-20T00:00:00Z", + "uniques": 15 + }, + { + "count": 9, + "timestamp": "2016-10-21T00:00:00Z", + "uniques": 7 + }, + { + "count": 5, + "timestamp": "2016-10-22T00:00:00Z", + "uniques": 5 + }, + { + "count": 6, + "timestamp": "2016-10-23T00:00:00Z", + "uniques": 5 + }, + { + "count": 7, + "timestamp": "2016-10-24T00:00:00Z", + "uniques": 5 + } + ], + "count": 173, + "uniques": 128 + } + }, + "code-frequency-stat-items": { + "value": [ + [ + 1302998400, + 1124, + -435 + ] + ] + }, + "code-frequency-stat-items-2": { + "value": [ + [ + 0, + 0, + 5 + ], + [ + 0, + 1, + 43 + ], + [ + 0, + 2, + 21 + ] + ] + }, + "code-of-conduct": { + "value": { + "body": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n", + "html_url": "http://contributor-covenant.org/version/1/4/", + "key": "contributor_covenant", + "name": "Contributor Covenant", + "url": "https://api.github.com/codes_of_conduct/contributor_covenant" + } + }, + "code-of-conduct-simple-items": { + "value": [ + { + "html_url": "http://citizencodeofconduct.org/", + "key": "citizen_code_of_conduct", + "name": "Citizen Code of Conduct", + "url": "https://api.github.com/codes_of_conduct/citizen_code_of_conduct" + }, + { + "html_url": "https://www.contributor-covenant.org/version/2/0/code_of_conduct/", + "key": "contributor_covenant", + "name": "Contributor Covenant", + "url": "https://api.github.com/codes_of_conduct/contributor_covenant" + } + ] + }, + "code-scanning-alert": { + "value": { + "created_at": "2020-06-19T11:21:34Z", + "dismissed_at": "2020-02-14T12:29:18Z", + "dismissed_by": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 54933897, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.", + "dismissed_reason": "false positive", + "fixed_at": null, + "html_url": "https://github.com/octocat/hello-world/code-scanning/42", + "instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances", + "most_recent_instance": { + "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", + "classifications": [ + "test" + ], + "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930", + "environment": "{}", + "location": { + "end_column": 18, + "end_line": 917, + "path": "spec-main/api-session-spec.ts", + "start_column": 7, + "start_line": 917 + }, + "message": { + "text": "This path depends on a user-provided value." + }, + "ref": "refs/heads/main", + "state": "dismissed" + }, + "number": 42, + "rule": { + "description": "Arbitrary file write during zip extraction (\"Zip Slip\")", + "full_description": "Extracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten.", + "help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ...", + "help_uri": "https://codeql.github.com/", + "id": "js/zipslip", + "name": "js/zipslip", + "security_severity_level": "high", + "severity": "error", + "tags": [ + "security", + "external/cwe/cwe-022" + ] + }, + "state": "dismissed", + "tool": { + "guid": null, + "name": "CodeQL", + "version": "2.4.0" + }, + "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42" + } + }, + "code-scanning-alert-dismissed": { + "value": { + "created_at": "2020-08-25T21:28:36Z", + "dismissed_at": "2020-09-02T22:34:56Z", + "dismissed_by": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.", + "dismissed_reason": "false positive", + "fixed_at": null, + "html_url": "https://github.com/octocat/hello-world/code-scanning/42", + "instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances", + "most_recent_instance": { + "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", + "classifications": [ + "test" + ], + "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930", + "environment": "{}", + "location": { + "end_column": 18, + "end_line": 917, + "path": "spec-main/api-session-spec.ts", + "start_column": 7, + "start_line": 917 + }, + "message": { + "text": "This path depends on a user-provided value." + }, + "ref": "refs/heads/main", + "state": "dismissed" + }, + "number": 42, + "rule": { + "description": "Arbitrary file write during zip extraction (\"Zip Slip\")", + "full_description": "Extracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten.", + "help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ...", + "help_uri": "https://codeql.github.com/", + "id": "js/zipslip", + "name": "js/zipslip", + "security_severity_level": "high", + "severity": "error", + "tags": [ + "security", + "external/cwe/cwe-022" + ] + }, + "state": "dismissed", + "tool": { + "guid": null, + "name": "CodeQL", + "version": "2.4.0" + }, + "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42" + } + }, + "code-scanning-alert-instances": { + "value": [ + { + "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", + "category": ".github/workflows/codeql-analysis.yml:CodeQL-Build", + "classifications": [ + "library" + ], + "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930", + "environment": "", + "fixed_at": null, + "location": { + "end_column": 18, + "end_line": 917, + "path": "lib/ab12-gen.js", + "start_column": 7, + "start_line": 917 + }, + "message": { + "text": "This path depends on a user-provided value." + }, + "ref": "refs/heads/main", + "state": "open" + }, + { + "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", + "category": ".github/workflows/codeql-analysis.yml:CodeQL-Build", + "classifications": [ + "source" + ], + "commit_sha": "b09da05606e27f463a2b49287684b4ae777092f2", + "environment": "", + "fixed_at": "2020-02-14T12:29:18Z", + "location": { + "end_column": 50, + "end_line": 2, + "path": "app/script.js", + "start_column": 10, + "start_line": 2 + }, + "message": { + "text": "This suffix check is missing a length comparison to correctly handle lastIndexOf returning -1." + }, + "ref": "refs/pull/3740/merge", + "state": "fixed" + } + ] + }, + "code-scanning-alert-items": { + "value": [ + { + "created_at": "2020-02-13T12:29:18Z", + "dismissed_at": null, + "dismissed_by": null, + "dismissed_comment": null, + "dismissed_reason": null, + "fixed_at": null, + "html_url": "https://github.com/octocat/hello-world/code-scanning/4", + "instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/4/instances", + "most_recent_instance": { + "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", + "classifications": [ + "test" + ], + "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930", + "environment": "{}", + "location": { + "end_column": 18, + "end_line": 917, + "path": "spec-main/api-session-spec.ts", + "start_column": 7, + "start_line": 917 + }, + "message": { + "text": "This path depends on a user-provided value." + }, + "ref": "refs/heads/main", + "state": "open" + }, + "number": 4, + "rule": { + "description": "Arbitrary file write during zip extraction", + "id": "js/zipslip", + "name": "js/zipslip", + "severity": "error", + "tags": [ + "security", + "external/cwe/cwe-022" + ] + }, + "state": "open", + "tool": { + "guid": null, + "name": "CodeQL", + "version": "2.4.0" + }, + "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/4" + }, + { + "created_at": "2020-02-13T12:29:18Z", + "dismissed_at": "2020-02-14T12:29:18Z", + "dismissed_by": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.", + "dismissed_reason": "false positive", + "fixed_at": null, + "html_url": "https://github.com/octocat/hello-world/code-scanning/3", + "instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances", + "most_recent_instance": { + "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", + "classifications": [], + "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930", + "environment": "{}", + "location": { + "end_column": 18, + "end_line": 917, + "path": "lib/ab12-gen.js", + "start_column": 7, + "start_line": 917 + }, + "message": { + "text": "This path depends on a user-provided value." + }, + "ref": "refs/heads/main", + "state": "open" + }, + "number": 3, + "rule": { + "description": "Arbitrary file write during zip extraction", + "id": "js/zipslip", + "name": "js/zipslip", + "severity": "error", + "tags": [ + "security", + "external/cwe/cwe-022" + ] + }, + "state": "dismissed", + "tool": { + "guid": null, + "name": "CodeQL", + "version": "2.4.0" + }, + "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3" + } + ] + }, + "code-scanning-analysis-default": { + "summary": "application/json response", + "value": { + "analysis_key": ".github/workflows/codeql-analysis.yml:analyze", + "category": ".github/workflows/codeql-analysis.yml:analyze/language:javascript", + "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655", + "created_at": "2021-01-13T11:55:49Z", + "deletable": true, + "environment": "{\"language\":\"javascript\"}", + "error": "", + "id": 3602840, + "ref": "refs/heads/main", + "results_count": 3, + "rules_count": 67, + "sarif_id": "47177e22-5596-11eb-80a1-c1e54ef945c6", + "tool": { + "guid": null, + "name": "CodeQL", + "version": "2.4.0" + }, + "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201", + "warning": "" + } + }, + "code-scanning-analysis-deletion": { + "summary": "Default response", + "value": { + "confirm_delete_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete", + "next_analysis_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41" + } + }, + "code-scanning-analysis-items": { + "value": [ + { + "analysis_key": ".github/workflows/codeql-analysis.yml:analyze", + "category": ".github/workflows/codeql-analysis.yml:analyze/language:python", + "commit_sha": "d99612c3e1f2970085cfbaeadf8f010ef69bad83", + "created_at": "2020-08-27T15:05:21Z", + "deletable": true, + "environment": "{\"language\":\"python\"}", + "error": "", + "id": 201, + "ref": "refs/heads/main", + "results_count": 17, + "rules_count": 49, + "sarif_id": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53", + "tool": { + "guid": null, + "name": "CodeQL", + "version": "2.4.0" + }, + "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201", + "warning": "" + }, + { + "analysis_key": ".github/workflows/shiftleft.yml:build", + "category": ".github/workflows/shiftleft.yml:build/", + "commit_sha": "c8cff6510d4d084fb1b4aa13b64b97ca12b07321", + "created_at": "2020-08-31T22:46:44Z", + "deletable": true, + "environment": "{}", + "error": "", + "id": 200, + "ref": "refs/heads/my-branch", + "results_count": 17, + "rules_count": 32, + "sarif_id": "8981cd8e-b078-4ac3-a3be-1dad7dbd0b582", + "tool": { + "guid": null, + "name": "Python Security Analysis", + "version": "1.2.0" + }, + "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/200", + "warning": "" + } + ] + }, + "code-scanning-analysis-sarif": { + "summary": "application/json+sarif response", + "value": { + "runs": [ + { + "results": [ + { + "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38", + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "file1.js" + }, + "region": { + "startLine": 1 + } + } + } + ], + "message": { + "text": "Unused variable foo." + }, + "properties": [ + { + "github/alertNumber": 2 + }, + { + "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2" + } + ], + "ruleId": "js/unused-local-variable" + } + ], + "tool": { + "driver": { + "name": "CodeQL", + "organization": "GitHub", + "rules": [ + { + "id": "js/unused-local-variable", + "name": "js/unused-local-variable" + } + ], + "semanticVersion": "1.0.0" + } + } + } + ] + } + }, + "code-scanning-codeql-database": { + "value": { + "content_type": "application/zip", + "created_at": "2022-09-12T12:14:32Z", + "id": 1, + "language": "java", + "name": "database.zip", + "size": 1024, + "updated_at": "2022-09-12T12:14:32Z", + "uploader": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java" + } + }, + "code-scanning-codeql-databases": { + "value": [ + { + "content_type": "application/zip", + "created_at": "2022-09-12T12:14:32Z", + "id": 1, + "language": "java", + "name": "database.zip", + "size": 1024, + "updated_at": "2022-09-12T12:14:32Z", + "uploader": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java" + }, + { + "content_type": "application/zip", + "created_at": "2022-09-12T12:14:32Z", + "id": 2, + "language": "ruby", + "name": "database.zip", + "size": 1024, + "updated_at": "2022-09-12T12:14:32Z", + "uploader": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby" + } + ] + }, + "code-scanning-organization-alert-items": { + "value": [ + { + "created_at": "2020-02-13T12:29:18Z", + "dismissed_at": null, + "dismissed_by": null, + "dismissed_comment": null, + "dismissed_reason": null, + "html_url": "https://github.com/octocat/hello-world/code-scanning/4", + "instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/4/instances", + "most_recent_instance": { + "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", + "classifications": [ + "test" + ], + "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930", + "environment": "{}", + "location": { + "end_column": 18, + "end_line": 917, + "path": "spec-main/api-session-spec.ts", + "start_column": 7, + "start_line": 917 + }, + "message": { + "text": "This path depends on a user-provided value." + }, + "ref": "refs/heads/main", + "state": "open" + }, + "number": 4, + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "rule": { + "description": "Arbitrary file write during zip extraction", + "id": "js/zipslip", + "name": "js/zipslip", + "severity": "error", + "tags": [ + "security", + "external/cwe/cwe-022" + ] + }, + "state": "open", + "tool": { + "guid": null, + "name": "CodeQL", + "version": "2.4.0" + }, + "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/4" + }, + { + "created_at": "2020-02-13T12:29:18Z", + "dismissed_at": "2020-02-14T12:29:18Z", + "dismissed_by": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.", + "dismissed_reason": "false positive", + "html_url": "https://github.com/octocat/hello-world/code-scanning/3", + "instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances", + "most_recent_instance": { + "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", + "classifications": [], + "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930", + "environment": "{}", + "location": { + "end_column": 18, + "end_line": 917, + "path": "lib/ab12-gen.js", + "start_column": 7, + "start_line": 917 + }, + "message": { + "text": "This path depends on a user-provided value." + }, + "ref": "refs/heads/main", + "state": "open" + }, + "number": 3, + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "rule": { + "description": "Arbitrary file write during zip extraction", + "id": "js/zipslip", + "name": "js/zipslip", + "severity": "error", + "tags": [ + "security", + "external/cwe/cwe-022" + ] + }, + "state": "dismissed", + "tool": { + "guid": null, + "name": "CodeQL", + "version": "2.4.0" + }, + "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3" + } + ] + }, + "code-scanning-sarif-upload": { + "summary": "Default response", + "value": { + "id": "47177e22-5596-11eb-80a1-c1e54ef945c6", + "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6" + } + }, + "code-scanning-sarif-upload-status": { + "summary": "Default response", + "value": { + "analyses_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6", + "processing_status": "complete" + } + }, + "code-search-result-item-paginated": { + "value": { + "incomplete_results": false, + "items": [ + { + "git_url": "https://api.github.com/repositories/167174/git/blobs/d7212f9dee2dcc18f084d7df8f417b80846ded5a", + "html_url": "https://github.com/jquery/jquery/blob/825ac3773694e0cd23ee74895fd5aeb535b27da4/src/attributes/classes.js", + "name": "classes.js", + "path": "src/attributes/classes.js", + "repository": { + "archive_url": "https://api.github.com/repos/jquery/jquery/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/jquery/jquery/assignees{/user}", + "blobs_url": "https://api.github.com/repos/jquery/jquery/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/jquery/jquery/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/jquery/jquery/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/jquery/jquery/comments{/number}", + "commits_url": "https://api.github.com/repos/jquery/jquery/commits{/sha}", + "compare_url": "https://api.github.com/repos/jquery/jquery/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/jquery/jquery/contents/{+path}", + "contributors_url": "https://api.github.com/repos/jquery/jquery/contributors", + "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments", + "description": "jQuery JavaScript Library", + "downloads_url": "https://api.github.com/repos/jquery/jquery/downloads", + "events_url": "https://api.github.com/repos/jquery/jquery/events", + "fork": false, + "forks_url": "https://api.github.com/repos/jquery/jquery/forks", + "full_name": "jquery/jquery", + "git_commits_url": "https://api.github.com/repos/jquery/jquery/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/jquery/jquery/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/jquery/jquery/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/jquery/jquery/hooks", + "html_url": "https://github.com/jquery/jquery", + "id": 167174, + "issue_comment_url": "https://api.github.com/repos/jquery/jquery/issues/comments/{number}", + "issue_events_url": "https://api.github.com/repos/jquery/jquery/issues/events{/number}", + "issues_url": "https://api.github.com/repos/jquery/jquery/issues{/number}", + "keys_url": "https://api.github.com/repos/jquery/jquery/keys{/key_id}", + "labels_url": "https://api.github.com/repos/jquery/jquery/labels{/name}", + "languages_url": "https://api.github.com/repos/jquery/jquery/languages", + "merges_url": "https://api.github.com/repos/jquery/jquery/merges", + "milestones_url": "https://api.github.com/repos/jquery/jquery/milestones{/number}", + "name": "jquery", + "node_id": "MDEwOlJlcG9zaXRvcnkxNjcxNzQ=", + "notifications_url": "https://api.github.com/repos/jquery/jquery/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://0.gravatar.com/avatar/6906f317a4733f4379b06c32229ef02f?d=https%3A%2F%2Fidenticons.github.com%2Ff426f04f2f9813718fb806b30e0093de.png", + "events_url": "https://api.github.com/users/jquery/events{/privacy}", + "followers_url": "https://api.github.com/users/jquery/followers", + "following_url": "https://api.github.com/users/jquery/following{/other_user}", + "gists_url": "https://api.github.com/users/jquery/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/jquery", + "id": 70142, + "login": "jquery", + "node_id": "MDQ6VXNlcjcwMTQy", + "organizations_url": "https://api.github.com/users/jquery/orgs", + "received_events_url": "https://api.github.com/users/jquery/received_events", + "repos_url": "https://api.github.com/users/jquery/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/jquery/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jquery/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/jquery" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/jquery/jquery/pulls{/number}", + "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/jquery/jquery/stargazers", + "statuses_url": "https://api.github.com/repos/jquery/jquery/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/jquery/jquery/subscribers", + "subscription_url": "https://api.github.com/repos/jquery/jquery/subscription", + "tags_url": "https://api.github.com/repos/jquery/jquery/tags", + "teams_url": "https://api.github.com/repos/jquery/jquery/teams", + "trees_url": "https://api.github.com/repos/jquery/jquery/git/trees{/sha}", + "url": "https://api.github.com/repos/jquery/jquery" + }, + "score": 1, + "sha": "d7212f9dee2dcc18f084d7df8f417b80846ded5a", + "url": "https://api.github.com/repositories/167174/contents/src/attributes/classes.js?ref=825ac3773694e0cd23ee74895fd5aeb535b27da4" + } + ], + "total_count": 7 + } + }, + "codeowners-errors": { + "value": { + "errors": [ + { + "column": 1, + "kind": "Invalid pattern", + "line": 3, + "message": "Invalid pattern on line 3: Did you mean `**/*.rb`?\n\n ***/*.rb @monalisa\n ^", + "path": ".github/CODEOWNERS", + "source": "***/*.rb @monalisa", + "suggestion": "Did you mean `**/*.rb`?" + }, + { + "column": 7, + "kind": "Invalid owner", + "line": 7, + "message": "Invalid owner on line 7:\n\n *.txt docs@\n ^", + "path": ".github/CODEOWNERS", + "source": "*.txt docs@", + "suggestion": null + } + ] + } + }, + "codespace": { + "value": { + "billable_owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2021-10-14T00:53:30-06:00", + "devcontainer_path": ".devcontainer/devcontainer.json", + "environment_id": "26a7c758-7299-4a73-b978-5a92a7ae98a0", + "git_status": { + "ahead": 0, + "behind": 0, + "has_uncommitted_changes": false, + "has_unpushed_changes": false, + "ref": "main" + }, + "id": 1, + "idle_timeout_minutes": 60, + "last_used_at": "2021-10-14T00:53:30-06:00", + "location": "WestUs2", + "machine": { + "cpus": 4, + "display_name": "4 cores, 8 GB RAM, 64 GB storage", + "memory_in_bytes": 8589934592, + "name": "standardLinux", + "operating_system": "linux", + "storage_in_bytes": 68719476736 + }, + "machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines", + "name": "monalisa-octocat-hello-world-g4wpq6h95q", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "prebuild": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1", + "recent_folders": [], + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "retention_expires_at": null, + "retention_period_minutes": 43200, + "start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start", + "state": "Available", + "stop_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/stop", + "template": null, + "updated_at": "2021-10-14T00:53:32-06:00", + "url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q", + "web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev" + } + }, + "codespace-machines-list": { + "value": { + "machines": [ + { + "cpus": 4, + "display_name": "4 cores, 8 GB RAM, 64 GB storage", + "memory_in_bytes": 8589934592, + "name": "standardLinux", + "operating_system": "linux", + "storage_in_bytes": 68719476736 + }, + { + "cpus": 8, + "display_name": "8 cores, 16 GB RAM, 64 GB storage", + "memory_in_bytes": 17179869184, + "name": "premiumLinux", + "operating_system": "linux", + "storage_in_bytes": 68719476736 + } + ], + "total_count": 2 + } + }, + "codespace-with-full-repository": { + "value": { + "billable_owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2021-10-14T00:53:30-06:00", + "devcontainer_path": ".devcontainer/devcontainer.json", + "environment_id": "26a7c758-7299-4a73-b978-5a92a7ae98a0", + "git_status": { + "ahead": 0, + "behind": 0, + "has_uncommitted_changes": false, + "has_unpushed_changes": false, + "ref": "main" + }, + "id": 1, + "idle_timeout_minutes": 60, + "last_used_at": "2021-10-14T00:53:30-06:00", + "location": "WestUs2", + "machine": { + "cpus": 4, + "display_name": "4 cores, 8 GB RAM, 64 GB storage", + "memory_in_bytes": 8589934592, + "name": "standardLinux", + "operating_system": "linux", + "storage_in_bytes": 68719476736 + }, + "machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines", + "name": "monalisa-octocat-hello-world-g4wpq6h95q", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "prebuild": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1", + "recent_folders": [], + "repository": { + "allow_auto_merge": false, + "allow_forking": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 9, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "organization": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/octocat" + }, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "parent": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "source": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + }, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World-Template.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World-Template/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World-Template/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World-Template/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World-Template/events", + "fork": false, + "forks": 9, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World-Template/forks", + "full_name": "octocat/Hello-World-Template", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World-Template.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World-Template/hooks", + "html_url": "https://github.com/octocat/Hello-World-Template", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World-Template/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World-Template/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World-Template", + "name": "Hello-World-Template", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World-Template.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World-Template/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World-Template", + "tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World-Template/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World-Template", + "visibility": "public", + "watchers": 80, + "watchers_count": 80 + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 80, + "watchers_count": 80 + }, + "retention_expires_at": null, + "retention_period_minutes": 43200, + "start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start", + "state": "Available", + "stop_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/stop", + "template": null, + "updated_at": "2021-10-14T00:53:32-06:00", + "url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q", + "web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev" + } + }, + "codespaces-list": { + "value": { + "codespaces": [ + { + "billable_owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2021-10-14T00:53:30-06:00", + "devcontainer_path": ".devcontainer/devcontainer.json", + "environment_id": "26a7c758-7299-4a73-b978-5a92a7ae98a0", + "git_status": { + "ahead": 0, + "behind": 0, + "has_uncommitted_changes": false, + "has_unpushed_changes": false, + "ref": "main" + }, + "id": 1, + "idle_timeout_minutes": 60, + "last_used_at": "2021-10-14T00:53:30-06:00", + "location": "WestUs2", + "machine": { + "cpus": 4, + "display_name": "4 cores, 8 GB RAM, 64 GB storage", + "memory_in_bytes": 8589934592, + "name": "standardLinux", + "operating_system": "linux", + "storage_in_bytes": 68719476736 + }, + "machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines", + "name": "monalisa-octocat-hello-world-g4wpq6h95q", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "prebuild": false, + "recent_folders": [], + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start", + "state": "Available", + "stop_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/stop", + "updated_at": "2021-10-14T00:53:32-06:00", + "url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q", + "web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev" + }, + { + "billable_owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2021-10-14T00:53:30-06:00", + "devcontainer_path": ".devcontainer/foobar/devcontainer.json", + "environment_id": "526ce4d7-46da-494f-a4f9-cfd25b818719", + "git_status": { + "ahead": 0, + "behind": 0, + "has_uncommitted_changes": false, + "has_unpushed_changes": false, + "ref": "main" + }, + "id": 1, + "idle_timeout_minutes": 60, + "last_used_at": "2021-10-14T00:53:30-06:00", + "location": "WestUs2", + "machine": { + "cpus": 4, + "display_name": "4 cores, 8 GB RAM, 64 GB storage", + "memory_in_bytes": 8589934592, + "name": "standardLinux", + "operating_system": "linux", + "storage_in_bytes": 68719476736 + }, + "machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/machines", + "name": "monalisa-octocat-hello-world-3f89ada1j3", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "prebuild": false, + "recent_folders": [], + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start", + "state": "Available", + "stop_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop", + "updated_at": "2021-10-14T00:53:32-06:00", + "url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3", + "web_url": "https://monalisa-octocat-hello-world-3f89ada1j3.github.dev" + }, + { + "billable_owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2021-10-14T00:53:30-06:00", + "devcontainer_path": ".devcontainer.json", + "environment_id": "6ac8cd6d-a2d0-4ae3-8cea-e135059264df", + "git_status": { + "ahead": 0, + "behind": 0, + "has_uncommitted_changes": false, + "has_unpushed_changes": false, + "ref": "main" + }, + "id": 1, + "idle_timeout_minutes": 60, + "last_used_at": "2021-10-14T00:53:30-06:00", + "location": "WestUs2", + "machine": { + "cpus": 4, + "display_name": "4 cores, 8 GB RAM, 64 GB storage", + "memory_in_bytes": 8589934592, + "name": "standardLinux", + "operating_system": "linux", + "storage_in_bytes": 68719476736 + }, + "machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/machines", + "name": "monalisa-octocat-hello-world-f8adfad99a", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "prebuild": false, + "recent_folders": [], + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/start", + "state": "Available", + "stop_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop", + "updated_at": "2021-10-14T00:53:32-06:00", + "url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a", + "web_url": "https://monalisa-octocat-hello-world-f8adfad99a.github.dev" + } + ], + "total_count": 3 + } + }, + "codespaces-list-devcontainers-for-repository": { + "value": { + "devcontainers": [ + { + "name": "foobar", + "path": ".devcontainer/foobar/devcontainer.json" + }, + { + "name": "kitchensink", + "path": ".devcontainer/devcontainer.json" + }, + { + "path": ".devcontainer.json" + } + ], + "total_count": 3 + } + }, + "codespaces-list-for-repository": { + "value": { + "codespaces": [ + { + "billable_owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2021-10-14T00:53:30-06:00", + "devcontainer_path": ".devcontainer/devcontainer.json", + "environment_id": "26a7c758-7299-4a73-b978-5a92a7ae98a0", + "git_status": { + "ahead": 0, + "behind": 0, + "has_uncommitted_changes": false, + "has_unpushed_changes": false, + "ref": "main" + }, + "id": 1, + "idle_timeout_minutes": 60, + "last_used_at": "2021-10-14T00:53:30-06:00", + "location": "WestUs2", + "machine": { + "cpus": 4, + "display_name": "4 cores, 8 GB RAM, 64 GB storage", + "memory_in_bytes": 8589934592, + "name": "standardLinux", + "operating_system": "linux", + "storage_in_bytes": 68719476736 + }, + "machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines", + "name": "monalisa-octocat-hello-world-g4wpq6h95q", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "prebuild": false, + "recent_folders": [], + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start", + "state": "Available", + "stop_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/stop", + "updated_at": "2021-10-14T00:53:32-06:00", + "url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q", + "web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev" + }, + { + "billable_owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2021-10-14T00:53:30-06:00", + "devcontainer_path": ".devcontainer/devcontainer.json", + "environment_id": "526ce4d7-46da-494f-a4f9-cfd25b818719", + "git_status": { + "ahead": 0, + "behind": 0, + "has_uncommitted_changes": false, + "has_unpushed_changes": false, + "ref": "main" + }, + "id": 2, + "idle_timeout_minutes": 60, + "last_used_at": "2021-10-14T00:53:30-06:00", + "location": "WestUs2", + "machine": { + "cpus": 4, + "display_name": "4 cores, 8 GB RAM, 64 GB storage", + "memory_in_bytes": 8589934592, + "name": "standardLinux", + "operating_system": "linux", + "storage_in_bytes": 68719476736 + }, + "machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/machines", + "name": "monalisa-octocat-hello-world-3f89ada1j3", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "prebuild": false, + "recent_folders": [], + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start", + "state": "Available", + "stop_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop", + "updated_at": "2021-10-14T00:53:32-06:00", + "url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3", + "web_url": "https://monalisa-octocat-hello-world-3f89ada1j3.github.dev" + } + ], + "total_count": 2 + } + }, + "codespaces-public-key": { + "value": { + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", + "key_id": "012345678912345678" + } + }, + "codespaces-user-public-key": { + "value": { + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", + "key_id": "012345678912345678" + } + }, + "collaborator-items": { + "value": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "permissions": { + "admin": false, + "maintain": false, + "pull": true, + "push": true, + "triage": true + }, + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "role_name": "write", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + ] + }, + "combined-billing-usage": { + "value": { + "days_left_in_billing_cycle": 20, + "estimated_paid_storage_for_month": 15, + "estimated_storage_for_month": 40 + } + }, + "combined-commit-status": { + "value": { + "commit_url": "https://api.github.com/repos/octocat/Hello-World/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "state": "success", + "statuses": [ + { + "avatar_url": "https://github.com/images/error/hubot_happy.gif", + "context": "continuous-integration/jenkins", + "created_at": "2012-07-20T01:19:13Z", + "description": "Build has completed successfully", + "id": 1, + "node_id": "MDY6U3RhdHVzMQ==", + "state": "success", + "target_url": "https://ci.example.com/1000/output", + "updated_at": "2012-07-20T01:19:13Z", + "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" + }, + { + "avatar_url": "https://github.com/images/error/other_user_happy.gif", + "context": "security/brakeman", + "created_at": "2012-08-20T01:19:13Z", + "description": "Testing has completed successfully", + "id": 2, + "node_id": "MDY6U3RhdHVzMg==", + "state": "success", + "target_url": "https://ci.example.com/2000/output", + "updated_at": "2012-08-20T01:19:13Z", + "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + ], + "total_count": 2, + "url": "https://api.github.com/repos/octocat/Hello-World/6dcb09b5b57875f334f61aebed695e2e4193db5e/status" + } + }, + "commit": { + "value": { + "author": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", + "commit": { + "author": { + "date": "2011-04-14T16:00:49Z", + "email": "mona@github.com", + "name": "Monalisa Octocat" + }, + "comment_count": 0, + "committer": { + "date": "2011-04-14T16:00:49Z", + "email": "mona@github.com", + "name": "Monalisa Octocat" + }, + "message": "Fix all the bugs", + "tree": { + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "verification": { + "payload": null, + "reason": "unsigned", + "signature": null, + "verified": false + } + }, + "committer": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "files": [ + { + "additions": 10, + "blob_url": "https://github.com/octocat/Hello-World/blob/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt", + "changes": 12, + "deletions": 2, + "filename": "file1.txt", + "patch": "@@ -29,7 +29,7 @@\n.....", + "raw_url": "https://github.com/octocat/Hello-World/raw/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt", + "status": "modified" + } + ], + "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==", + "parents": [ + { + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + ], + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "stats": { + "additions": 104, + "deletions": 4, + "total": 108 + }, + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + }, + "commit-activity-items": { + "value": [ + { + "days": [ + 0, + 3, + 26, + 20, + 39, + 1, + 0 + ], + "total": 89, + "week": 1336280400 + } + ] + }, + "commit-comment": { + "value": { + "author_association": "COLLABORATOR", + "body": "Great stuff", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1", + "id": 1, + "line": 14, + "node_id": "MDEzOkNvbW1pdENvbW1lbnQx", + "path": "file1.txt", + "position": 4, + "updated_at": "2011-04-14T16:00:49Z", + "url": "https://api.github.com/repos/octocat/Hello-World/comments/1", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "commit-comment-2": { + "value": { + "author_association": "COLLABORATOR", + "body": "Nice change", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1", + "id": 1, + "line": 14, + "node_id": "MDEzOkNvbW1pdENvbW1lbnQx", + "path": "file1.txt", + "position": 4, + "updated_at": "2011-04-14T16:00:49Z", + "url": "https://api.github.com/repos/octocat/Hello-World/comments/1", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "commit-comment-items": { + "value": [ + { + "author_association": "COLLABORATOR", + "body": "Great stuff", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1", + "id": 1, + "line": 14, + "node_id": "MDEzOkNvbW1pdENvbW1lbnQx", + "path": "file1.txt", + "position": 4, + "updated_at": "2011-04-14T16:00:49Z", + "url": "https://api.github.com/repos/octocat/Hello-World/comments/1", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + ] + }, + "commit-comparison": { + "value": { + "ahead_by": 1, + "base_commit": { + "author": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", + "commit": { + "author": { + "date": "2011-04-14T16:00:49Z", + "email": "mona@github.com", + "name": "Monalisa Octocat" + }, + "comment_count": 0, + "committer": { + "date": "2011-04-14T16:00:49Z", + "email": "mona@github.com", + "name": "Monalisa Octocat" + }, + "message": "Fix all the bugs", + "tree": { + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "verification": { + "payload": null, + "reason": "unsigned", + "signature": null, + "verified": false + } + }, + "committer": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==", + "parents": [ + { + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + ], + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e" + }, + "behind_by": 2, + "commits": [ + { + "author": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", + "commit": { + "author": { + "date": "2011-04-14T16:00:49Z", + "email": "mona@github.com", + "name": "Monalisa Octocat" + }, + "comment_count": 0, + "committer": { + "date": "2011-04-14T16:00:49Z", + "email": "mona@github.com", + "name": "Monalisa Octocat" + }, + "message": "Fix all the bugs", + "tree": { + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "verification": { + "payload": null, + "reason": "unsigned", + "signature": null, + "verified": false + } + }, + "committer": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==", + "parents": [ + { + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + ], + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + ], + "diff_url": "https://github.com/octocat/Hello-World/compare/master...topic.diff", + "files": [ + { + "additions": 103, + "blob_url": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt", + "changes": 124, + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "deletions": 21, + "filename": "file1.txt", + "patch": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test", + "raw_url": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt", + "sha": "bbcd538c8e72b8c175046e27cc8f907076331401", + "status": "added" + } + ], + "html_url": "https://github.com/octocat/Hello-World/compare/master...topic", + "merge_base_commit": { + "author": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", + "commit": { + "author": { + "date": "2011-04-14T16:00:49Z", + "email": "mona@github.com", + "name": "Monalisa Octocat" + }, + "comment_count": 0, + "committer": { + "date": "2011-04-14T16:00:49Z", + "email": "mona@github.com", + "name": "Monalisa Octocat" + }, + "message": "Fix all the bugs", + "tree": { + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "verification": { + "payload": null, + "reason": "unsigned", + "signature": null, + "verified": false + } + }, + "committer": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==", + "parents": [ + { + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + ], + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e" + }, + "patch_url": "https://github.com/octocat/Hello-World/compare/master...topic.patch", + "permalink_url": "https://github.com/octocat/Hello-World/compare/octocat:bbcd538c8e72b8c175046e27cc8f907076331401...octocat:0328041d1152db8ae77652d1618a02e57f745f17", + "status": "behind", + "total_commits": 1, + "url": "https://api.github.com/repos/octocat/Hello-World/compare/master...topic" + } + }, + "commit-items": { + "value": [ + { + "author": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", + "commit": { + "author": { + "date": "2011-04-14T16:00:49Z", + "email": "support@github.com", + "name": "Monalisa Octocat" + }, + "comment_count": 0, + "committer": { + "date": "2011-04-14T16:00:49Z", + "email": "support@github.com", + "name": "Monalisa Octocat" + }, + "message": "Fix all the bugs", + "tree": { + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "verification": { + "payload": null, + "reason": "unsigned", + "signature": null, + "verified": false + } + }, + "committer": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==", + "parents": [ + { + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + ], + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + ] + }, + "commit-search-result-item-paginated": { + "value": { + "incomplete_results": false, + "items": [ + { + "author": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=3", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 583231, + "login": "octocat", + "node_id": "MDQ6VXNlcjU4MzIzMQ==", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "comments_url": "https://api.github.com/repos/octocat/Spoon-Knife/commits/bb4cc8d3b2e14b3af5df699876dd4ff3acd00b7f/comments", + "commit": { + "author": { + "date": "2014-02-04T14:38:36-08:00", + "email": "octocat@nowhere.com", + "name": "The Octocat" + }, + "comment_count": 8, + "committer": { + "date": "2014-02-12T15:18:55-08:00", + "email": "octocat@nowhere.com", + "name": "The Octocat" + }, + "message": "Create styles.css and updated README", + "tree": { + "sha": "a639e96f9038797fba6e0469f94a4b0cc459fa68", + "url": "https://api.github.com/repos/octocat/Spoon-Knife/git/trees/a639e96f9038797fba6e0469f94a4b0cc459fa68" + }, + "url": "https://api.github.com/repos/octocat/Spoon-Knife/git/commits/bb4cc8d3b2e14b3af5df699876dd4ff3acd00b7f" + }, + "committer": {}, + "html_url": "https://github.com/octocat/Spoon-Knife/commit/bb4cc8d3b2e14b3af5df699876dd4ff3acd00b7f", + "node_id": "MDQ6VXNlcjU4MzIzMQ==", + "parents": [ + { + "html_url": "https://github.com/octocat/Spoon-Knife/commit/a30c19e3f13765a3b48829788bc1cb8b4e95cee4", + "sha": "a30c19e3f13765a3b48829788bc1cb8b4e95cee4", + "url": "https://api.github.com/repos/octocat/Spoon-Knife/commits/a30c19e3f13765a3b48829788bc1cb8b4e95cee4" + } + ], + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Spoon-Knife/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Spoon-Knife/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Spoon-Knife/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Spoon-Knife/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Spoon-Knife/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Spoon-Knife/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Spoon-Knife/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Spoon-Knife/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Spoon-Knife/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Spoon-Knife/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Spoon-Knife/deployments", + "description": "This repo is for demonstration purposes only.", + "downloads_url": "https://api.github.com/repos/octocat/Spoon-Knife/downloads", + "events_url": "https://api.github.com/repos/octocat/Spoon-Knife/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Spoon-Knife/forks", + "full_name": "octocat/Spoon-Knife", + "git_commits_url": "https://api.github.com/repos/octocat/Spoon-Knife/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Spoon-Knife/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Spoon-Knife/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Spoon-Knife/hooks", + "html_url": "https://github.com/octocat/Spoon-Knife", + "id": 1300192, + "issue_comment_url": "https://api.github.com/repos/octocat/Spoon-Knife/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Spoon-Knife/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Spoon-Knife/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Spoon-Knife/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Spoon-Knife/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Spoon-Knife/languages", + "merges_url": "https://api.github.com/repos/octocat/Spoon-Knife/merges", + "milestones_url": "https://api.github.com/repos/octocat/Spoon-Knife/milestones{/number}", + "name": "Spoon-Knife", + "node_id": "MDEwOlJlcG9zaXRvcnkxMzAwMTky", + "notifications_url": "https://api.github.com/repos/octocat/Spoon-Knife/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=3", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 583231, + "login": "octocat", + "node_id": "MDQ6VXNlcjU4MzIzMQ==", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Spoon-Knife/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Spoon-Knife/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Spoon-Knife/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Spoon-Knife/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Spoon-Knife/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Spoon-Knife/subscription", + "tags_url": "https://api.github.com/repos/octocat/Spoon-Knife/tags", + "teams_url": "https://api.github.com/repos/octocat/Spoon-Knife/teams", + "trees_url": "https://api.github.com/repos/octocat/Spoon-Knife/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Spoon-Knife" + }, + "score": 1, + "sha": "bb4cc8d3b2e14b3af5df699876dd4ff3acd00b7f", + "url": "https://api.github.com/repos/octocat/Spoon-Knife/commits/bb4cc8d3b2e14b3af5df699876dd4ff3acd00b7f" + } + ], + "total_count": 1 + } + }, + "community-profile": { + "value": { + "content_reports_enabled": true, + "description": "My first repository on GitHub!", + "documentation": null, + "files": { + "code_of_conduct": { + "html_url": "https://github.com/octocat/Hello-World/blob/master/CODE_OF_CONDUCT.md", + "key": "contributor_covenant", + "name": "Contributor Covenant", + "url": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "code_of_conduct_file": { + "html_url": "https://github.com/octocat/Hello-World/blob/master/CODE_OF_CONDUCT.md", + "url": "https://api.github.com/repos/octocat/Hello-World/contents/CODE_OF_CONDUCT.md" + }, + "contributing": { + "html_url": "https://github.com/octocat/Hello-World/blob/master/CONTRIBUTING", + "url": "https://api.github.com/repos/octocat/Hello-World/contents/CONTRIBUTING" + }, + "issue_template": { + "html_url": "https://github.com/octocat/Hello-World/blob/master/ISSUE_TEMPLATE", + "url": "https://api.github.com/repos/octocat/Hello-World/contents/ISSUE_TEMPLATE" + }, + "license": { + "html_url": "https://github.com/octocat/Hello-World/blob/master/LICENSE", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "pull_request_template": { + "html_url": "https://github.com/octocat/Hello-World/blob/master/PULL_REQUEST_TEMPLATE", + "url": "https://api.github.com/repos/octocat/Hello-World/contents/PULL_REQUEST_TEMPLATE" + }, + "readme": { + "html_url": "https://github.com/octocat/Hello-World/blob/master/README.md", + "url": "https://api.github.com/repos/octocat/Hello-World/contents/README.md" + } + }, + "health_percentage": 100, + "updated_at": "2017-02-28T19:09:29Z" + } + }, + "content-file": { + "value": { + "_links": { + "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "html": "https://github.com/octokit/octokit.rb/blob/master/README.md", + "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md" + }, + "content": "encoded content ...", + "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md", + "encoding": "base64", + "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md", + "name": "README.md", + "path": "README.md", + "sha": "3d21ec53a331a6f037a91c368710b99387d012c1", + "size": 5362, + "type": "file", + "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md" + } + }, + "content-file-response-if-content-is-a-directory": { + "summary": "Response if content is a directory and the application/json media type is requested", + "value": [ + { + "_links": { + "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", + "html": "https://github.com/octokit/octokit.rb/blob/master/lib/octokit.rb", + "self": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit.rb" + }, + "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/lib/octokit.rb", + "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", + "html_url": "https://github.com/octokit/octokit.rb/blob/master/lib/octokit.rb", + "name": "octokit.rb", + "path": "lib/octokit.rb", + "sha": "fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", + "size": 625, + "type": "file", + "url": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit.rb" + }, + { + "_links": { + "git": "https://api.github.com/repos/octokit/octokit.rb/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", + "html": "https://github.com/octokit/octokit.rb/tree/master/lib/octokit", + "self": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit" + }, + "download_url": null, + "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", + "html_url": "https://github.com/octokit/octokit.rb/tree/master/lib/octokit", + "name": "octokit", + "path": "lib/octokit", + "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", + "size": 0, + "type": "dir", + "url": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit" + } + ] + }, + "content-file-response-if-content-is-a-directory-object": { + "summary": "Response if content is a directory and the application/vnd.github.v3.object media type is requested", + "value": { + "_links": { + "git": "https://api.github.com/repos/octocat/octorepo/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", + "html": "https://github.com/octocat/octorepo/blob/main/src", + "self": "https://api.github.com/repos/octocat/octorepo/contents/src" + }, + "download_url": "https://raw.githubusercontent.com/octocat/octorepo/main/src", + "entries": [ + { + "_links": { + "git": "https://api.github.com/repos/octocat/octorepo/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", + "html": "https://github.com/octocat/octorepo/blob/main/src/app.js", + "self": "https://api.github.com/repos/octocat/octorepo/contents/src/app.js" + }, + "download_url": "https://raw.githubusercontent.com/octocat/octorepo/main/src/app.js", + "git_url": "https://api.github.com/repos/octocat/octorepo/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", + "html_url": "https://github.com/octocat/octorepo/blob/main/src/app.js", + "name": "app.js", + "path": "src/app.js", + "sha": "fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", + "size": 625, + "type": "file", + "url": "https://api.github.com/repos/octocat/octorepo/contents/src/app.js" + }, + { + "_links": { + "git": "https://api.github.com/repos/octocat/octorepo/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", + "html": "https://github.com/octocat/octorepo/tree/main/src/images", + "self": "https://api.github.com/repos/octocat/octorepo/contents/src/images" + }, + "download_url": null, + "git_url": "https://api.github.com/repos/octocat/octorepo/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", + "html_url": "https://github.com/octocat/octorepo/tree/main/src/images", + "name": "images", + "path": "src/images", + "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", + "size": 0, + "type": "dir", + "url": "https://api.github.com/repos/octocat/octorepo/contents/src/images" + } + ], + "git_url": "https://api.github.com/repos/octocat/octorepo/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", + "html_url": "https://github.com/octocat/octorepo/blob/main/src", + "name": "src", + "path": "src", + "sha": "2962be1c94eaae9794b3080790ec9d74b2fa8358", + "size": 0, + "type": "dir", + "url": "https://api.github.com/repos/octocat/octorepo/contents/src?ref=main" + } + }, + "content-file-response-if-content-is-a-file": { + "summary": "Response if content is a file", + "value": { + "_links": { + "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "html": "https://github.com/octokit/octokit.rb/blob/master/README.md", + "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md" + }, + "content": "IyBZb2dhIEJvmsgaW4gcHJvZ3Jlc3MhIEZlZWwgdAoKOndhcm5pbmc6IFdvc\\nZnJlZSBmUgdG8gY0byBjaGVjayBvdXQgdGhlIGFwcCwgYnV0IGJlIHN1c29t\\nZSBiYWNrIG9uY2UgaXQgaXMgY29tcGxldGUuCgpBIHdlYiBhcHAgdGhhdCBs\\nZWFkcyB5b3UgdGhyb3VnaCBhIHlvZ2Egc2Vzc2lvbi4KCltXb3Jrb3V0IG5v\\ndyFdKGh0dHBzOi8vc2tlZHdhcmRzODguZ2l0aHViLmlvL3lvZ2EvKQoKPGlt\\nZyBzcmM9InNyYy9pbWFnZXMvbWFza2FibGVfaWNvbl81MTIucG5nIiBhbHQ9\\nImJvdCBsaWZ0aW5nIHdlaWdodHMiIHdpZHRoPSIxMDAiLz4KCkRvIHlvdSBo\\nYXZlIGZlZWRiYWNrIG9yIGlkZWFzIGZvciBpbXByb3ZlbWVudD8gW09wZW4g\\nYW4gaXNzdWVdKGh0dHBzOi8vZ2l0aHViLmNvbS9za2Vkd2FyZHM4OC95b2dh\\nL2lzc3Vlcy9uZXcpLgoKV2FudCBtb3JlIGdhbWVzPyBWaXNpdCBbQ25TIEdh\\nbWVzXShodHRwczovL3NrZWR3YXJkczg4LmdpdGh1Yi5pby9wb3J0Zm9saW8v\\nKS4KCiMjIERldmVsb3BtZW50CgpUbyBhZGQgYSBuZXcgcG9zZSwgYWRkIGFu\\nIGVudHJ5IHRvIHRoZSByZWxldmFudCBmaWxlIGluIGBzcmMvYXNhbmFzYC4K\\nClRvIGJ1aWxkLCBydW4gYG5wbSBydW4gYnVpbGRgLgoKVG8gcnVuIGxvY2Fs\\nbHkgd2l0aCBsaXZlIHJlbG9hZGluZyBhbmQgbm8gc2VydmljZSB3b3JrZXIs\\nIHJ1biBgbnBtIHJ1biBkZXZgLiAoSWYgYSBzZXJ2aWNlIHdvcmtlciB3YXMg\\ncHJldmlvdXNseSByZWdpc3RlcmVkLCB5b3UgY2FuIHVucmVnaXN0ZXIgaXQg\\naW4gY2hyb21lIGRldmVsb3BlciB0b29sczogYEFwcGxpY2F0aW9uYCA+IGBT\\nZXJ2aWNlIHdvcmtlcnNgID4gYFVucmVnaXN0ZXJgLikKClRvIHJ1biBsb2Nh\\nbGx5IGFuZCByZWdpc3RlciB0aGUgc2VydmljZSB3b3JrZXIsIHJ1biBgbnBt\\nIHN0YXJ0YC4KClRvIGRlcGxveSwgcHVzaCB0byBgbWFpbmAgb3IgbWFudWFs\\nbHkgdHJpZ2dlciB0aGUgYC5naXRodWIvd29ya2Zsb3dzL2RlcGxveS55bWxg\\nIHdvcmtmbG93Lgo=\\n", + "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md", + "encoding": "base64", + "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", + "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md", + "name": "README.md", + "path": "README.md", + "sha": "3d21ec53a331a6f037a91c368710b99387d012c1", + "size": 5362, + "type": "file", + "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md" + } + }, + "content-file-response-if-content-is-a-submodule": { + "summary": "Response if content is a submodule and the application/json media type is requested", + "value": { + "_links": { + "git": "https://api.github.com/repos/jquery/qunit/git/trees/6ca3721222109997540bd6d9ccd396902e0ad2f9", + "html": "https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9", + "self": "https://api.github.com/repos/jquery/jquery/contents/test/qunit?ref=master" + }, + "download_url": null, + "git_url": "https://api.github.com/repos/jquery/qunit/git/trees/6ca3721222109997540bd6d9ccd396902e0ad2f9", + "html_url": "https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9", + "name": "qunit", + "path": "test/qunit", + "sha": "6ca3721222109997540bd6d9ccd396902e0ad2f9", + "size": 0, + "submodule_git_url": "git://github.com/jquery/qunit.git", + "type": "submodule", + "url": "https://api.github.com/repos/jquery/jquery/contents/test/qunit?ref=master" + } + }, + "content-file-response-if-content-is-a-symlink": { + "summary": "Response if content is a symlink and the application/json media type is requested", + "value": { + "_links": { + "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/452a98979c88e093d682cab404a3ec82babebb48", + "html": "https://github.com/octokit/octokit.rb/blob/master/bin/some-symlink", + "self": "https://api.github.com/repos/octokit/octokit.rb/contents/bin/some-symlink" + }, + "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/bin/some-symlink", + "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/452a98979c88e093d682cab404a3ec82babebb48", + "html_url": "https://github.com/octokit/octokit.rb/blob/master/bin/some-symlink", + "name": "some-symlink", + "path": "bin/some-symlink", + "sha": "452a98979c88e093d682cab404a3ec82babebb48", + "size": 23, + "target": "/path/to/symlink/target", + "type": "symlink", + "url": "https://api.github.com/repos/octokit/octokit.rb/contents/bin/some-symlink" + } + }, + "content-traffic-items": { + "value": [ + { + "count": 3542, + "path": "/github/hubot", + "title": "github/hubot: A customizable life embetterment robot.", + "uniques": 2225 + }, + { + "count": 1707, + "path": "/github/hubot/blob/master/docs/scripting.md", + "title": "hubot/scripting.md at master · github/hubot · GitHub", + "uniques": 804 + }, + { + "count": 685, + "path": "/github/hubot/tree/master/docs", + "title": "hubot/docs at master · github/hubot · GitHub", + "uniques": 435 + }, + { + "count": 577, + "path": "/github/hubot/tree/master/src", + "title": "hubot/src at master · github/hubot · GitHub", + "uniques": 347 + }, + { + "count": 379, + "path": "/github/hubot/blob/master/docs/index.md", + "title": "hubot/index.md at master · github/hubot · GitHub", + "uniques": 259 + }, + { + "count": 354, + "path": "/github/hubot/blob/master/docs/adapters.md", + "title": "hubot/adapters.md at master · github/hubot · GitHub", + "uniques": 201 + }, + { + "count": 340, + "path": "/github/hubot/tree/master/examples", + "title": "hubot/examples at master · github/hubot · GitHub", + "uniques": 260 + }, + { + "count": 324, + "path": "/github/hubot/blob/master/docs/deploying/heroku.md", + "title": "hubot/heroku.md at master · github/hubot · GitHub", + "uniques": 217 + }, + { + "count": 293, + "path": "/github/hubot/blob/master/src/robot.coffee", + "title": "hubot/robot.coffee at master · github/hubot · GitHub", + "uniques": 191 + }, + { + "count": 281, + "path": "/github/hubot/blob/master/LICENSE.md", + "title": "hubot/LICENSE.md at master · github/hubot · GitHub", + "uniques": 222 + } + ] + }, + "contributor-activity-items": { + "value": [ + { + "author": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "total": 135, + "weeks": [ + { + "a": 6898, + "c": 10, + "d": 77, + "w": 1367712000 + } + ] + } + ] + }, + "contributor-items-response-if-repository-contains-content": { + "value": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "contributions": 32, + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + ] + }, + "delete-gist-file": { + "value": { + "comments": 0, + "comments_url": "https://api.github.com/gists/2decf6c462d9b4418f2/comments", + "commits_url": "https://api.github.com/gists/2decf6c462d9b4418f2/commits", + "created_at": "2022-09-20T12:11:58Z", + "description": "A gist description.", + "files": null, + "forks": [], + "forks_url": "https://api.github.com/gists/2decf6c462d9b4418f2/forks", + "git_pull_url": "https://gist.github.com/2decf6c462d9b4418f2.git", + "git_push_url": "https://gist.github.com/2decf6c462d9b4418f2.git", + "history": [ + { + "change_status": { + "additions": 0, + "deletions": 1, + "total": 1 + }, + "committed_at": "2022-09-21T10:28:06Z", + "url": "https://api.github.com/gists/8481a81af6b7a2d418f2/468aac8caed5f0c3b859b8286968", + "user": { + "avatar_url": "https://avatars.githubusercontent.com/u/104456405?v=4", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/monalisa", + "id": 104456405, + "login": "monalisa", + "node_id": "U_kgyLQ", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "repos_url": "https://api.github.com/users/monalisa/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "type": "User", + "url": "https://api.github.com/users/monalisa" + }, + "version": "9cc352a89178a6d4" + } + ], + "html_url": "https://gist.github.com/2decf6c462d9b4418f2", + "id": "2decf6c462d9b4418f2", + "node_id": "G_kwDOBhHyLdoAIDg0ODFZDliNDQxOGYy", + "owner": { + "avatar_url": "https://avatars.githubusercontent.com/u/104456405?v=4", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/monalisa", + "id": 104456405, + "login": "monalisa", + "node_id": "U_kgDOBhHyLQ", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "repos_url": "https://api.github.com/users/monalisa/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "type": "User", + "url": "https://api.github.com/users/monalisa" + }, + "public": true, + "truncated": false, + "updated_at": "2022-09-21T10:28:06Z", + "url": "https://api.github.com/gists/2decf6c462d9b4418f2", + "user": null + } + }, + "dependabot-alert-dismissed": { + "value": { + "created_at": "2022-06-15T07:43:03Z", + "dependency": { + "manifest_path": "path/to/requirements.txt", + "package": { + "ecosystem": "pip", + "name": "django" + }, + "scope": "runtime" + }, + "dismissed_at": "2022-08-23T14:29:47Z", + "dismissed_by": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "dismissed_comment": "This alert is accurate but we use a sanitizer.", + "dismissed_reason": "tolerable_risk", + "fixed_at": null, + "html_url": "https://github.com/octocat/hello-world/security/dependabot/2", + "number": 2, + "security_advisory": { + "cve_id": "CVE-2018-6188", + "cvss": { + "score": 7.5, + "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" + }, + "cwes": [ + { + "cwe_id": "CWE-200", + "name": "Exposure of Sensitive Information to an Unauthorized Actor" + } + ], + "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", + "ghsa_id": "GHSA-rf4j-j272-fj86", + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-rf4j-j272-fj86" + }, + { + "type": "CVE", + "value": "CVE-2018-6188" + } + ], + "published_at": "2018-10-03T21:13:54Z", + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" + }, + { + "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" + }, + { + "url": "https://usn.ubuntu.com/3559-1/" + }, + { + "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" + }, + { + "url": "http://www.securitytracker.com/id/1040422" + } + ], + "severity": "high", + "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", + "updated_at": "2022-04-26T18:35:37Z", + "vulnerabilities": [ + { + "first_patched_version": { + "identifier": "2.0.2" + }, + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2" + }, + { + "first_patched_version": { + "identifier": "1.11.10" + }, + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 1.11.8, < 1.11.10" + } + ], + "withdrawn_at": null + }, + "security_vulnerability": { + "first_patched_version": { + "identifier": "2.0.2" + }, + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2" + }, + "state": "dismissed", + "updated_at": "2022-08-23T14:29:47Z", + "url": "https://api.github.com/repos/octocat/hello-world/dependabot/alerts/2" + } + }, + "dependabot-alert-open": { + "value": { + "created_at": "2022-06-14T15:21:52Z", + "dependency": { + "manifest_path": "path/to/requirements.txt", + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "scope": "runtime" + }, + "dismissed_at": null, + "dismissed_by": null, + "dismissed_comment": null, + "dismissed_reason": null, + "fixed_at": null, + "html_url": "https://github.com/octocat/hello-world/security/dependabot/1", + "number": 1, + "security_advisory": { + "cve_id": "CVE-2021-20191", + "cvss": { + "score": 5.5, + "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N" + }, + "cwes": [ + { + "cwe_id": "CWE-532", + "name": "Insertion of Sensitive Information into Log File" + } + ], + "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", + "ghsa_id": "GHSA-8f4m-hccc-8qph", + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-8f4m-hccc-8qph" + }, + { + "type": "CVE", + "value": "CVE-2021-20191" + } + ], + "published_at": "2021-06-01T17:38:00Z", + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" + }, + { + "url": "https://access.redhat.com/security/cve/cve-2021-20191" + }, + { + "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1916813" + } + ], + "severity": "medium", + "summary": "Insertion of Sensitive Information into Log File in ansible", + "updated_at": "2021-08-12T23:06:00Z", + "vulnerabilities": [ + { + "first_patched_version": { + "identifier": "2.9.18" + }, + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.9.0, < 2.9.18" + }, + { + "first_patched_version": { + "identifier": "2.8.19" + }, + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": "< 2.8.19" + }, + { + "first_patched_version": { + "identifier": "2.10.7" + }, + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.10.0, < 2.10.7" + } + ], + "withdrawn_at": null + }, + "security_vulnerability": { + "first_patched_version": { + "identifier": "2.8.19" + }, + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": "< 2.8.19" + }, + "state": "open", + "updated_at": "2022-06-14T15:21:52Z", + "url": "https://api.github.com/repos/octocat/hello-world/dependabot/alerts/1" + } + }, + "dependabot-alerts-for-organization": { + "value": [ + { + "created_at": "2022-06-15T07:43:03Z", + "dependency": { + "manifest_path": "path/to/requirements.txt", + "package": { + "ecosystem": "pip", + "name": "django" + }, + "scope": "runtime" + }, + "dismissed_at": "2022-08-23T14:29:47Z", + "dismissed_by": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "dismissed_comment": "This alert is accurate but we use a sanitizer.", + "dismissed_reason": "tolerable_risk", + "fixed_at": null, + "html_url": "https://github.com/octo-org/octo-repo/security/dependabot/2", + "number": 2, + "repository": { + "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", + "description": null, + "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", + "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", + "full_name": "octo-org/octo-repo", + "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", + "html_url": "https://github.com/octo-org/octo-repo", + "id": 217723378, + "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", + "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", + "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", + "name": "octo-repo", + "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", + "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", + "events_url": "https://api.github.com/users/octo-org/events{/privacy}", + "followers_url": "https://api.github.com/users/octo-org/followers", + "following_url": "https://api.github.com/users/octo-org/following{/other_user}", + "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octo-org", + "id": 6811672, + "login": "octo-org", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", + "organizations_url": "https://api.github.com/users/octo-org/orgs", + "received_events_url": "https://api.github.com/users/octo-org/received_events", + "repos_url": "https://api.github.com/users/octo-org/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/octo-org" + }, + "private": true, + "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", + "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", + "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", + "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}", + "url": "https://api.github.com/repos/octo-org/octo-repo" + }, + "security_advisory": { + "cve_id": "CVE-2018-6188", + "cvss": { + "score": 7.5, + "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" + }, + "cwes": [ + { + "cwe_id": "CWE-200", + "name": "Exposure of Sensitive Information to an Unauthorized Actor" + } + ], + "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", + "ghsa_id": "GHSA-rf4j-j272-fj86", + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-rf4j-j272-fj86" + }, + { + "type": "CVE", + "value": "CVE-2018-6188" + } + ], + "published_at": "2018-10-03T21:13:54Z", + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" + }, + { + "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" + }, + { + "url": "https://usn.ubuntu.com/3559-1/" + }, + { + "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" + }, + { + "url": "http://www.securitytracker.com/id/1040422" + } + ], + "severity": "high", + "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", + "updated_at": "2022-04-26T18:35:37Z", + "vulnerabilities": [ + { + "first_patched_version": { + "identifier": "2.0.2" + }, + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2" + }, + { + "first_patched_version": { + "identifier": "1.11.10" + }, + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 1.11.8, < 1.11.10" + } + ], + "withdrawn_at": null + }, + "security_vulnerability": { + "first_patched_version": { + "identifier": "2.0.2" + }, + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2" + }, + "state": "dismissed", + "updated_at": "2022-08-23T14:29:47Z", + "url": "https://api.github.com/repos/octo-org/octo-repo/dependabot/alerts/2" + }, + { + "created_at": "2022-06-14T15:21:52Z", + "dependency": { + "manifest_path": "path/to/requirements.txt", + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "scope": "runtime" + }, + "dismissed_at": null, + "dismissed_by": null, + "dismissed_comment": null, + "dismissed_reason": null, + "fixed_at": null, + "html_url": "https://github.com/octo-org/hello-world/security/dependabot/1", + "number": 1, + "repository": { + "archive_url": "https://api.github.com/repos/octo-org/hello-world/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/hello-world/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/hello-world/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/hello-world/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/hello-world/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/hello-world/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/hello-world/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/hello-world/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/hello-world/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/hello-world/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/hello-world/deployments", + "description": null, + "downloads_url": "https://api.github.com/repos/octo-org/hello-world/downloads", + "events_url": "https://api.github.com/repos/octo-org/hello-world/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octo-org/hello-world/forks", + "full_name": "octo-org/hello-world", + "git_commits_url": "https://api.github.com/repos/octo-org/hello-world/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/hello-world/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/hello-world/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/hello-world/hooks", + "html_url": "https://github.com/octo-org/hello-world", + "id": 664700648, + "issue_comment_url": "https://api.github.com/repos/octo-org/hello-world/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/hello-world/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/hello-world/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/hello-world/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/hello-world/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/hello-world/languages", + "merges_url": "https://api.github.com/repos/octo-org/hello-world/merges", + "milestones_url": "https://api.github.com/repos/octo-org/hello-world/milestones{/number}", + "name": "hello-world", + "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", + "notifications_url": "https://api.github.com/repos/octo-org/hello-world/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", + "events_url": "https://api.github.com/users/octo-org/events{/privacy}", + "followers_url": "https://api.github.com/users/octo-org/followers", + "following_url": "https://api.github.com/users/octo-org/following{/other_user}", + "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octo-org", + "id": 6811672, + "login": "octo-org", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", + "organizations_url": "https://api.github.com/users/octo-org/orgs", + "received_events_url": "https://api.github.com/users/octo-org/received_events", + "repos_url": "https://api.github.com/users/octo-org/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/octo-org" + }, + "private": true, + "pulls_url": "https://api.github.com/repos/octo-org/hello-world/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/hello-world/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/hello-world/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/hello-world/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/hello-world/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/hello-world/subscription", + "tags_url": "https://api.github.com/repos/octo-org/hello-world/tags", + "teams_url": "https://api.github.com/repos/octo-org/hello-world/teams", + "trees_url": "https://api.github.com/repos/octo-org/hello-world/git/trees{/sha}", + "url": "https://api.github.com/repos/octo-org/hello-world" + }, + "security_advisory": { + "cve_id": "CVE-2021-20191", + "cvss": { + "score": 5.5, + "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N" + }, + "cwes": [ + { + "cwe_id": "CWE-532", + "name": "Insertion of Sensitive Information into Log File" + } + ], + "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", + "ghsa_id": "GHSA-8f4m-hccc-8qph", + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-8f4m-hccc-8qph" + }, + { + "type": "CVE", + "value": "CVE-2021-20191" + } + ], + "published_at": "2021-06-01T17:38:00Z", + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" + }, + { + "url": "https://access.redhat.com/security/cve/cve-2021-20191" + }, + { + "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1916813" + } + ], + "severity": "medium", + "summary": "Insertion of Sensitive Information into Log File in ansible", + "updated_at": "2021-08-12T23:06:00Z", + "vulnerabilities": [ + { + "first_patched_version": { + "identifier": "2.9.18" + }, + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.9.0, < 2.9.18" + }, + { + "first_patched_version": { + "identifier": "2.8.19" + }, + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": "< 2.8.19" + }, + { + "first_patched_version": { + "identifier": "2.10.7" + }, + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.10.0, < 2.10.7" + } + ], + "withdrawn_at": null + }, + "security_vulnerability": { + "first_patched_version": { + "identifier": "2.8.19" + }, + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": "< 2.8.19" + }, + "state": "open", + "updated_at": "2022-06-14T15:21:52Z", + "url": "https://api.github.com/repos/octo-org/hello-world/dependabot/alerts/1" + } + ] + }, + "dependabot-alerts-for-repository": { + "value": [ + { + "created_at": "2022-06-15T07:43:03Z", + "dependency": { + "manifest_path": "path/to/requirements.txt", + "package": { + "ecosystem": "pip", + "name": "django" + }, + "scope": "runtime" + }, + "dismissed_at": "2022-08-23T14:29:47Z", + "dismissed_by": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "dismissed_comment": "This alert is accurate but we use a sanitizer.", + "dismissed_reason": "tolerable_risk", + "fixed_at": null, + "html_url": "https://github.com/octocat/hello-world/security/dependabot/2", + "number": 2, + "security_advisory": { + "cve_id": "CVE-2018-6188", + "cvss": { + "score": 7.5, + "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" + }, + "cwes": [ + { + "cwe_id": "CWE-200", + "name": "Exposure of Sensitive Information to an Unauthorized Actor" + } + ], + "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", + "ghsa_id": "GHSA-rf4j-j272-fj86", + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-rf4j-j272-fj86" + }, + { + "type": "CVE", + "value": "CVE-2018-6188" + } + ], + "published_at": "2018-10-03T21:13:54Z", + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" + }, + { + "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" + }, + { + "url": "https://usn.ubuntu.com/3559-1/" + }, + { + "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" + }, + { + "url": "http://www.securitytracker.com/id/1040422" + } + ], + "severity": "high", + "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", + "updated_at": "2022-04-26T18:35:37Z", + "vulnerabilities": [ + { + "first_patched_version": { + "identifier": "2.0.2" + }, + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2" + }, + { + "first_patched_version": { + "identifier": "1.11.10" + }, + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 1.11.8, < 1.11.10" + } + ], + "withdrawn_at": null + }, + "security_vulnerability": { + "first_patched_version": { + "identifier": "2.0.2" + }, + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2" + }, + "state": "dismissed", + "updated_at": "2022-08-23T14:29:47Z", + "url": "https://api.github.com/repos/octocat/hello-world/dependabot/alerts/2" + }, + { + "created_at": "2022-06-14T15:21:52Z", + "dependency": { + "manifest_path": "path/to/requirements.txt", + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "scope": "runtime" + }, + "dismissed_at": null, + "dismissed_by": null, + "dismissed_comment": null, + "dismissed_reason": null, + "fixed_at": null, + "html_url": "https://github.com/octocat/hello-world/security/dependabot/1", + "number": 1, + "security_advisory": { + "cve_id": "CVE-2021-20191", + "cvss": { + "score": 5.5, + "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N" + }, + "cwes": [ + { + "cwe_id": "CWE-532", + "name": "Insertion of Sensitive Information into Log File" + } + ], + "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", + "ghsa_id": "GHSA-8f4m-hccc-8qph", + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-8f4m-hccc-8qph" + }, + { + "type": "CVE", + "value": "CVE-2021-20191" + } + ], + "published_at": "2021-06-01T17:38:00Z", + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" + }, + { + "url": "https://access.redhat.com/security/cve/cve-2021-20191" + }, + { + "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1916813" + } + ], + "severity": "medium", + "summary": "Insertion of Sensitive Information into Log File in ansible", + "updated_at": "2021-08-12T23:06:00Z", + "vulnerabilities": [ + { + "first_patched_version": { + "identifier": "2.9.18" + }, + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.9.0, < 2.9.18" + }, + { + "first_patched_version": { + "identifier": "2.8.19" + }, + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": "< 2.8.19" + }, + { + "first_patched_version": { + "identifier": "2.10.7" + }, + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.10.0, < 2.10.7" + } + ], + "withdrawn_at": null + }, + "security_vulnerability": { + "first_patched_version": { + "identifier": "2.8.19" + }, + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": "< 2.8.19" + }, + "state": "open", + "updated_at": "2022-06-14T15:21:52Z", + "url": "https://api.github.com/repos/octocat/hello-world/dependabot/alerts/1" + } + ] + }, + "dependabot-public-key": { + "value": { + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", + "key_id": "012345678912345678" + } + }, + "dependabot-secret": { + "value": { + "created_at": "2019-08-10T14:59:22Z", + "name": "MY_ARTIFACTORY_PASSWORD", + "updated_at": "2020-01-10T14:59:22Z" + } + }, + "dependabot-secret-paginated": { + "value": { + "secrets": [ + { + "created_at": "2019-08-10T14:59:22Z", + "name": "AZURE_DEVOPS_PAT", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "created_at": "2020-01-10T10:59:22Z", + "name": "MY_ARTIFACTORY_PASSWORD", + "updated_at": "2020-01-11T11:59:22Z" + } + ], + "total_count": 2 + } + }, + "dependency-graph-create-snapshot-request": { + "value": { + "detector": { + "name": "octo-detector", + "url": "https://github.com/octo-org/octo-repo", + "version": "0.0.1" + }, + "job": { + "correlator": "yourworkflowname_youractionname", + "id": "yourrunid" + }, + "manifests": { + "package-lock.json": { + "file": { + "source_location": "src/package-lock.json" + }, + "name": "package-lock.json", + "resolved": { + "@actions/core": { + "dependencies": [ + "@actions/http-client" + ], + "package_url": "pkg:/npm/%40actions/core@1.1.9" + }, + "@actions/http-client": { + "dependencies": [ + "tunnel" + ], + "package_url": "pkg:/npm/%40actions/http-client@1.0.7" + }, + "tunnel": { + "package_url": "pkg:/npm/tunnel@0.0.6" + } + } + } + }, + "ref": "refs/heads/main", + "scanned": "2022-06-14T20:25:00Z", + "sha": "ce587453ced02b1526dfb4cb910479d431683101", + "version": 0 + } + }, + "dependency-graph-create-snapshot-success": { + "value": { + "created_at": "2018-05-04T01:14:52Z", + "id": 12345, + "message": "Dependency results for the repo have been successfully updated.", + "result": "SUCCESS" + } + }, + "deploy-key": { + "value": { + "added_by": "octocat", + "created_at": "2014-12-10T15:53:42Z", + "id": 1, + "key": "ssh-rsa AAA...", + "last_used": "2022-01-10T15:53:42Z", + "read_only": true, + "title": "octocat@octomac", + "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", + "verified": true + } + }, + "deploy-key-items": { + "value": [ + { + "added_by": "octocat", + "created_at": "2014-12-10T15:53:42Z", + "id": 1, + "key": "ssh-rsa AAA...", + "last_used": "2022-01-10T15:53:42Z", + "read_only": true, + "title": "octocat@octomac", + "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", + "verified": true + } + ] + }, + "deployment": { + "value": { + "created_at": "2012-07-20T01:19:13Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Deploy request from hubot", + "environment": "production", + "id": 1, + "node_id": "MDEwOkRlcGxveW1lbnQx", + "original_environment": "staging", + "payload": {}, + "production_environment": true, + "ref": "topic-branch", + "repository_url": "https://api.github.com/repos/octocat/example", + "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", + "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses", + "task": "deploy", + "transient_environment": false, + "updated_at": "2012-07-20T01:19:13Z", + "url": "https://api.github.com/repos/octocat/example/deployments/1" + } + }, + "deployment-branch-policies-list": { + "value": { + "branch_policies": [ + { + "id": 361471, + "name": "release/*", + "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjE0NzE=" + }, + { + "id": 361472, + "name": "main", + "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjE0NzI=" + } + ], + "total_count": 2 + } + }, + "deployment-branch-policy-single-branch": { + "value": { + "id": 364663, + "name": "main", + "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjM=" + } + }, + "deployment-branch-policy-wildcard": { + "value": { + "id": 364662, + "name": "release/*", + "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI=" + } + }, + "deployment-items": { + "value": [ + { + "created_at": "2012-07-20T01:19:13Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Deploy request from hubot", + "environment": "production", + "id": 1, + "node_id": "MDEwOkRlcGxveW1lbnQx", + "original_environment": "staging", + "payload": {}, + "production_environment": true, + "ref": "topic-branch", + "repository_url": "https://api.github.com/repos/octocat/example", + "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", + "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses", + "task": "deploy", + "transient_environment": false, + "updated_at": "2012-07-20T01:19:13Z", + "url": "https://api.github.com/repos/octocat/example/deployments/1" + } + ] + }, + "deployment-simple-example": { + "summary": "Simple example", + "value": { + "created_at": "2012-07-20T01:19:13Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Deploy request from hubot", + "environment": "production", + "id": 1, + "node_id": "MDEwOkRlcGxveW1lbnQx", + "original_environment": "staging", + "payload": {}, + "production_environment": true, + "ref": "topic-branch", + "repository_url": "https://api.github.com/repos/octocat/example", + "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", + "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses", + "task": "deploy", + "transient_environment": false, + "updated_at": "2012-07-20T01:19:13Z", + "url": "https://api.github.com/repos/octocat/example/deployments/1" + } + }, + "deployment-status": { + "value": { + "created_at": "2012-07-20T01:19:13Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "deployment_url": "https://api.github.com/repos/octocat/example/deployments/42", + "description": "Deployment finished successfully.", + "environment": "production", + "environment_url": "https://test-branch.lab.acme.com", + "id": 1, + "log_url": "https://example.com/deployment/42/output", + "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMx", + "repository_url": "https://api.github.com/repos/octocat/example", + "state": "success", + "target_url": "https://example.com/deployment/42/output", + "updated_at": "2012-07-20T01:19:13Z", + "url": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1" + } + }, + "deployment-status-items": { + "value": [ + { + "created_at": "2012-07-20T01:19:13Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "deployment_url": "https://api.github.com/repos/octocat/example/deployments/42", + "description": "Deployment finished successfully.", + "environment": "production", + "environment_url": "https://test-branch.lab.acme.com", + "id": 1, + "log_url": "https://example.com/deployment/42/output", + "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMx", + "repository_url": "https://api.github.com/repos/octocat/example", + "state": "success", + "target_url": "https://example.com/deployment/42/output", + "updated_at": "2012-07-20T01:19:13Z", + "url": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1" + } + ] + }, + "diff-entry-items": { + "value": [ + { + "additions": 103, + "blob_url": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt", + "changes": 124, + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "deletions": 21, + "filename": "file1.txt", + "patch": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test", + "raw_url": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt", + "sha": "bbcd538c8e72b8c175046e27cc8f907076331401", + "status": "added" + } + ] + }, + "diff-range-response": { + "value": [ + { + "change_type": "removed", + "ecosystem": "npm", + "license": "MIT", + "manifest": "package.json", + "name": "helmet", + "package_url": "pkg:npm/helmet@4.6.0", + "source_repository_url": "https://github.com/helmetjs/helmet", + "version": "4.6.0", + "vulnerabilities": [] + }, + { + "change_type": "added", + "ecosystem": "npm", + "license": "MIT", + "manifest": "package.json", + "name": "helmet", + "package_url": "pkg:npm/helmet@5.0.0", + "source_repository_url": "https://github.com/helmetjs/helmet", + "version": "5.0.0", + "vulnerabilities": [] + }, + { + "change_type": "added", + "ecosystem": "rubygems", + "license": null, + "manifest": "Gemfile", + "name": "ruby-openid", + "package_url": "pkg:gem/ruby-openid@2.7.0", + "source_repository_url": "https://github.com/openid/ruby-openid", + "version": "2.7.0", + "vulnerabilities": [ + { + "advisory_ghsa_id": "GHSA-fqfj-cmh6-hj49", + "advisory_summary": "Ruby OpenID", + "advisory_url": "https://github.com/advisories/GHSA-fqfj-cmh6-hj49", + "severity": "critical" + } + ] + } + ] + }, + "email-items": { + "value": [ + { + "email": "octocat@octocat.org", + "primary": false, + "verified": false, + "visibility": "public" + }, + { + "email": "octocat@github.com", + "primary": false, + "verified": false, + "visibility": null + }, + { + "email": "mona@github.com", + "primary": false, + "verified": false, + "visibility": null + } + ] + }, + "email-items-2": { + "value": [ + { + "email": "octocat@github.com", + "primary": true, + "verified": true, + "visibility": "public" + } + ] + }, + "email-items-3": { + "value": [ + { + "email": "octocat@github.com", + "primary": true, + "verified": true, + "visibility": "private" + } + ] + }, + "emojis-get": { + "value": { + "100": "https://github.githubassets.com/images/icons/emoji/unicode/1f4af.png?v8", + "1234": "https://github.githubassets.com/images/icons/emoji/unicode/1f522.png?v8", + "+1": "https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png?v8", + "-1": "https://github.githubassets.com/images/icons/emoji/unicode/1f44e.png?v8", + "1st_place_medal": "https://github.githubassets.com/images/icons/emoji/unicode/1f947.png?v8", + "2nd_place_medal": "https://github.githubassets.com/images/icons/emoji/unicode/1f948.png?v8", + "3rd_place_medal": "https://github.githubassets.com/images/icons/emoji/unicode/1f949.png?v8", + "8ball": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b1.png?v8", + "a": "https://github.githubassets.com/images/icons/emoji/unicode/1f170.png?v8", + "ab": "https://github.githubassets.com/images/icons/emoji/unicode/1f18e.png?v8", + "abacus": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ee.png?v8", + "abc": "https://github.githubassets.com/images/icons/emoji/unicode/1f524.png?v8", + "abcd": "https://github.githubassets.com/images/icons/emoji/unicode/1f521.png?v8", + "accept": "https://github.githubassets.com/images/icons/emoji/unicode/1f251.png?v8", + "accordion": "https://github.githubassets.com/images/icons/emoji/unicode/1fa97.png?v8", + "adhesive_bandage": "https://github.githubassets.com/images/icons/emoji/unicode/1fa79.png?v8", + "adult": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1.png?v8", + "aerial_tramway": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a1.png?v8", + "afghanistan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1eb.png?v8", + "airplane": "https://github.githubassets.com/images/icons/emoji/unicode/2708.png?v8", + "aland_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1fd.png?v8", + "alarm_clock": "https://github.githubassets.com/images/icons/emoji/unicode/23f0.png?v8", + "albania": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1f1.png?v8", + "alembic": "https://github.githubassets.com/images/icons/emoji/unicode/2697.png?v8", + "algeria": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e9-1f1ff.png?v8", + "alien": "https://github.githubassets.com/images/icons/emoji/unicode/1f47d.png?v8", + "ambulance": "https://github.githubassets.com/images/icons/emoji/unicode/1f691.png?v8", + "american_samoa": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1f8.png?v8", + "amphora": "https://github.githubassets.com/images/icons/emoji/unicode/1f3fa.png?v8", + "anatomical_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1fac0.png?v8", + "anchor": "https://github.githubassets.com/images/icons/emoji/unicode/2693.png?v8", + "andorra": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1e9.png?v8", + "angel": "https://github.githubassets.com/images/icons/emoji/unicode/1f47c.png?v8", + "anger": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a2.png?v8", + "angola": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1f4.png?v8", + "angry": "https://github.githubassets.com/images/icons/emoji/unicode/1f620.png?v8", + "anguilla": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1ee.png?v8", + "anguished": "https://github.githubassets.com/images/icons/emoji/unicode/1f627.png?v8", + "ant": "https://github.githubassets.com/images/icons/emoji/unicode/1f41c.png?v8", + "antarctica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1f6.png?v8", + "antigua_barbuda": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1ec.png?v8", + "apple": "https://github.githubassets.com/images/icons/emoji/unicode/1f34e.png?v8", + "aquarius": "https://github.githubassets.com/images/icons/emoji/unicode/2652.png?v8", + "argentina": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1f7.png?v8", + "aries": "https://github.githubassets.com/images/icons/emoji/unicode/2648.png?v8", + "armenia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1f2.png?v8", + "arrow_backward": "https://github.githubassets.com/images/icons/emoji/unicode/25c0.png?v8", + "arrow_double_down": "https://github.githubassets.com/images/icons/emoji/unicode/23ec.png?v8", + "arrow_double_up": "https://github.githubassets.com/images/icons/emoji/unicode/23eb.png?v8", + "arrow_down": "https://github.githubassets.com/images/icons/emoji/unicode/2b07.png?v8", + "arrow_down_small": "https://github.githubassets.com/images/icons/emoji/unicode/1f53d.png?v8", + "arrow_forward": "https://github.githubassets.com/images/icons/emoji/unicode/25b6.png?v8", + "arrow_heading_down": "https://github.githubassets.com/images/icons/emoji/unicode/2935.png?v8", + "arrow_heading_up": "https://github.githubassets.com/images/icons/emoji/unicode/2934.png?v8", + "arrow_left": "https://github.githubassets.com/images/icons/emoji/unicode/2b05.png?v8", + "arrow_lower_left": "https://github.githubassets.com/images/icons/emoji/unicode/2199.png?v8", + "arrow_lower_right": "https://github.githubassets.com/images/icons/emoji/unicode/2198.png?v8", + "arrow_right": "https://github.githubassets.com/images/icons/emoji/unicode/27a1.png?v8", + "arrow_right_hook": "https://github.githubassets.com/images/icons/emoji/unicode/21aa.png?v8", + "arrow_up": "https://github.githubassets.com/images/icons/emoji/unicode/2b06.png?v8", + "arrow_up_down": "https://github.githubassets.com/images/icons/emoji/unicode/2195.png?v8", + "arrow_up_small": "https://github.githubassets.com/images/icons/emoji/unicode/1f53c.png?v8", + "arrow_upper_left": "https://github.githubassets.com/images/icons/emoji/unicode/2196.png?v8", + "arrow_upper_right": "https://github.githubassets.com/images/icons/emoji/unicode/2197.png?v8", + "arrows_clockwise": "https://github.githubassets.com/images/icons/emoji/unicode/1f503.png?v8", + "arrows_counterclockwise": "https://github.githubassets.com/images/icons/emoji/unicode/1f504.png?v8", + "art": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a8.png?v8", + "articulated_lorry": "https://github.githubassets.com/images/icons/emoji/unicode/1f69b.png?v8", + "artificial_satellite": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f0.png?v8", + "artist": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f3a8.png?v8", + "aruba": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1fc.png?v8", + "ascension_island": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1e8.png?v8", + "asterisk": "https://github.githubassets.com/images/icons/emoji/unicode/002a-20e3.png?v8", + "astonished": "https://github.githubassets.com/images/icons/emoji/unicode/1f632.png?v8", + "astronaut": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f680.png?v8", + "athletic_shoe": "https://github.githubassets.com/images/icons/emoji/unicode/1f45f.png?v8", + "atm": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e7.png?v8", + "atom": "https://github.githubassets.com/images/icons/emoji/atom.png?v8", + "atom_symbol": "https://github.githubassets.com/images/icons/emoji/unicode/269b.png?v8", + "australia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1fa.png?v8", + "austria": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1f9.png?v8", + "auto_rickshaw": "https://github.githubassets.com/images/icons/emoji/unicode/1f6fa.png?v8", + "avocado": "https://github.githubassets.com/images/icons/emoji/unicode/1f951.png?v8", + "axe": "https://github.githubassets.com/images/icons/emoji/unicode/1fa93.png?v8", + "azerbaijan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1ff.png?v8", + "b": "https://github.githubassets.com/images/icons/emoji/unicode/1f171.png?v8", + "baby": "https://github.githubassets.com/images/icons/emoji/unicode/1f476.png?v8", + "baby_bottle": "https://github.githubassets.com/images/icons/emoji/unicode/1f37c.png?v8", + "baby_chick": "https://github.githubassets.com/images/icons/emoji/unicode/1f424.png?v8", + "baby_symbol": "https://github.githubassets.com/images/icons/emoji/unicode/1f6bc.png?v8", + "back": "https://github.githubassets.com/images/icons/emoji/unicode/1f519.png?v8", + "bacon": "https://github.githubassets.com/images/icons/emoji/unicode/1f953.png?v8", + "badger": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a1.png?v8", + "badminton": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f8.png?v8", + "bagel": "https://github.githubassets.com/images/icons/emoji/unicode/1f96f.png?v8", + "baggage_claim": "https://github.githubassets.com/images/icons/emoji/unicode/1f6c4.png?v8", + "baguette_bread": "https://github.githubassets.com/images/icons/emoji/unicode/1f956.png?v8", + "bahamas": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f8.png?v8", + "bahrain": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1ed.png?v8", + "balance_scale": "https://github.githubassets.com/images/icons/emoji/unicode/2696.png?v8", + "bald_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f9b2.png?v8", + "bald_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f9b2.png?v8", + "ballet_shoes": "https://github.githubassets.com/images/icons/emoji/unicode/1fa70.png?v8", + "balloon": "https://github.githubassets.com/images/icons/emoji/unicode/1f388.png?v8", + "ballot_box": "https://github.githubassets.com/images/icons/emoji/unicode/1f5f3.png?v8", + "ballot_box_with_check": "https://github.githubassets.com/images/icons/emoji/unicode/2611.png?v8", + "bamboo": "https://github.githubassets.com/images/icons/emoji/unicode/1f38d.png?v8", + "banana": "https://github.githubassets.com/images/icons/emoji/unicode/1f34c.png?v8", + "bangbang": "https://github.githubassets.com/images/icons/emoji/unicode/203c.png?v8", + "bangladesh": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1e9.png?v8", + "banjo": "https://github.githubassets.com/images/icons/emoji/unicode/1fa95.png?v8", + "bank": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e6.png?v8", + "bar_chart": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ca.png?v8", + "barbados": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1e7.png?v8", + "barber": "https://github.githubassets.com/images/icons/emoji/unicode/1f488.png?v8", + "baseball": "https://github.githubassets.com/images/icons/emoji/unicode/26be.png?v8", + "basecamp": "https://github.githubassets.com/images/icons/emoji/basecamp.png?v8", + "basecampy": "https://github.githubassets.com/images/icons/emoji/basecampy.png?v8", + "basket": "https://github.githubassets.com/images/icons/emoji/unicode/1f9fa.png?v8", + "basketball": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c0.png?v8", + "basketball_man": "https://github.githubassets.com/images/icons/emoji/unicode/26f9-2642.png?v8", + "basketball_woman": "https://github.githubassets.com/images/icons/emoji/unicode/26f9-2640.png?v8", + "bat": "https://github.githubassets.com/images/icons/emoji/unicode/1f987.png?v8", + "bath": "https://github.githubassets.com/images/icons/emoji/unicode/1f6c0.png?v8", + "bathtub": "https://github.githubassets.com/images/icons/emoji/unicode/1f6c1.png?v8", + "battery": "https://github.githubassets.com/images/icons/emoji/unicode/1f50b.png?v8", + "beach_umbrella": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d6.png?v8", + "bear": "https://github.githubassets.com/images/icons/emoji/unicode/1f43b.png?v8", + "bearded_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d4.png?v8", + "beaver": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ab.png?v8", + "bed": "https://github.githubassets.com/images/icons/emoji/unicode/1f6cf.png?v8", + "bee": "https://github.githubassets.com/images/icons/emoji/unicode/1f41d.png?v8", + "beer": "https://github.githubassets.com/images/icons/emoji/unicode/1f37a.png?v8", + "beers": "https://github.githubassets.com/images/icons/emoji/unicode/1f37b.png?v8", + "beetle": "https://github.githubassets.com/images/icons/emoji/unicode/1fab2.png?v8", + "beginner": "https://github.githubassets.com/images/icons/emoji/unicode/1f530.png?v8", + "belarus": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1fe.png?v8", + "belgium": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1ea.png?v8", + "belize": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1ff.png?v8", + "bell": "https://github.githubassets.com/images/icons/emoji/unicode/1f514.png?v8", + "bell_pepper": "https://github.githubassets.com/images/icons/emoji/unicode/1fad1.png?v8", + "bellhop_bell": "https://github.githubassets.com/images/icons/emoji/unicode/1f6ce.png?v8", + "benin": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1ef.png?v8", + "bento": "https://github.githubassets.com/images/icons/emoji/unicode/1f371.png?v8", + "bermuda": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f2.png?v8", + "beverage_box": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c3.png?v8", + "bhutan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f9.png?v8", + "bicyclist": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b4.png?v8", + "bike": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b2.png?v8", + "biking_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b4-2642.png?v8", + "biking_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b4-2640.png?v8", + "bikini": "https://github.githubassets.com/images/icons/emoji/unicode/1f459.png?v8", + "billed_cap": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e2.png?v8", + "biohazard": "https://github.githubassets.com/images/icons/emoji/unicode/2623.png?v8", + "bird": "https://github.githubassets.com/images/icons/emoji/unicode/1f426.png?v8", + "birthday": "https://github.githubassets.com/images/icons/emoji/unicode/1f382.png?v8", + "bison": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ac.png?v8", + "black_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f408-2b1b.png?v8", + "black_circle": "https://github.githubassets.com/images/icons/emoji/unicode/26ab.png?v8", + "black_flag": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f4.png?v8", + "black_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f5a4.png?v8", + "black_joker": "https://github.githubassets.com/images/icons/emoji/unicode/1f0cf.png?v8", + "black_large_square": "https://github.githubassets.com/images/icons/emoji/unicode/2b1b.png?v8", + "black_medium_small_square": "https://github.githubassets.com/images/icons/emoji/unicode/25fe.png?v8", + "black_medium_square": "https://github.githubassets.com/images/icons/emoji/unicode/25fc.png?v8", + "black_nib": "https://github.githubassets.com/images/icons/emoji/unicode/2712.png?v8", + "black_small_square": "https://github.githubassets.com/images/icons/emoji/unicode/25aa.png?v8", + "black_square_button": "https://github.githubassets.com/images/icons/emoji/unicode/1f532.png?v8", + "blond_haired_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f471-2642.png?v8", + "blond_haired_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f471.png?v8", + "blond_haired_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f471-2640.png?v8", + "blonde_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f471-2640.png?v8", + "blossom": "https://github.githubassets.com/images/icons/emoji/unicode/1f33c.png?v8", + "blowfish": "https://github.githubassets.com/images/icons/emoji/unicode/1f421.png?v8", + "blue_book": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d8.png?v8", + "blue_car": "https://github.githubassets.com/images/icons/emoji/unicode/1f699.png?v8", + "blue_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f499.png?v8", + "blue_square": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e6.png?v8", + "blueberries": "https://github.githubassets.com/images/icons/emoji/unicode/1fad0.png?v8", + "blush": "https://github.githubassets.com/images/icons/emoji/unicode/1f60a.png?v8", + "boar": "https://github.githubassets.com/images/icons/emoji/unicode/1f417.png?v8", + "boat": "https://github.githubassets.com/images/icons/emoji/unicode/26f5.png?v8", + "bolivia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f4.png?v8", + "bomb": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a3.png?v8", + "bone": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b4.png?v8", + "book": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d6.png?v8", + "bookmark": "https://github.githubassets.com/images/icons/emoji/unicode/1f516.png?v8", + "bookmark_tabs": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d1.png?v8", + "books": "https://github.githubassets.com/images/icons/emoji/unicode/1f4da.png?v8", + "boom": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a5.png?v8", + "boomerang": "https://github.githubassets.com/images/icons/emoji/unicode/1fa83.png?v8", + "boot": "https://github.githubassets.com/images/icons/emoji/unicode/1f462.png?v8", + "bosnia_herzegovina": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1e6.png?v8", + "botswana": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1fc.png?v8", + "bouncing_ball_man": "https://github.githubassets.com/images/icons/emoji/unicode/26f9-2642.png?v8", + "bouncing_ball_person": "https://github.githubassets.com/images/icons/emoji/unicode/26f9.png?v8", + "bouncing_ball_woman": "https://github.githubassets.com/images/icons/emoji/unicode/26f9-2640.png?v8", + "bouquet": "https://github.githubassets.com/images/icons/emoji/unicode/1f490.png?v8", + "bouvet_island": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1fb.png?v8", + "bow": "https://github.githubassets.com/images/icons/emoji/unicode/1f647.png?v8", + "bow_and_arrow": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f9.png?v8", + "bowing_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f647-2642.png?v8", + "bowing_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f647-2640.png?v8", + "bowl_with_spoon": "https://github.githubassets.com/images/icons/emoji/unicode/1f963.png?v8", + "bowling": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b3.png?v8", + "bowtie": "https://github.githubassets.com/images/icons/emoji/bowtie.png?v8", + "boxing_glove": "https://github.githubassets.com/images/icons/emoji/unicode/1f94a.png?v8", + "boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f466.png?v8", + "brain": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e0.png?v8", + "brazil": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f7.png?v8", + "bread": "https://github.githubassets.com/images/icons/emoji/unicode/1f35e.png?v8", + "breast_feeding": "https://github.githubassets.com/images/icons/emoji/unicode/1f931.png?v8", + "bricks": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f1.png?v8", + "bride_with_veil": "https://github.githubassets.com/images/icons/emoji/unicode/1f470-2640.png?v8", + "bridge_at_night": "https://github.githubassets.com/images/icons/emoji/unicode/1f309.png?v8", + "briefcase": "https://github.githubassets.com/images/icons/emoji/unicode/1f4bc.png?v8", + "british_indian_ocean_territory": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f4.png?v8", + "british_virgin_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fb-1f1ec.png?v8", + "broccoli": "https://github.githubassets.com/images/icons/emoji/unicode/1f966.png?v8", + "broken_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f494.png?v8", + "broom": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f9.png?v8", + "brown_circle": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e4.png?v8", + "brown_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f90e.png?v8", + "brown_square": "https://github.githubassets.com/images/icons/emoji/unicode/1f7eb.png?v8", + "brunei": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f3.png?v8", + "bubble_tea": "https://github.githubassets.com/images/icons/emoji/unicode/1f9cb.png?v8", + "bucket": "https://github.githubassets.com/images/icons/emoji/unicode/1faa3.png?v8", + "bug": "https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png?v8", + "building_construction": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d7.png?v8", + "bulb": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a1.png?v8", + "bulgaria": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1ec.png?v8", + "bullettrain_front": "https://github.githubassets.com/images/icons/emoji/unicode/1f685.png?v8", + "bullettrain_side": "https://github.githubassets.com/images/icons/emoji/unicode/1f684.png?v8", + "burkina_faso": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1eb.png?v8", + "burrito": "https://github.githubassets.com/images/icons/emoji/unicode/1f32f.png?v8", + "burundi": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1ee.png?v8", + "bus": "https://github.githubassets.com/images/icons/emoji/unicode/1f68c.png?v8", + "business_suit_levitating": "https://github.githubassets.com/images/icons/emoji/unicode/1f574.png?v8", + "busstop": "https://github.githubassets.com/images/icons/emoji/unicode/1f68f.png?v8", + "bust_in_silhouette": "https://github.githubassets.com/images/icons/emoji/unicode/1f464.png?v8", + "busts_in_silhouette": "https://github.githubassets.com/images/icons/emoji/unicode/1f465.png?v8", + "butter": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c8.png?v8", + "butterfly": "https://github.githubassets.com/images/icons/emoji/unicode/1f98b.png?v8", + "cactus": "https://github.githubassets.com/images/icons/emoji/unicode/1f335.png?v8", + "cake": "https://github.githubassets.com/images/icons/emoji/unicode/1f370.png?v8", + "calendar": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c6.png?v8", + "call_me_hand": "https://github.githubassets.com/images/icons/emoji/unicode/1f919.png?v8", + "calling": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f2.png?v8", + "cambodia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1ed.png?v8", + "camel": "https://github.githubassets.com/images/icons/emoji/unicode/1f42b.png?v8", + "camera": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f7.png?v8", + "camera_flash": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f8.png?v8", + "cameroon": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f2.png?v8", + "camping": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d5.png?v8", + "canada": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1e6.png?v8", + "canary_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1e8.png?v8", + "cancer": "https://github.githubassets.com/images/icons/emoji/unicode/264b.png?v8", + "candle": "https://github.githubassets.com/images/icons/emoji/unicode/1f56f.png?v8", + "candy": "https://github.githubassets.com/images/icons/emoji/unicode/1f36c.png?v8", + "canned_food": "https://github.githubassets.com/images/icons/emoji/unicode/1f96b.png?v8", + "canoe": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f6.png?v8", + "cape_verde": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1fb.png?v8", + "capital_abcd": "https://github.githubassets.com/images/icons/emoji/unicode/1f520.png?v8", + "capricorn": "https://github.githubassets.com/images/icons/emoji/unicode/2651.png?v8", + "car": "https://github.githubassets.com/images/icons/emoji/unicode/1f697.png?v8", + "card_file_box": "https://github.githubassets.com/images/icons/emoji/unicode/1f5c3.png?v8", + "card_index": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c7.png?v8", + "card_index_dividers": "https://github.githubassets.com/images/icons/emoji/unicode/1f5c2.png?v8", + "caribbean_netherlands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f6.png?v8", + "carousel_horse": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a0.png?v8", + "carpentry_saw": "https://github.githubassets.com/images/icons/emoji/unicode/1fa9a.png?v8", + "carrot": "https://github.githubassets.com/images/icons/emoji/unicode/1f955.png?v8", + "cartwheeling": "https://github.githubassets.com/images/icons/emoji/unicode/1f938.png?v8", + "cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f431.png?v8", + "cat2": "https://github.githubassets.com/images/icons/emoji/unicode/1f408.png?v8", + "cayman_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1fe.png?v8", + "cd": "https://github.githubassets.com/images/icons/emoji/unicode/1f4bf.png?v8", + "central_african_republic": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1eb.png?v8", + "ceuta_melilla": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1e6.png?v8", + "chad": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1e9.png?v8", + "chains": "https://github.githubassets.com/images/icons/emoji/unicode/26d3.png?v8", + "chair": "https://github.githubassets.com/images/icons/emoji/unicode/1fa91.png?v8", + "champagne": "https://github.githubassets.com/images/icons/emoji/unicode/1f37e.png?v8", + "chart": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b9.png?v8", + "chart_with_downwards_trend": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c9.png?v8", + "chart_with_upwards_trend": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c8.png?v8", + "checkered_flag": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c1.png?v8", + "cheese": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c0.png?v8", + "cherries": "https://github.githubassets.com/images/icons/emoji/unicode/1f352.png?v8", + "cherry_blossom": "https://github.githubassets.com/images/icons/emoji/unicode/1f338.png?v8", + "chess_pawn": "https://github.githubassets.com/images/icons/emoji/unicode/265f.png?v8", + "chestnut": "https://github.githubassets.com/images/icons/emoji/unicode/1f330.png?v8", + "chicken": "https://github.githubassets.com/images/icons/emoji/unicode/1f414.png?v8", + "child": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d2.png?v8", + "children_crossing": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b8.png?v8", + "chile": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f1.png?v8", + "chipmunk": "https://github.githubassets.com/images/icons/emoji/unicode/1f43f.png?v8", + "chocolate_bar": "https://github.githubassets.com/images/icons/emoji/unicode/1f36b.png?v8", + "chopsticks": "https://github.githubassets.com/images/icons/emoji/unicode/1f962.png?v8", + "christmas_island": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1fd.png?v8", + "christmas_tree": "https://github.githubassets.com/images/icons/emoji/unicode/1f384.png?v8", + "church": "https://github.githubassets.com/images/icons/emoji/unicode/26ea.png?v8", + "cinema": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a6.png?v8", + "circus_tent": "https://github.githubassets.com/images/icons/emoji/unicode/1f3aa.png?v8", + "city_sunrise": "https://github.githubassets.com/images/icons/emoji/unicode/1f307.png?v8", + "city_sunset": "https://github.githubassets.com/images/icons/emoji/unicode/1f306.png?v8", + "cityscape": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d9.png?v8", + "cl": "https://github.githubassets.com/images/icons/emoji/unicode/1f191.png?v8", + "clamp": "https://github.githubassets.com/images/icons/emoji/unicode/1f5dc.png?v8", + "clap": "https://github.githubassets.com/images/icons/emoji/unicode/1f44f.png?v8", + "clapper": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ac.png?v8", + "classical_building": "https://github.githubassets.com/images/icons/emoji/unicode/1f3db.png?v8", + "climbing": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d7.png?v8", + "climbing_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d7-2642.png?v8", + "climbing_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d7-2640.png?v8", + "clinking_glasses": "https://github.githubassets.com/images/icons/emoji/unicode/1f942.png?v8", + "clipboard": "https://github.githubassets.com/images/icons/emoji/unicode/1f4cb.png?v8", + "clipperton_island": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f5.png?v8", + "clock1": "https://github.githubassets.com/images/icons/emoji/unicode/1f550.png?v8", + "clock10": "https://github.githubassets.com/images/icons/emoji/unicode/1f559.png?v8", + "clock1030": "https://github.githubassets.com/images/icons/emoji/unicode/1f565.png?v8", + "clock11": "https://github.githubassets.com/images/icons/emoji/unicode/1f55a.png?v8", + "clock1130": "https://github.githubassets.com/images/icons/emoji/unicode/1f566.png?v8", + "clock12": "https://github.githubassets.com/images/icons/emoji/unicode/1f55b.png?v8", + "clock1230": "https://github.githubassets.com/images/icons/emoji/unicode/1f567.png?v8", + "clock130": "https://github.githubassets.com/images/icons/emoji/unicode/1f55c.png?v8", + "clock2": "https://github.githubassets.com/images/icons/emoji/unicode/1f551.png?v8", + "clock230": "https://github.githubassets.com/images/icons/emoji/unicode/1f55d.png?v8", + "clock3": "https://github.githubassets.com/images/icons/emoji/unicode/1f552.png?v8", + "clock330": "https://github.githubassets.com/images/icons/emoji/unicode/1f55e.png?v8", + "clock4": "https://github.githubassets.com/images/icons/emoji/unicode/1f553.png?v8", + "clock430": "https://github.githubassets.com/images/icons/emoji/unicode/1f55f.png?v8", + "clock5": "https://github.githubassets.com/images/icons/emoji/unicode/1f554.png?v8", + "clock530": "https://github.githubassets.com/images/icons/emoji/unicode/1f560.png?v8", + "clock6": "https://github.githubassets.com/images/icons/emoji/unicode/1f555.png?v8", + "clock630": "https://github.githubassets.com/images/icons/emoji/unicode/1f561.png?v8", + "clock7": "https://github.githubassets.com/images/icons/emoji/unicode/1f556.png?v8", + "clock730": "https://github.githubassets.com/images/icons/emoji/unicode/1f562.png?v8", + "clock8": "https://github.githubassets.com/images/icons/emoji/unicode/1f557.png?v8", + "clock830": "https://github.githubassets.com/images/icons/emoji/unicode/1f563.png?v8", + "clock9": "https://github.githubassets.com/images/icons/emoji/unicode/1f558.png?v8", + "clock930": "https://github.githubassets.com/images/icons/emoji/unicode/1f564.png?v8", + "closed_book": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d5.png?v8", + "closed_lock_with_key": "https://github.githubassets.com/images/icons/emoji/unicode/1f510.png?v8", + "closed_umbrella": "https://github.githubassets.com/images/icons/emoji/unicode/1f302.png?v8", + "cloud": "https://github.githubassets.com/images/icons/emoji/unicode/2601.png?v8", + "cloud_with_lightning": "https://github.githubassets.com/images/icons/emoji/unicode/1f329.png?v8", + "cloud_with_lightning_and_rain": "https://github.githubassets.com/images/icons/emoji/unicode/26c8.png?v8", + "cloud_with_rain": "https://github.githubassets.com/images/icons/emoji/unicode/1f327.png?v8", + "cloud_with_snow": "https://github.githubassets.com/images/icons/emoji/unicode/1f328.png?v8", + "clown_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f921.png?v8", + "clubs": "https://github.githubassets.com/images/icons/emoji/unicode/2663.png?v8", + "cn": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f3.png?v8", + "coat": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e5.png?v8", + "cockroach": "https://github.githubassets.com/images/icons/emoji/unicode/1fab3.png?v8", + "cocktail": "https://github.githubassets.com/images/icons/emoji/unicode/1f378.png?v8", + "coconut": "https://github.githubassets.com/images/icons/emoji/unicode/1f965.png?v8", + "cocos_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1e8.png?v8", + "coffee": "https://github.githubassets.com/images/icons/emoji/unicode/2615.png?v8", + "coffin": "https://github.githubassets.com/images/icons/emoji/unicode/26b0.png?v8", + "coin": "https://github.githubassets.com/images/icons/emoji/unicode/1fa99.png?v8", + "cold_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f976.png?v8", + "cold_sweat": "https://github.githubassets.com/images/icons/emoji/unicode/1f630.png?v8", + "collision": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a5.png?v8", + "colombia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f4.png?v8", + "comet": "https://github.githubassets.com/images/icons/emoji/unicode/2604.png?v8", + "comoros": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1f2.png?v8", + "compass": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ed.png?v8", + "computer": "https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png?v8", + "computer_mouse": "https://github.githubassets.com/images/icons/emoji/unicode/1f5b1.png?v8", + "confetti_ball": "https://github.githubassets.com/images/icons/emoji/unicode/1f38a.png?v8", + "confounded": "https://github.githubassets.com/images/icons/emoji/unicode/1f616.png?v8", + "confused": "https://github.githubassets.com/images/icons/emoji/unicode/1f615.png?v8", + "congo_brazzaville": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1ec.png?v8", + "congo_kinshasa": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1e9.png?v8", + "congratulations": "https://github.githubassets.com/images/icons/emoji/unicode/3297.png?v8", + "construction": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a7.png?v8", + "construction_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f477.png?v8", + "construction_worker_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f477-2642.png?v8", + "construction_worker_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f477-2640.png?v8", + "control_knobs": "https://github.githubassets.com/images/icons/emoji/unicode/1f39b.png?v8", + "convenience_store": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ea.png?v8", + "cook": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f373.png?v8", + "cook_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f0.png?v8", + "cookie": "https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8", + "cool": "https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8", + "cop": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8", + "copyright": "https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8", + "corn": "https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8", + "costa_rica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8", + "cote_divoire": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1ee.png?v8", + "couch_and_lamp": "https://github.githubassets.com/images/icons/emoji/unicode/1f6cb.png?v8", + "couple": "https://github.githubassets.com/images/icons/emoji/unicode/1f46b.png?v8", + "couple_with_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f491.png?v8", + "couple_with_heart_man_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-2764-1f468.png?v8", + "couple_with_heart_woman_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-2764-1f468.png?v8", + "couple_with_heart_woman_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-2764-1f469.png?v8", + "couplekiss": "https://github.githubassets.com/images/icons/emoji/unicode/1f48f.png?v8", + "couplekiss_man_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-2764-1f48b-1f468.png?v8", + "couplekiss_man_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-2764-1f48b-1f468.png?v8", + "couplekiss_woman_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-2764-1f48b-1f469.png?v8", + "cow": "https://github.githubassets.com/images/icons/emoji/unicode/1f42e.png?v8", + "cow2": "https://github.githubassets.com/images/icons/emoji/unicode/1f404.png?v8", + "cowboy_hat_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f920.png?v8", + "crab": "https://github.githubassets.com/images/icons/emoji/unicode/1f980.png?v8", + "crayon": "https://github.githubassets.com/images/icons/emoji/unicode/1f58d.png?v8", + "credit_card": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b3.png?v8", + "crescent_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f319.png?v8", + "cricket": "https://github.githubassets.com/images/icons/emoji/unicode/1f997.png?v8", + "cricket_game": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cf.png?v8", + "croatia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ed-1f1f7.png?v8", + "crocodile": "https://github.githubassets.com/images/icons/emoji/unicode/1f40a.png?v8", + "croissant": "https://github.githubassets.com/images/icons/emoji/unicode/1f950.png?v8", + "crossed_fingers": "https://github.githubassets.com/images/icons/emoji/unicode/1f91e.png?v8", + "crossed_flags": "https://github.githubassets.com/images/icons/emoji/unicode/1f38c.png?v8", + "crossed_swords": "https://github.githubassets.com/images/icons/emoji/unicode/2694.png?v8", + "crown": "https://github.githubassets.com/images/icons/emoji/unicode/1f451.png?v8", + "cry": "https://github.githubassets.com/images/icons/emoji/unicode/1f622.png?v8", + "crying_cat_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f63f.png?v8", + "crystal_ball": "https://github.githubassets.com/images/icons/emoji/unicode/1f52e.png?v8", + "cuba": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1fa.png?v8", + "cucumber": "https://github.githubassets.com/images/icons/emoji/unicode/1f952.png?v8", + "cup_with_straw": "https://github.githubassets.com/images/icons/emoji/unicode/1f964.png?v8", + "cupcake": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c1.png?v8", + "cupid": "https://github.githubassets.com/images/icons/emoji/unicode/1f498.png?v8", + "curacao": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1fc.png?v8", + "curling_stone": "https://github.githubassets.com/images/icons/emoji/unicode/1f94c.png?v8", + "curly_haired_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f9b1.png?v8", + "curly_haired_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f9b1.png?v8", + "curly_loop": "https://github.githubassets.com/images/icons/emoji/unicode/27b0.png?v8", + "currency_exchange": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b1.png?v8", + "curry": "https://github.githubassets.com/images/icons/emoji/unicode/1f35b.png?v8", + "cursing_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f92c.png?v8", + "custard": "https://github.githubassets.com/images/icons/emoji/unicode/1f36e.png?v8", + "customs": "https://github.githubassets.com/images/icons/emoji/unicode/1f6c3.png?v8", + "cut_of_meat": "https://github.githubassets.com/images/icons/emoji/unicode/1f969.png?v8", + "cyclone": "https://github.githubassets.com/images/icons/emoji/unicode/1f300.png?v8", + "cyprus": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1fe.png?v8", + "czech_republic": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1ff.png?v8", + "dagger": "https://github.githubassets.com/images/icons/emoji/unicode/1f5e1.png?v8", + "dancer": "https://github.githubassets.com/images/icons/emoji/unicode/1f483.png?v8", + "dancers": "https://github.githubassets.com/images/icons/emoji/unicode/1f46f.png?v8", + "dancing_men": "https://github.githubassets.com/images/icons/emoji/unicode/1f46f-2642.png?v8", + "dancing_women": "https://github.githubassets.com/images/icons/emoji/unicode/1f46f-2640.png?v8", + "dango": "https://github.githubassets.com/images/icons/emoji/unicode/1f361.png?v8", + "dark_sunglasses": "https://github.githubassets.com/images/icons/emoji/unicode/1f576.png?v8", + "dart": "https://github.githubassets.com/images/icons/emoji/unicode/1f3af.png?v8", + "dash": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a8.png?v8", + "date": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c5.png?v8", + "de": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e9-1f1ea.png?v8", + "deaf_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9cf-2642.png?v8", + "deaf_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f9cf.png?v8", + "deaf_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9cf-2640.png?v8", + "deciduous_tree": "https://github.githubassets.com/images/icons/emoji/unicode/1f333.png?v8", + "deer": "https://github.githubassets.com/images/icons/emoji/unicode/1f98c.png?v8", + "denmark": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e9-1f1f0.png?v8", + "department_store": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ec.png?v8", + "dependabot": "https://github.githubassets.com/images/icons/emoji/dependabot.png?v8", + "derelict_house": "https://github.githubassets.com/images/icons/emoji/unicode/1f3da.png?v8", + "desert": "https://github.githubassets.com/images/icons/emoji/unicode/1f3dc.png?v8", + "desert_island": "https://github.githubassets.com/images/icons/emoji/unicode/1f3dd.png?v8", + "desktop_computer": "https://github.githubassets.com/images/icons/emoji/unicode/1f5a5.png?v8", + "detective": "https://github.githubassets.com/images/icons/emoji/unicode/1f575.png?v8", + "diamond_shape_with_a_dot_inside": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a0.png?v8", + "diamonds": "https://github.githubassets.com/images/icons/emoji/unicode/2666.png?v8", + "diego_garcia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e9-1f1ec.png?v8", + "disappointed": "https://github.githubassets.com/images/icons/emoji/unicode/1f61e.png?v8", + "disappointed_relieved": "https://github.githubassets.com/images/icons/emoji/unicode/1f625.png?v8", + "disguised_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f978.png?v8", + "diving_mask": "https://github.githubassets.com/images/icons/emoji/unicode/1f93f.png?v8", + "diya_lamp": "https://github.githubassets.com/images/icons/emoji/unicode/1fa94.png?v8", + "dizzy": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ab.png?v8", + "dizzy_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f635.png?v8", + "djibouti": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e9-1f1ef.png?v8", + "dna": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ec.png?v8", + "do_not_litter": "https://github.githubassets.com/images/icons/emoji/unicode/1f6af.png?v8", + "dodo": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a4.png?v8", + "dog": "https://github.githubassets.com/images/icons/emoji/unicode/1f436.png?v8", + "dog2": "https://github.githubassets.com/images/icons/emoji/unicode/1f415.png?v8", + "dollar": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b5.png?v8", + "dolls": "https://github.githubassets.com/images/icons/emoji/unicode/1f38e.png?v8", + "dolphin": "https://github.githubassets.com/images/icons/emoji/unicode/1f42c.png?v8", + "dominica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e9-1f1f2.png?v8", + "dominican_republic": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e9-1f1f4.png?v8", + "door": "https://github.githubassets.com/images/icons/emoji/unicode/1f6aa.png?v8", + "doughnut": "https://github.githubassets.com/images/icons/emoji/unicode/1f369.png?v8", + "dove": "https://github.githubassets.com/images/icons/emoji/unicode/1f54a.png?v8", + "dragon": "https://github.githubassets.com/images/icons/emoji/unicode/1f409.png?v8", + "dragon_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f432.png?v8", + "dress": "https://github.githubassets.com/images/icons/emoji/unicode/1f457.png?v8", + "dromedary_camel": "https://github.githubassets.com/images/icons/emoji/unicode/1f42a.png?v8", + "drooling_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f924.png?v8", + "drop_of_blood": "https://github.githubassets.com/images/icons/emoji/unicode/1fa78.png?v8", + "droplet": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a7.png?v8", + "drum": "https://github.githubassets.com/images/icons/emoji/unicode/1f941.png?v8", + "duck": "https://github.githubassets.com/images/icons/emoji/unicode/1f986.png?v8", + "dumpling": "https://github.githubassets.com/images/icons/emoji/unicode/1f95f.png?v8", + "dvd": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c0.png?v8", + "e-mail": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e7.png?v8", + "eagle": "https://github.githubassets.com/images/icons/emoji/unicode/1f985.png?v8", + "ear": "https://github.githubassets.com/images/icons/emoji/unicode/1f442.png?v8", + "ear_of_rice": "https://github.githubassets.com/images/icons/emoji/unicode/1f33e.png?v8", + "ear_with_hearing_aid": "https://github.githubassets.com/images/icons/emoji/unicode/1f9bb.png?v8", + "earth_africa": "https://github.githubassets.com/images/icons/emoji/unicode/1f30d.png?v8", + "earth_americas": "https://github.githubassets.com/images/icons/emoji/unicode/1f30e.png?v8", + "earth_asia": "https://github.githubassets.com/images/icons/emoji/unicode/1f30f.png?v8", + "ecuador": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1e8.png?v8", + "egg": "https://github.githubassets.com/images/icons/emoji/unicode/1f95a.png?v8", + "eggplant": "https://github.githubassets.com/images/icons/emoji/unicode/1f346.png?v8", + "egypt": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1ec.png?v8", + "eight": "https://github.githubassets.com/images/icons/emoji/unicode/0038-20e3.png?v8", + "eight_pointed_black_star": "https://github.githubassets.com/images/icons/emoji/unicode/2734.png?v8", + "eight_spoked_asterisk": "https://github.githubassets.com/images/icons/emoji/unicode/2733.png?v8", + "eject_button": "https://github.githubassets.com/images/icons/emoji/unicode/23cf.png?v8", + "el_salvador": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1fb.png?v8", + "electric_plug": "https://github.githubassets.com/images/icons/emoji/unicode/1f50c.png?v8", + "electron": "https://github.githubassets.com/images/icons/emoji/electron.png?v8", + "elephant": "https://github.githubassets.com/images/icons/emoji/unicode/1f418.png?v8", + "elevator": "https://github.githubassets.com/images/icons/emoji/unicode/1f6d7.png?v8", + "elf": "https://github.githubassets.com/images/icons/emoji/unicode/1f9dd.png?v8", + "elf_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9dd-2642.png?v8", + "elf_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9dd-2640.png?v8", + "email": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e7.png?v8", + "end": "https://github.githubassets.com/images/icons/emoji/unicode/1f51a.png?v8", + "england": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f4-e0067-e0062-e0065-e006e-e0067-e007f.png?v8", + "envelope": "https://github.githubassets.com/images/icons/emoji/unicode/2709.png?v8", + "envelope_with_arrow": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e9.png?v8", + "equatorial_guinea": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f6.png?v8", + "eritrea": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1f7.png?v8", + "es": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1f8.png?v8", + "estonia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1ea.png?v8", + "ethiopia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1f9.png?v8", + "eu": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1fa.png?v8", + "euro": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b6.png?v8", + "european_castle": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f0.png?v8", + "european_post_office": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e4.png?v8", + "european_union": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1fa.png?v8", + "evergreen_tree": "https://github.githubassets.com/images/icons/emoji/unicode/1f332.png?v8", + "exclamation": "https://github.githubassets.com/images/icons/emoji/unicode/2757.png?v8", + "exploding_head": "https://github.githubassets.com/images/icons/emoji/unicode/1f92f.png?v8", + "expressionless": "https://github.githubassets.com/images/icons/emoji/unicode/1f611.png?v8", + "eye": "https://github.githubassets.com/images/icons/emoji/unicode/1f441.png?v8", + "eye_speech_bubble": "https://github.githubassets.com/images/icons/emoji/unicode/1f441-1f5e8.png?v8", + "eyeglasses": "https://github.githubassets.com/images/icons/emoji/unicode/1f453.png?v8", + "eyes": "https://github.githubassets.com/images/icons/emoji/unicode/1f440.png?v8", + "face_exhaling": "https://github.githubassets.com/images/icons/emoji/unicode/1f62e-1f4a8.png?v8", + "face_in_clouds": "https://github.githubassets.com/images/icons/emoji/unicode/1f636-1f32b.png?v8", + "face_with_head_bandage": "https://github.githubassets.com/images/icons/emoji/unicode/1f915.png?v8", + "face_with_spiral_eyes": "https://github.githubassets.com/images/icons/emoji/unicode/1f635-1f4ab.png?v8", + "face_with_thermometer": "https://github.githubassets.com/images/icons/emoji/unicode/1f912.png?v8", + "facepalm": "https://github.githubassets.com/images/icons/emoji/unicode/1f926.png?v8", + "facepunch": "https://github.githubassets.com/images/icons/emoji/unicode/1f44a.png?v8", + "factory": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ed.png?v8", + "factory_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f3ed.png?v8", + "fairy": "https://github.githubassets.com/images/icons/emoji/unicode/1f9da.png?v8", + "fairy_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9da-2642.png?v8", + "fairy_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9da-2640.png?v8", + "falafel": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c6.png?v8", + "falkland_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1eb-1f1f0.png?v8", + "fallen_leaf": "https://github.githubassets.com/images/icons/emoji/unicode/1f342.png?v8", + "family": "https://github.githubassets.com/images/icons/emoji/unicode/1f46a.png?v8", + "family_man_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f466.png?v8", + "family_man_boy_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f466-1f466.png?v8", + "family_man_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f467.png?v8", + "family_man_girl_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f467-1f466.png?v8", + "family_man_girl_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f467-1f467.png?v8", + "family_man_man_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f468-1f466.png?v8", + "family_man_man_boy_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f468-1f466-1f466.png?v8", + "family_man_man_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f468-1f467.png?v8", + "family_man_man_girl_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f468-1f467-1f466.png?v8", + "family_man_man_girl_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f468-1f467-1f467.png?v8", + "family_man_woman_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f469-1f466.png?v8", + "family_man_woman_boy_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f469-1f466-1f466.png?v8", + "family_man_woman_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f469-1f467.png?v8", + "family_man_woman_girl_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f469-1f467-1f466.png?v8", + "family_man_woman_girl_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f469-1f467-1f467.png?v8", + "family_woman_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f466.png?v8", + "family_woman_boy_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f466-1f466.png?v8", + "family_woman_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f467.png?v8", + "family_woman_girl_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f467-1f466.png?v8", + "family_woman_girl_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f467-1f467.png?v8", + "family_woman_woman_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f469-1f466.png?v8", + "family_woman_woman_boy_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f469-1f466-1f466.png?v8", + "family_woman_woman_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f469-1f467.png?v8", + "family_woman_woman_girl_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f469-1f467-1f466.png?v8", + "family_woman_woman_girl_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f469-1f467-1f467.png?v8", + "farmer": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f33e.png?v8", + "faroe_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1eb-1f1f4.png?v8", + "fast_forward": "https://github.githubassets.com/images/icons/emoji/unicode/23e9.png?v8", + "fax": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e0.png?v8", + "fearful": "https://github.githubassets.com/images/icons/emoji/unicode/1f628.png?v8", + "feather": "https://github.githubassets.com/images/icons/emoji/unicode/1fab6.png?v8", + "feelsgood": "https://github.githubassets.com/images/icons/emoji/feelsgood.png?v8", + "feet": "https://github.githubassets.com/images/icons/emoji/unicode/1f43e.png?v8", + "female_detective": "https://github.githubassets.com/images/icons/emoji/unicode/1f575-2640.png?v8", + "female_sign": "https://github.githubassets.com/images/icons/emoji/unicode/2640.png?v8", + "ferris_wheel": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a1.png?v8", + "ferry": "https://github.githubassets.com/images/icons/emoji/unicode/26f4.png?v8", + "field_hockey": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d1.png?v8", + "fiji": "https://github.githubassets.com/images/icons/emoji/unicode/1f1eb-1f1ef.png?v8", + "file_cabinet": "https://github.githubassets.com/images/icons/emoji/unicode/1f5c4.png?v8", + "file_folder": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c1.png?v8", + "film_projector": "https://github.githubassets.com/images/icons/emoji/unicode/1f4fd.png?v8", + "film_strip": "https://github.githubassets.com/images/icons/emoji/unicode/1f39e.png?v8", + "finland": "https://github.githubassets.com/images/icons/emoji/unicode/1f1eb-1f1ee.png?v8", + "finnadie": "https://github.githubassets.com/images/icons/emoji/finnadie.png?v8", + "fire": "https://github.githubassets.com/images/icons/emoji/unicode/1f525.png?v8", + "fire_engine": "https://github.githubassets.com/images/icons/emoji/unicode/1f692.png?v8", + "fire_extinguisher": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ef.png?v8", + "firecracker": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e8.png?v8", + "firefighter": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f692.png?v8", + "fireworks": "https://github.githubassets.com/images/icons/emoji/unicode/1f386.png?v8", + "first_quarter_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f313.png?v8", + "first_quarter_moon_with_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f31b.png?v8", + "fish": "https://github.githubassets.com/images/icons/emoji/unicode/1f41f.png?v8", + "fish_cake": "https://github.githubassets.com/images/icons/emoji/unicode/1f365.png?v8", + "fishing_pole_and_fish": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a3.png?v8", + "fishsticks": "https://github.githubassets.com/images/icons/emoji/fishsticks.png?v8", + "fist": "https://github.githubassets.com/images/icons/emoji/unicode/270a.png?v8", + "fist_left": "https://github.githubassets.com/images/icons/emoji/unicode/1f91b.png?v8", + "fist_oncoming": "https://github.githubassets.com/images/icons/emoji/unicode/1f44a.png?v8", + "fist_raised": "https://github.githubassets.com/images/icons/emoji/unicode/270a.png?v8", + "fist_right": "https://github.githubassets.com/images/icons/emoji/unicode/1f91c.png?v8", + "five": "https://github.githubassets.com/images/icons/emoji/unicode/0035-20e3.png?v8", + "flags": "https://github.githubassets.com/images/icons/emoji/unicode/1f38f.png?v8", + "flamingo": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a9.png?v8", + "flashlight": "https://github.githubassets.com/images/icons/emoji/unicode/1f526.png?v8", + "flat_shoe": "https://github.githubassets.com/images/icons/emoji/unicode/1f97f.png?v8", + "flatbread": "https://github.githubassets.com/images/icons/emoji/unicode/1fad3.png?v8", + "fleur_de_lis": "https://github.githubassets.com/images/icons/emoji/unicode/269c.png?v8", + "flight_arrival": "https://github.githubassets.com/images/icons/emoji/unicode/1f6ec.png?v8", + "flight_departure": "https://github.githubassets.com/images/icons/emoji/unicode/1f6eb.png?v8", + "flipper": "https://github.githubassets.com/images/icons/emoji/unicode/1f42c.png?v8", + "floppy_disk": "https://github.githubassets.com/images/icons/emoji/unicode/1f4be.png?v8", + "flower_playing_cards": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b4.png?v8", + "flushed": "https://github.githubassets.com/images/icons/emoji/unicode/1f633.png?v8", + "fly": "https://github.githubassets.com/images/icons/emoji/unicode/1fab0.png?v8", + "flying_disc": "https://github.githubassets.com/images/icons/emoji/unicode/1f94f.png?v8", + "flying_saucer": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f8.png?v8", + "fog": "https://github.githubassets.com/images/icons/emoji/unicode/1f32b.png?v8", + "foggy": "https://github.githubassets.com/images/icons/emoji/unicode/1f301.png?v8", + "fondue": "https://github.githubassets.com/images/icons/emoji/unicode/1fad5.png?v8", + "foot": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b6.png?v8", + "football": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c8.png?v8", + "footprints": "https://github.githubassets.com/images/icons/emoji/unicode/1f463.png?v8", + "fork_and_knife": "https://github.githubassets.com/images/icons/emoji/unicode/1f374.png?v8", + "fortune_cookie": "https://github.githubassets.com/images/icons/emoji/unicode/1f960.png?v8", + "fountain": "https://github.githubassets.com/images/icons/emoji/unicode/26f2.png?v8", + "fountain_pen": "https://github.githubassets.com/images/icons/emoji/unicode/1f58b.png?v8", + "four": "https://github.githubassets.com/images/icons/emoji/unicode/0034-20e3.png?v8", + "four_leaf_clover": "https://github.githubassets.com/images/icons/emoji/unicode/1f340.png?v8", + "fox_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f98a.png?v8", + "fr": "https://github.githubassets.com/images/icons/emoji/unicode/1f1eb-1f1f7.png?v8", + "framed_picture": "https://github.githubassets.com/images/icons/emoji/unicode/1f5bc.png?v8", + "free": "https://github.githubassets.com/images/icons/emoji/unicode/1f193.png?v8", + "french_guiana": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1eb.png?v8", + "french_polynesia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1eb.png?v8", + "french_southern_territories": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1eb.png?v8", + "fried_egg": "https://github.githubassets.com/images/icons/emoji/unicode/1f373.png?v8", + "fried_shrimp": "https://github.githubassets.com/images/icons/emoji/unicode/1f364.png?v8", + "fries": "https://github.githubassets.com/images/icons/emoji/unicode/1f35f.png?v8", + "frog": "https://github.githubassets.com/images/icons/emoji/unicode/1f438.png?v8", + "frowning": "https://github.githubassets.com/images/icons/emoji/unicode/1f626.png?v8", + "frowning_face": "https://github.githubassets.com/images/icons/emoji/unicode/2639.png?v8", + "frowning_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f64d-2642.png?v8", + "frowning_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f64d.png?v8", + "frowning_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f64d-2640.png?v8", + "fu": "https://github.githubassets.com/images/icons/emoji/unicode/1f595.png?v8", + "fuelpump": "https://github.githubassets.com/images/icons/emoji/unicode/26fd.png?v8", + "full_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f315.png?v8", + "full_moon_with_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f31d.png?v8", + "funeral_urn": "https://github.githubassets.com/images/icons/emoji/unicode/26b1.png?v8", + "gabon": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1e6.png?v8", + "gambia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f2.png?v8", + "game_die": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b2.png?v8", + "garlic": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c4.png?v8", + "gb": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1e7.png?v8", + "gear": "https://github.githubassets.com/images/icons/emoji/unicode/2699.png?v8", + "gem": "https://github.githubassets.com/images/icons/emoji/unicode/1f48e.png?v8", + "gemini": "https://github.githubassets.com/images/icons/emoji/unicode/264a.png?v8", + "genie": "https://github.githubassets.com/images/icons/emoji/unicode/1f9de.png?v8", + "genie_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9de-2642.png?v8", + "genie_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9de-2640.png?v8", + "georgia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1ea.png?v8", + "ghana": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1ed.png?v8", + "ghost": "https://github.githubassets.com/images/icons/emoji/unicode/1f47b.png?v8", + "gibraltar": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1ee.png?v8", + "gift": "https://github.githubassets.com/images/icons/emoji/unicode/1f381.png?v8", + "gift_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f49d.png?v8", + "giraffe": "https://github.githubassets.com/images/icons/emoji/unicode/1f992.png?v8", + "girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f467.png?v8", + "globe_with_meridians": "https://github.githubassets.com/images/icons/emoji/unicode/1f310.png?v8", + "gloves": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e4.png?v8", + "goal_net": "https://github.githubassets.com/images/icons/emoji/unicode/1f945.png?v8", + "goat": "https://github.githubassets.com/images/icons/emoji/unicode/1f410.png?v8", + "goberserk": "https://github.githubassets.com/images/icons/emoji/goberserk.png?v8", + "godmode": "https://github.githubassets.com/images/icons/emoji/godmode.png?v8", + "goggles": "https://github.githubassets.com/images/icons/emoji/unicode/1f97d.png?v8", + "golf": "https://github.githubassets.com/images/icons/emoji/unicode/26f3.png?v8", + "golfing": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cc.png?v8", + "golfing_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cc-2642.png?v8", + "golfing_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cc-2640.png?v8", + "gorilla": "https://github.githubassets.com/images/icons/emoji/unicode/1f98d.png?v8", + "grapes": "https://github.githubassets.com/images/icons/emoji/unicode/1f347.png?v8", + "greece": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f7.png?v8", + "green_apple": "https://github.githubassets.com/images/icons/emoji/unicode/1f34f.png?v8", + "green_book": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d7.png?v8", + "green_circle": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e2.png?v8", + "green_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f49a.png?v8", + "green_salad": "https://github.githubassets.com/images/icons/emoji/unicode/1f957.png?v8", + "green_square": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e9.png?v8", + "greenland": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f1.png?v8", + "grenada": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1e9.png?v8", + "grey_exclamation": "https://github.githubassets.com/images/icons/emoji/unicode/2755.png?v8", + "grey_question": "https://github.githubassets.com/images/icons/emoji/unicode/2754.png?v8", + "grimacing": "https://github.githubassets.com/images/icons/emoji/unicode/1f62c.png?v8", + "grin": "https://github.githubassets.com/images/icons/emoji/unicode/1f601.png?v8", + "grinning": "https://github.githubassets.com/images/icons/emoji/unicode/1f600.png?v8", + "guadeloupe": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f5.png?v8", + "guam": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1fa.png?v8", + "guard": "https://github.githubassets.com/images/icons/emoji/unicode/1f482.png?v8", + "guardsman": "https://github.githubassets.com/images/icons/emoji/unicode/1f482-2642.png?v8", + "guardswoman": "https://github.githubassets.com/images/icons/emoji/unicode/1f482-2640.png?v8", + "guatemala": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f9.png?v8", + "guernsey": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1ec.png?v8", + "guide_dog": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ae.png?v8", + "guinea": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f3.png?v8", + "guinea_bissau": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1fc.png?v8", + "guitar": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b8.png?v8", + "gun": "https://github.githubassets.com/images/icons/emoji/unicode/1f52b.png?v8", + "guyana": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1fe.png?v8", + "haircut": "https://github.githubassets.com/images/icons/emoji/unicode/1f487.png?v8", + "haircut_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f487-2642.png?v8", + "haircut_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f487-2640.png?v8", + "haiti": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ed-1f1f9.png?v8", + "hamburger": "https://github.githubassets.com/images/icons/emoji/unicode/1f354.png?v8", + "hammer": "https://github.githubassets.com/images/icons/emoji/unicode/1f528.png?v8", + "hammer_and_pick": "https://github.githubassets.com/images/icons/emoji/unicode/2692.png?v8", + "hammer_and_wrench": "https://github.githubassets.com/images/icons/emoji/unicode/1f6e0.png?v8", + "hamster": "https://github.githubassets.com/images/icons/emoji/unicode/1f439.png?v8", + "hand": "https://github.githubassets.com/images/icons/emoji/unicode/270b.png?v8", + "hand_over_mouth": "https://github.githubassets.com/images/icons/emoji/unicode/1f92d.png?v8", + "handbag": "https://github.githubassets.com/images/icons/emoji/unicode/1f45c.png?v8", + "handball_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f93e.png?v8", + "handshake": "https://github.githubassets.com/images/icons/emoji/unicode/1f91d.png?v8", + "hankey": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a9.png?v8", + "hash": "https://github.githubassets.com/images/icons/emoji/unicode/0023-20e3.png?v8", + "hatched_chick": "https://github.githubassets.com/images/icons/emoji/unicode/1f425.png?v8", + "hatching_chick": "https://github.githubassets.com/images/icons/emoji/unicode/1f423.png?v8", + "headphones": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a7.png?v8", + "headstone": "https://github.githubassets.com/images/icons/emoji/unicode/1faa6.png?v8", + "health_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-2695.png?v8", + "hear_no_evil": "https://github.githubassets.com/images/icons/emoji/unicode/1f649.png?v8", + "heard_mcdonald_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ed-1f1f2.png?v8", + "heart": "https://github.githubassets.com/images/icons/emoji/unicode/2764.png?v8", + "heart_decoration": "https://github.githubassets.com/images/icons/emoji/unicode/1f49f.png?v8", + "heart_eyes": "https://github.githubassets.com/images/icons/emoji/unicode/1f60d.png?v8", + "heart_eyes_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f63b.png?v8", + "heart_on_fire": "https://github.githubassets.com/images/icons/emoji/unicode/2764-1f525.png?v8", + "heartbeat": "https://github.githubassets.com/images/icons/emoji/unicode/1f493.png?v8", + "heartpulse": "https://github.githubassets.com/images/icons/emoji/unicode/1f497.png?v8", + "hearts": "https://github.githubassets.com/images/icons/emoji/unicode/2665.png?v8", + "heavy_check_mark": "https://github.githubassets.com/images/icons/emoji/unicode/2714.png?v8", + "heavy_division_sign": "https://github.githubassets.com/images/icons/emoji/unicode/2797.png?v8", + "heavy_dollar_sign": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b2.png?v8", + "heavy_exclamation_mark": "https://github.githubassets.com/images/icons/emoji/unicode/2757.png?v8", + "heavy_heart_exclamation": "https://github.githubassets.com/images/icons/emoji/unicode/2763.png?v8", + "heavy_minus_sign": "https://github.githubassets.com/images/icons/emoji/unicode/2796.png?v8", + "heavy_multiplication_x": "https://github.githubassets.com/images/icons/emoji/unicode/2716.png?v8", + "heavy_plus_sign": "https://github.githubassets.com/images/icons/emoji/unicode/2795.png?v8", + "hedgehog": "https://github.githubassets.com/images/icons/emoji/unicode/1f994.png?v8", + "helicopter": "https://github.githubassets.com/images/icons/emoji/unicode/1f681.png?v8", + "herb": "https://github.githubassets.com/images/icons/emoji/unicode/1f33f.png?v8", + "hibiscus": "https://github.githubassets.com/images/icons/emoji/unicode/1f33a.png?v8", + "high_brightness": "https://github.githubassets.com/images/icons/emoji/unicode/1f506.png?v8", + "high_heel": "https://github.githubassets.com/images/icons/emoji/unicode/1f460.png?v8", + "hiking_boot": "https://github.githubassets.com/images/icons/emoji/unicode/1f97e.png?v8", + "hindu_temple": "https://github.githubassets.com/images/icons/emoji/unicode/1f6d5.png?v8", + "hippopotamus": "https://github.githubassets.com/images/icons/emoji/unicode/1f99b.png?v8", + "hocho": "https://github.githubassets.com/images/icons/emoji/unicode/1f52a.png?v8", + "hole": "https://github.githubassets.com/images/icons/emoji/unicode/1f573.png?v8", + "honduras": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ed-1f1f3.png?v8", + "honey_pot": "https://github.githubassets.com/images/icons/emoji/unicode/1f36f.png?v8", + "honeybee": "https://github.githubassets.com/images/icons/emoji/unicode/1f41d.png?v8", + "hong_kong": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ed-1f1f0.png?v8", + "hook": "https://github.githubassets.com/images/icons/emoji/unicode/1fa9d.png?v8", + "horse": "https://github.githubassets.com/images/icons/emoji/unicode/1f434.png?v8", + "horse_racing": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c7.png?v8", + "hospital": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e5.png?v8", + "hot_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f975.png?v8", + "hot_pepper": "https://github.githubassets.com/images/icons/emoji/unicode/1f336.png?v8", + "hotdog": "https://github.githubassets.com/images/icons/emoji/unicode/1f32d.png?v8", + "hotel": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e8.png?v8", + "hotsprings": "https://github.githubassets.com/images/icons/emoji/unicode/2668.png?v8", + "hourglass": "https://github.githubassets.com/images/icons/emoji/unicode/231b.png?v8", + "hourglass_flowing_sand": "https://github.githubassets.com/images/icons/emoji/unicode/23f3.png?v8", + "house": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e0.png?v8", + "house_with_garden": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e1.png?v8", + "houses": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d8.png?v8", + "hugs": "https://github.githubassets.com/images/icons/emoji/unicode/1f917.png?v8", + "hungary": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ed-1f1fa.png?v8", + "hurtrealbad": "https://github.githubassets.com/images/icons/emoji/hurtrealbad.png?v8", + "hushed": "https://github.githubassets.com/images/icons/emoji/unicode/1f62f.png?v8", + "hut": "https://github.githubassets.com/images/icons/emoji/unicode/1f6d6.png?v8", + "ice_cream": "https://github.githubassets.com/images/icons/emoji/unicode/1f368.png?v8", + "ice_cube": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ca.png?v8", + "ice_hockey": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d2.png?v8", + "ice_skate": "https://github.githubassets.com/images/icons/emoji/unicode/26f8.png?v8", + "icecream": "https://github.githubassets.com/images/icons/emoji/unicode/1f366.png?v8", + "iceland": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f8.png?v8", + "id": "https://github.githubassets.com/images/icons/emoji/unicode/1f194.png?v8", + "ideograph_advantage": "https://github.githubassets.com/images/icons/emoji/unicode/1f250.png?v8", + "imp": "https://github.githubassets.com/images/icons/emoji/unicode/1f47f.png?v8", + "inbox_tray": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e5.png?v8", + "incoming_envelope": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e8.png?v8", + "india": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f3.png?v8", + "indonesia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1e9.png?v8", + "infinity": "https://github.githubassets.com/images/icons/emoji/unicode/267e.png?v8", + "information_desk_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f481.png?v8", + "information_source": "https://github.githubassets.com/images/icons/emoji/unicode/2139.png?v8", + "innocent": "https://github.githubassets.com/images/icons/emoji/unicode/1f607.png?v8", + "interrobang": "https://github.githubassets.com/images/icons/emoji/unicode/2049.png?v8", + "iphone": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f1.png?v8", + "iran": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f7.png?v8", + "iraq": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f6.png?v8", + "ireland": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1ea.png?v8", + "isle_of_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f2.png?v8", + "israel": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f1.png?v8", + "it": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f9.png?v8", + "izakaya_lantern": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ee.png?v8", + "jack_o_lantern": "https://github.githubassets.com/images/icons/emoji/unicode/1f383.png?v8", + "jamaica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ef-1f1f2.png?v8", + "japan": "https://github.githubassets.com/images/icons/emoji/unicode/1f5fe.png?v8", + "japanese_castle": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ef.png?v8", + "japanese_goblin": "https://github.githubassets.com/images/icons/emoji/unicode/1f47a.png?v8", + "japanese_ogre": "https://github.githubassets.com/images/icons/emoji/unicode/1f479.png?v8", + "jeans": "https://github.githubassets.com/images/icons/emoji/unicode/1f456.png?v8", + "jersey": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ef-1f1ea.png?v8", + "jigsaw": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e9.png?v8", + "jordan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ef-1f1f4.png?v8", + "joy": "https://github.githubassets.com/images/icons/emoji/unicode/1f602.png?v8", + "joy_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f639.png?v8", + "joystick": "https://github.githubassets.com/images/icons/emoji/unicode/1f579.png?v8", + "jp": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ef-1f1f5.png?v8", + "judge": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-2696.png?v8", + "juggling_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f939.png?v8", + "kangaroo": "https://github.githubassets.com/images/icons/emoji/unicode/1f998.png?v8", + "kazakhstan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1ff.png?v8", + "kenya": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1ea.png?v8", + "key": "https://github.githubassets.com/images/icons/emoji/unicode/1f511.png?v8", + "keyboard": "https://github.githubassets.com/images/icons/emoji/unicode/2328.png?v8", + "keycap_ten": "https://github.githubassets.com/images/icons/emoji/unicode/1f51f.png?v8", + "kick_scooter": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f4.png?v8", + "kimono": "https://github.githubassets.com/images/icons/emoji/unicode/1f458.png?v8", + "kiribati": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1ee.png?v8", + "kiss": "https://github.githubassets.com/images/icons/emoji/unicode/1f48b.png?v8", + "kissing": "https://github.githubassets.com/images/icons/emoji/unicode/1f617.png?v8", + "kissing_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f63d.png?v8", + "kissing_closed_eyes": "https://github.githubassets.com/images/icons/emoji/unicode/1f61a.png?v8", + "kissing_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f618.png?v8", + "kissing_smiling_eyes": "https://github.githubassets.com/images/icons/emoji/unicode/1f619.png?v8", + "kite": "https://github.githubassets.com/images/icons/emoji/unicode/1fa81.png?v8", + "kiwi_fruit": "https://github.githubassets.com/images/icons/emoji/unicode/1f95d.png?v8", + "kneeling_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ce-2642.png?v8", + "kneeling_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ce.png?v8", + "kneeling_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ce-2640.png?v8", + "knife": "https://github.githubassets.com/images/icons/emoji/unicode/1f52a.png?v8", + "knot": "https://github.githubassets.com/images/icons/emoji/unicode/1faa2.png?v8", + "koala": "https://github.githubassets.com/images/icons/emoji/unicode/1f428.png?v8", + "koko": "https://github.githubassets.com/images/icons/emoji/unicode/1f201.png?v8", + "kosovo": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fd-1f1f0.png?v8", + "kr": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1f7.png?v8", + "kuwait": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1fc.png?v8", + "kyrgyzstan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1ec.png?v8", + "lab_coat": "https://github.githubassets.com/images/icons/emoji/unicode/1f97c.png?v8", + "label": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f7.png?v8", + "lacrosse": "https://github.githubassets.com/images/icons/emoji/unicode/1f94d.png?v8", + "ladder": "https://github.githubassets.com/images/icons/emoji/unicode/1fa9c.png?v8", + "lady_beetle": "https://github.githubassets.com/images/icons/emoji/unicode/1f41e.png?v8", + "lantern": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ee.png?v8", + "laos": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1e6.png?v8", + "large_blue_circle": "https://github.githubassets.com/images/icons/emoji/unicode/1f535.png?v8", + "large_blue_diamond": "https://github.githubassets.com/images/icons/emoji/unicode/1f537.png?v8", + "large_orange_diamond": "https://github.githubassets.com/images/icons/emoji/unicode/1f536.png?v8", + "last_quarter_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f317.png?v8", + "last_quarter_moon_with_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f31c.png?v8", + "latin_cross": "https://github.githubassets.com/images/icons/emoji/unicode/271d.png?v8", + "latvia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1fb.png?v8", + "laughing": "https://github.githubassets.com/images/icons/emoji/unicode/1f606.png?v8", + "leafy_green": "https://github.githubassets.com/images/icons/emoji/unicode/1f96c.png?v8", + "leaves": "https://github.githubassets.com/images/icons/emoji/unicode/1f343.png?v8", + "lebanon": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1e7.png?v8", + "ledger": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d2.png?v8", + "left_luggage": "https://github.githubassets.com/images/icons/emoji/unicode/1f6c5.png?v8", + "left_right_arrow": "https://github.githubassets.com/images/icons/emoji/unicode/2194.png?v8", + "left_speech_bubble": "https://github.githubassets.com/images/icons/emoji/unicode/1f5e8.png?v8", + "leftwards_arrow_with_hook": "https://github.githubassets.com/images/icons/emoji/unicode/21a9.png?v8", + "leg": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b5.png?v8", + "lemon": "https://github.githubassets.com/images/icons/emoji/unicode/1f34b.png?v8", + "leo": "https://github.githubassets.com/images/icons/emoji/unicode/264c.png?v8", + "leopard": "https://github.githubassets.com/images/icons/emoji/unicode/1f406.png?v8", + "lesotho": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1f8.png?v8", + "level_slider": "https://github.githubassets.com/images/icons/emoji/unicode/1f39a.png?v8", + "liberia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1f7.png?v8", + "libra": "https://github.githubassets.com/images/icons/emoji/unicode/264e.png?v8", + "libya": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1fe.png?v8", + "liechtenstein": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1ee.png?v8", + "light_rail": "https://github.githubassets.com/images/icons/emoji/unicode/1f688.png?v8", + "link": "https://github.githubassets.com/images/icons/emoji/unicode/1f517.png?v8", + "lion": "https://github.githubassets.com/images/icons/emoji/unicode/1f981.png?v8", + "lips": "https://github.githubassets.com/images/icons/emoji/unicode/1f444.png?v8", + "lipstick": "https://github.githubassets.com/images/icons/emoji/unicode/1f484.png?v8", + "lithuania": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1f9.png?v8", + "lizard": "https://github.githubassets.com/images/icons/emoji/unicode/1f98e.png?v8", + "llama": "https://github.githubassets.com/images/icons/emoji/unicode/1f999.png?v8", + "lobster": "https://github.githubassets.com/images/icons/emoji/unicode/1f99e.png?v8", + "lock": "https://github.githubassets.com/images/icons/emoji/unicode/1f512.png?v8", + "lock_with_ink_pen": "https://github.githubassets.com/images/icons/emoji/unicode/1f50f.png?v8", + "lollipop": "https://github.githubassets.com/images/icons/emoji/unicode/1f36d.png?v8", + "long_drum": "https://github.githubassets.com/images/icons/emoji/unicode/1fa98.png?v8", + "loop": "https://github.githubassets.com/images/icons/emoji/unicode/27bf.png?v8", + "lotion_bottle": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f4.png?v8", + "lotus_position": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d8.png?v8", + "lotus_position_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d8-2642.png?v8", + "lotus_position_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d8-2640.png?v8", + "loud_sound": "https://github.githubassets.com/images/icons/emoji/unicode/1f50a.png?v8", + "loudspeaker": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e2.png?v8", + "love_hotel": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e9.png?v8", + "love_letter": "https://github.githubassets.com/images/icons/emoji/unicode/1f48c.png?v8", + "love_you_gesture": "https://github.githubassets.com/images/icons/emoji/unicode/1f91f.png?v8", + "low_brightness": "https://github.githubassets.com/images/icons/emoji/unicode/1f505.png?v8", + "luggage": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f3.png?v8", + "lungs": "https://github.githubassets.com/images/icons/emoji/unicode/1fac1.png?v8", + "luxembourg": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1fa.png?v8", + "lying_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f925.png?v8", + "m": "https://github.githubassets.com/images/icons/emoji/unicode/24c2.png?v8", + "macau": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f4.png?v8", + "macedonia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f0.png?v8", + "madagascar": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1ec.png?v8", + "mag": "https://github.githubassets.com/images/icons/emoji/unicode/1f50d.png?v8", + "mag_right": "https://github.githubassets.com/images/icons/emoji/unicode/1f50e.png?v8", + "mage": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d9.png?v8", + "mage_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d9-2642.png?v8", + "mage_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d9-2640.png?v8", + "magic_wand": "https://github.githubassets.com/images/icons/emoji/unicode/1fa84.png?v8", + "magnet": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f2.png?v8", + "mahjong": "https://github.githubassets.com/images/icons/emoji/unicode/1f004.png?v8", + "mailbox": "https://github.githubassets.com/images/icons/emoji/unicode/1f4eb.png?v8", + "mailbox_closed": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ea.png?v8", + "mailbox_with_mail": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ec.png?v8", + "mailbox_with_no_mail": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ed.png?v8", + "malawi": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1fc.png?v8", + "malaysia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1fe.png?v8", + "maldives": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1fb.png?v8", + "male_detective": "https://github.githubassets.com/images/icons/emoji/unicode/1f575-2642.png?v8", + "male_sign": "https://github.githubassets.com/images/icons/emoji/unicode/2642.png?v8", + "mali": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f1.png?v8", + "malta": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f9.png?v8", + "mammoth": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a3.png?v8", + "man": "https://github.githubassets.com/images/icons/emoji/unicode/1f468.png?v8", + "man_artist": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f3a8.png?v8", + "man_astronaut": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f680.png?v8", + "man_beard": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d4-2642.png?v8", + "man_cartwheeling": "https://github.githubassets.com/images/icons/emoji/unicode/1f938-2642.png?v8", + "man_cook": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f373.png?v8", + "man_dancing": "https://github.githubassets.com/images/icons/emoji/unicode/1f57a.png?v8", + "man_facepalming": "https://github.githubassets.com/images/icons/emoji/unicode/1f926-2642.png?v8", + "man_factory_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f3ed.png?v8", + "man_farmer": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f33e.png?v8", + "man_feeding_baby": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f37c.png?v8", + "man_firefighter": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f692.png?v8", + "man_health_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-2695.png?v8", + "man_in_manual_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f9bd.png?v8", + "man_in_motorized_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f9bc.png?v8", + "man_in_tuxedo": "https://github.githubassets.com/images/icons/emoji/unicode/1f935-2642.png?v8", + "man_judge": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-2696.png?v8", + "man_juggling": "https://github.githubassets.com/images/icons/emoji/unicode/1f939-2642.png?v8", + "man_mechanic": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f527.png?v8", + "man_office_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f4bc.png?v8", + "man_pilot": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-2708.png?v8", + "man_playing_handball": "https://github.githubassets.com/images/icons/emoji/unicode/1f93e-2642.png?v8", + "man_playing_water_polo": "https://github.githubassets.com/images/icons/emoji/unicode/1f93d-2642.png?v8", + "man_scientist": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f52c.png?v8", + "man_shrugging": "https://github.githubassets.com/images/icons/emoji/unicode/1f937-2642.png?v8", + "man_singer": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f3a4.png?v8", + "man_student": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f393.png?v8", + "man_teacher": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f3eb.png?v8", + "man_technologist": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f4bb.png?v8", + "man_with_gua_pi_mao": "https://github.githubassets.com/images/icons/emoji/unicode/1f472.png?v8", + "man_with_probing_cane": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f9af.png?v8", + "man_with_turban": "https://github.githubassets.com/images/icons/emoji/unicode/1f473-2642.png?v8", + "man_with_veil": "https://github.githubassets.com/images/icons/emoji/unicode/1f470-2642.png?v8", + "mandarin": "https://github.githubassets.com/images/icons/emoji/unicode/1f34a.png?v8", + "mango": "https://github.githubassets.com/images/icons/emoji/unicode/1f96d.png?v8", + "mans_shoe": "https://github.githubassets.com/images/icons/emoji/unicode/1f45e.png?v8", + "mantelpiece_clock": "https://github.githubassets.com/images/icons/emoji/unicode/1f570.png?v8", + "manual_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f9bd.png?v8", + "maple_leaf": "https://github.githubassets.com/images/icons/emoji/unicode/1f341.png?v8", + "marshall_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1ed.png?v8", + "martial_arts_uniform": "https://github.githubassets.com/images/icons/emoji/unicode/1f94b.png?v8", + "martinique": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f6.png?v8", + "mask": "https://github.githubassets.com/images/icons/emoji/unicode/1f637.png?v8", + "massage": "https://github.githubassets.com/images/icons/emoji/unicode/1f486.png?v8", + "massage_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f486-2642.png?v8", + "massage_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f486-2640.png?v8", + "mate": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c9.png?v8", + "mauritania": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f7.png?v8", + "mauritius": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1fa.png?v8", + "mayotte": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fe-1f1f9.png?v8", + "meat_on_bone": "https://github.githubassets.com/images/icons/emoji/unicode/1f356.png?v8", + "mechanic": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f527.png?v8", + "mechanical_arm": "https://github.githubassets.com/images/icons/emoji/unicode/1f9be.png?v8", + "mechanical_leg": "https://github.githubassets.com/images/icons/emoji/unicode/1f9bf.png?v8", + "medal_military": "https://github.githubassets.com/images/icons/emoji/unicode/1f396.png?v8", + "medal_sports": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c5.png?v8", + "medical_symbol": "https://github.githubassets.com/images/icons/emoji/unicode/2695.png?v8", + "mega": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e3.png?v8", + "melon": "https://github.githubassets.com/images/icons/emoji/unicode/1f348.png?v8", + "memo": "https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png?v8", + "men_wrestling": "https://github.githubassets.com/images/icons/emoji/unicode/1f93c-2642.png?v8", + "mending_heart": "https://github.githubassets.com/images/icons/emoji/unicode/2764-1fa79.png?v8", + "menorah": "https://github.githubassets.com/images/icons/emoji/unicode/1f54e.png?v8", + "mens": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b9.png?v8", + "mermaid": "https://github.githubassets.com/images/icons/emoji/unicode/1f9dc-2640.png?v8", + "merman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9dc-2642.png?v8", + "merperson": "https://github.githubassets.com/images/icons/emoji/unicode/1f9dc.png?v8", + "metal": "https://github.githubassets.com/images/icons/emoji/unicode/1f918.png?v8", + "metro": "https://github.githubassets.com/images/icons/emoji/unicode/1f687.png?v8", + "mexico": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1fd.png?v8", + "microbe": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a0.png?v8", + "micronesia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1eb-1f1f2.png?v8", + "microphone": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a4.png?v8", + "microscope": "https://github.githubassets.com/images/icons/emoji/unicode/1f52c.png?v8", + "middle_finger": "https://github.githubassets.com/images/icons/emoji/unicode/1f595.png?v8", + "military_helmet": "https://github.githubassets.com/images/icons/emoji/unicode/1fa96.png?v8", + "milk_glass": "https://github.githubassets.com/images/icons/emoji/unicode/1f95b.png?v8", + "milky_way": "https://github.githubassets.com/images/icons/emoji/unicode/1f30c.png?v8", + "minibus": "https://github.githubassets.com/images/icons/emoji/unicode/1f690.png?v8", + "minidisc": "https://github.githubassets.com/images/icons/emoji/unicode/1f4bd.png?v8", + "mirror": "https://github.githubassets.com/images/icons/emoji/unicode/1fa9e.png?v8", + "mobile_phone_off": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f4.png?v8", + "moldova": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1e9.png?v8", + "monaco": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1e8.png?v8", + "money_mouth_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f911.png?v8", + "money_with_wings": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b8.png?v8", + "moneybag": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b0.png?v8", + "mongolia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f3.png?v8", + "monkey": "https://github.githubassets.com/images/icons/emoji/unicode/1f412.png?v8", + "monkey_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f435.png?v8", + "monocle_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d0.png?v8", + "monorail": "https://github.githubassets.com/images/icons/emoji/unicode/1f69d.png?v8", + "montenegro": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1ea.png?v8", + "montserrat": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f8.png?v8", + "moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f314.png?v8", + "moon_cake": "https://github.githubassets.com/images/icons/emoji/unicode/1f96e.png?v8", + "morocco": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1e6.png?v8", + "mortar_board": "https://github.githubassets.com/images/icons/emoji/unicode/1f393.png?v8", + "mosque": "https://github.githubassets.com/images/icons/emoji/unicode/1f54c.png?v8", + "mosquito": "https://github.githubassets.com/images/icons/emoji/unicode/1f99f.png?v8", + "motor_boat": "https://github.githubassets.com/images/icons/emoji/unicode/1f6e5.png?v8", + "motor_scooter": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f5.png?v8", + "motorcycle": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cd.png?v8", + "motorized_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f9bc.png?v8", + "motorway": "https://github.githubassets.com/images/icons/emoji/unicode/1f6e3.png?v8", + "mount_fuji": "https://github.githubassets.com/images/icons/emoji/unicode/1f5fb.png?v8", + "mountain": "https://github.githubassets.com/images/icons/emoji/unicode/26f0.png?v8", + "mountain_bicyclist": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b5.png?v8", + "mountain_biking_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b5-2642.png?v8", + "mountain_biking_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b5-2640.png?v8", + "mountain_cableway": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a0.png?v8", + "mountain_railway": "https://github.githubassets.com/images/icons/emoji/unicode/1f69e.png?v8", + "mountain_snow": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d4.png?v8", + "mouse": "https://github.githubassets.com/images/icons/emoji/unicode/1f42d.png?v8", + "mouse2": "https://github.githubassets.com/images/icons/emoji/unicode/1f401.png?v8", + "mouse_trap": "https://github.githubassets.com/images/icons/emoji/unicode/1faa4.png?v8", + "movie_camera": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a5.png?v8", + "moyai": "https://github.githubassets.com/images/icons/emoji/unicode/1f5ff.png?v8", + "mozambique": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1ff.png?v8", + "mrs_claus": "https://github.githubassets.com/images/icons/emoji/unicode/1f936.png?v8", + "muscle": "https://github.githubassets.com/images/icons/emoji/unicode/1f4aa.png?v8", + "mushroom": "https://github.githubassets.com/images/icons/emoji/unicode/1f344.png?v8", + "musical_keyboard": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b9.png?v8", + "musical_note": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b5.png?v8", + "musical_score": "https://github.githubassets.com/images/icons/emoji/unicode/1f3bc.png?v8", + "mute": "https://github.githubassets.com/images/icons/emoji/unicode/1f507.png?v8", + "mx_claus": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f384.png?v8", + "myanmar": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f2.png?v8", + "nail_care": "https://github.githubassets.com/images/icons/emoji/unicode/1f485.png?v8", + "name_badge": "https://github.githubassets.com/images/icons/emoji/unicode/1f4db.png?v8", + "namibia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1e6.png?v8", + "national_park": "https://github.githubassets.com/images/icons/emoji/unicode/1f3de.png?v8", + "nauru": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1f7.png?v8", + "nauseated_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f922.png?v8", + "nazar_amulet": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ff.png?v8", + "neckbeard": "https://github.githubassets.com/images/icons/emoji/neckbeard.png?v8", + "necktie": "https://github.githubassets.com/images/icons/emoji/unicode/1f454.png?v8", + "negative_squared_cross_mark": "https://github.githubassets.com/images/icons/emoji/unicode/274e.png?v8", + "nepal": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1f5.png?v8", + "nerd_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f913.png?v8", + "nesting_dolls": "https://github.githubassets.com/images/icons/emoji/unicode/1fa86.png?v8", + "netherlands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1f1.png?v8", + "neutral_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f610.png?v8", + "new": "https://github.githubassets.com/images/icons/emoji/unicode/1f195.png?v8", + "new_caledonia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1e8.png?v8", + "new_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f311.png?v8", + "new_moon_with_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f31a.png?v8", + "new_zealand": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1ff.png?v8", + "newspaper": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f0.png?v8", + "newspaper_roll": "https://github.githubassets.com/images/icons/emoji/unicode/1f5de.png?v8", + "next_track_button": "https://github.githubassets.com/images/icons/emoji/unicode/23ed.png?v8", + "ng": "https://github.githubassets.com/images/icons/emoji/unicode/1f196.png?v8", + "ng_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f645-2642.png?v8", + "ng_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f645-2640.png?v8", + "nicaragua": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1ee.png?v8", + "niger": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1ea.png?v8", + "nigeria": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1ec.png?v8", + "night_with_stars": "https://github.githubassets.com/images/icons/emoji/unicode/1f303.png?v8", + "nine": "https://github.githubassets.com/images/icons/emoji/unicode/0039-20e3.png?v8", + "ninja": "https://github.githubassets.com/images/icons/emoji/unicode/1f977.png?v8", + "niue": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1fa.png?v8", + "no_bell": "https://github.githubassets.com/images/icons/emoji/unicode/1f515.png?v8", + "no_bicycles": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b3.png?v8", + "no_entry": "https://github.githubassets.com/images/icons/emoji/unicode/26d4.png?v8", + "no_entry_sign": "https://github.githubassets.com/images/icons/emoji/unicode/1f6ab.png?v8", + "no_good": "https://github.githubassets.com/images/icons/emoji/unicode/1f645.png?v8", + "no_good_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f645-2642.png?v8", + "no_good_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f645-2640.png?v8", + "no_mobile_phones": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f5.png?v8", + "no_mouth": "https://github.githubassets.com/images/icons/emoji/unicode/1f636.png?v8", + "no_pedestrians": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b7.png?v8", + "no_smoking": "https://github.githubassets.com/images/icons/emoji/unicode/1f6ad.png?v8", + "non-potable_water": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b1.png?v8", + "norfolk_island": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1eb.png?v8", + "north_korea": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1f5.png?v8", + "northern_mariana_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f5.png?v8", + "norway": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1f4.png?v8", + "nose": "https://github.githubassets.com/images/icons/emoji/unicode/1f443.png?v8", + "notebook": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d3.png?v8", + "notebook_with_decorative_cover": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d4.png?v8", + "notes": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b6.png?v8", + "nut_and_bolt": "https://github.githubassets.com/images/icons/emoji/unicode/1f529.png?v8", + "o": "https://github.githubassets.com/images/icons/emoji/unicode/2b55.png?v8", + "o2": "https://github.githubassets.com/images/icons/emoji/unicode/1f17e.png?v8", + "ocean": "https://github.githubassets.com/images/icons/emoji/unicode/1f30a.png?v8", + "octocat": "https://github.githubassets.com/images/icons/emoji/octocat.png?v8", + "octopus": "https://github.githubassets.com/images/icons/emoji/unicode/1f419.png?v8", + "oden": "https://github.githubassets.com/images/icons/emoji/unicode/1f362.png?v8", + "office": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e2.png?v8", + "office_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f4bc.png?v8", + "oil_drum": "https://github.githubassets.com/images/icons/emoji/unicode/1f6e2.png?v8", + "ok": "https://github.githubassets.com/images/icons/emoji/unicode/1f197.png?v8", + "ok_hand": "https://github.githubassets.com/images/icons/emoji/unicode/1f44c.png?v8", + "ok_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f646-2642.png?v8", + "ok_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f646.png?v8", + "ok_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f646-2640.png?v8", + "old_key": "https://github.githubassets.com/images/icons/emoji/unicode/1f5dd.png?v8", + "older_adult": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d3.png?v8", + "older_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f474.png?v8", + "older_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f475.png?v8", + "olive": "https://github.githubassets.com/images/icons/emoji/unicode/1fad2.png?v8", + "om": "https://github.githubassets.com/images/icons/emoji/unicode/1f549.png?v8", + "oman": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f4-1f1f2.png?v8", + "on": "https://github.githubassets.com/images/icons/emoji/unicode/1f51b.png?v8", + "oncoming_automobile": "https://github.githubassets.com/images/icons/emoji/unicode/1f698.png?v8", + "oncoming_bus": "https://github.githubassets.com/images/icons/emoji/unicode/1f68d.png?v8", + "oncoming_police_car": "https://github.githubassets.com/images/icons/emoji/unicode/1f694.png?v8", + "oncoming_taxi": "https://github.githubassets.com/images/icons/emoji/unicode/1f696.png?v8", + "one": "https://github.githubassets.com/images/icons/emoji/unicode/0031-20e3.png?v8", + "one_piece_swimsuit": "https://github.githubassets.com/images/icons/emoji/unicode/1fa71.png?v8", + "onion": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c5.png?v8", + "open_book": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d6.png?v8", + "open_file_folder": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c2.png?v8", + "open_hands": "https://github.githubassets.com/images/icons/emoji/unicode/1f450.png?v8", + "open_mouth": "https://github.githubassets.com/images/icons/emoji/unicode/1f62e.png?v8", + "open_umbrella": "https://github.githubassets.com/images/icons/emoji/unicode/2602.png?v8", + "ophiuchus": "https://github.githubassets.com/images/icons/emoji/unicode/26ce.png?v8", + "orange": "https://github.githubassets.com/images/icons/emoji/unicode/1f34a.png?v8", + "orange_book": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d9.png?v8", + "orange_circle": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e0.png?v8", + "orange_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e1.png?v8", + "orange_square": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e7.png?v8", + "orangutan": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a7.png?v8", + "orthodox_cross": "https://github.githubassets.com/images/icons/emoji/unicode/2626.png?v8", + "otter": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a6.png?v8", + "outbox_tray": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e4.png?v8", + "owl": "https://github.githubassets.com/images/icons/emoji/unicode/1f989.png?v8", + "ox": "https://github.githubassets.com/images/icons/emoji/unicode/1f402.png?v8", + "oyster": "https://github.githubassets.com/images/icons/emoji/unicode/1f9aa.png?v8", + "package": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e6.png?v8", + "page_facing_up": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c4.png?v8", + "page_with_curl": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c3.png?v8", + "pager": "https://github.githubassets.com/images/icons/emoji/unicode/1f4df.png?v8", + "paintbrush": "https://github.githubassets.com/images/icons/emoji/unicode/1f58c.png?v8", + "pakistan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1f0.png?v8", + "palau": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1fc.png?v8", + "palestinian_territories": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1f8.png?v8", + "palm_tree": "https://github.githubassets.com/images/icons/emoji/unicode/1f334.png?v8", + "palms_up_together": "https://github.githubassets.com/images/icons/emoji/unicode/1f932.png?v8", + "panama": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1e6.png?v8", + "pancakes": "https://github.githubassets.com/images/icons/emoji/unicode/1f95e.png?v8", + "panda_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f43c.png?v8", + "paperclip": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ce.png?v8", + "paperclips": "https://github.githubassets.com/images/icons/emoji/unicode/1f587.png?v8", + "papua_new_guinea": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1ec.png?v8", + "parachute": "https://github.githubassets.com/images/icons/emoji/unicode/1fa82.png?v8", + "paraguay": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1fe.png?v8", + "parasol_on_ground": "https://github.githubassets.com/images/icons/emoji/unicode/26f1.png?v8", + "parking": "https://github.githubassets.com/images/icons/emoji/unicode/1f17f.png?v8", + "parrot": "https://github.githubassets.com/images/icons/emoji/unicode/1f99c.png?v8", + "part_alternation_mark": "https://github.githubassets.com/images/icons/emoji/unicode/303d.png?v8", + "partly_sunny": "https://github.githubassets.com/images/icons/emoji/unicode/26c5.png?v8", + "partying_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f973.png?v8", + "passenger_ship": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f3.png?v8", + "passport_control": "https://github.githubassets.com/images/icons/emoji/unicode/1f6c2.png?v8", + "pause_button": "https://github.githubassets.com/images/icons/emoji/unicode/23f8.png?v8", + "paw_prints": "https://github.githubassets.com/images/icons/emoji/unicode/1f43e.png?v8", + "peace_symbol": "https://github.githubassets.com/images/icons/emoji/unicode/262e.png?v8", + "peach": "https://github.githubassets.com/images/icons/emoji/unicode/1f351.png?v8", + "peacock": "https://github.githubassets.com/images/icons/emoji/unicode/1f99a.png?v8", + "peanuts": "https://github.githubassets.com/images/icons/emoji/unicode/1f95c.png?v8", + "pear": "https://github.githubassets.com/images/icons/emoji/unicode/1f350.png?v8", + "pen": "https://github.githubassets.com/images/icons/emoji/unicode/1f58a.png?v8", + "pencil": "https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png?v8", + "pencil2": "https://github.githubassets.com/images/icons/emoji/unicode/270f.png?v8", + "penguin": "https://github.githubassets.com/images/icons/emoji/unicode/1f427.png?v8", + "pensive": "https://github.githubassets.com/images/icons/emoji/unicode/1f614.png?v8", + "people_holding_hands": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f91d-1f9d1.png?v8", + "people_hugging": "https://github.githubassets.com/images/icons/emoji/unicode/1fac2.png?v8", + "performing_arts": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ad.png?v8", + "persevere": "https://github.githubassets.com/images/icons/emoji/unicode/1f623.png?v8", + "person_bald": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f9b2.png?v8", + "person_curly_hair": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f9b1.png?v8", + "person_feeding_baby": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f37c.png?v8", + "person_fencing": "https://github.githubassets.com/images/icons/emoji/unicode/1f93a.png?v8", + "person_in_manual_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f9bd.png?v8", + "person_in_motorized_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f9bc.png?v8", + "person_in_tuxedo": "https://github.githubassets.com/images/icons/emoji/unicode/1f935.png?v8", + "person_red_hair": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f9b0.png?v8", + "person_white_hair": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f9b3.png?v8", + "person_with_probing_cane": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f9af.png?v8", + "person_with_turban": "https://github.githubassets.com/images/icons/emoji/unicode/1f473.png?v8", + "person_with_veil": "https://github.githubassets.com/images/icons/emoji/unicode/1f470.png?v8", + "peru": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1ea.png?v8", + "petri_dish": "https://github.githubassets.com/images/icons/emoji/unicode/1f9eb.png?v8", + "philippines": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1ed.png?v8", + "phone": "https://github.githubassets.com/images/icons/emoji/unicode/260e.png?v8", + "pick": "https://github.githubassets.com/images/icons/emoji/unicode/26cf.png?v8", + "pickup_truck": "https://github.githubassets.com/images/icons/emoji/unicode/1f6fb.png?v8", + "pie": "https://github.githubassets.com/images/icons/emoji/unicode/1f967.png?v8", + "pig": "https://github.githubassets.com/images/icons/emoji/unicode/1f437.png?v8", + "pig2": "https://github.githubassets.com/images/icons/emoji/unicode/1f416.png?v8", + "pig_nose": "https://github.githubassets.com/images/icons/emoji/unicode/1f43d.png?v8", + "pill": "https://github.githubassets.com/images/icons/emoji/unicode/1f48a.png?v8", + "pilot": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-2708.png?v8", + "pinata": "https://github.githubassets.com/images/icons/emoji/unicode/1fa85.png?v8", + "pinched_fingers": "https://github.githubassets.com/images/icons/emoji/unicode/1f90c.png?v8", + "pinching_hand": "https://github.githubassets.com/images/icons/emoji/unicode/1f90f.png?v8", + "pineapple": "https://github.githubassets.com/images/icons/emoji/unicode/1f34d.png?v8", + "ping_pong": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d3.png?v8", + "pirate_flag": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f4-2620.png?v8", + "pisces": "https://github.githubassets.com/images/icons/emoji/unicode/2653.png?v8", + "pitcairn_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1f3.png?v8", + "pizza": "https://github.githubassets.com/images/icons/emoji/unicode/1f355.png?v8", + "placard": "https://github.githubassets.com/images/icons/emoji/unicode/1faa7.png?v8", + "place_of_worship": "https://github.githubassets.com/images/icons/emoji/unicode/1f6d0.png?v8", + "plate_with_cutlery": "https://github.githubassets.com/images/icons/emoji/unicode/1f37d.png?v8", + "play_or_pause_button": "https://github.githubassets.com/images/icons/emoji/unicode/23ef.png?v8", + "pleading_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f97a.png?v8", + "plunger": "https://github.githubassets.com/images/icons/emoji/unicode/1faa0.png?v8", + "point_down": "https://github.githubassets.com/images/icons/emoji/unicode/1f447.png?v8", + "point_left": "https://github.githubassets.com/images/icons/emoji/unicode/1f448.png?v8", + "point_right": "https://github.githubassets.com/images/icons/emoji/unicode/1f449.png?v8", + "point_up": "https://github.githubassets.com/images/icons/emoji/unicode/261d.png?v8", + "point_up_2": "https://github.githubassets.com/images/icons/emoji/unicode/1f446.png?v8", + "poland": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1f1.png?v8", + "polar_bear": "https://github.githubassets.com/images/icons/emoji/unicode/1f43b-2744.png?v8", + "police_car": "https://github.githubassets.com/images/icons/emoji/unicode/1f693.png?v8", + "police_officer": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8", + "policeman": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e-2642.png?v8", + "policewoman": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e-2640.png?v8", + "poodle": "https://github.githubassets.com/images/icons/emoji/unicode/1f429.png?v8", + "poop": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a9.png?v8", + "popcorn": "https://github.githubassets.com/images/icons/emoji/unicode/1f37f.png?v8", + "portugal": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1f9.png?v8", + "post_office": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e3.png?v8", + "postal_horn": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ef.png?v8", + "postbox": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ee.png?v8", + "potable_water": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b0.png?v8", + "potato": "https://github.githubassets.com/images/icons/emoji/unicode/1f954.png?v8", + "potted_plant": "https://github.githubassets.com/images/icons/emoji/unicode/1fab4.png?v8", + "pouch": "https://github.githubassets.com/images/icons/emoji/unicode/1f45d.png?v8", + "poultry_leg": "https://github.githubassets.com/images/icons/emoji/unicode/1f357.png?v8", + "pound": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b7.png?v8", + "pout": "https://github.githubassets.com/images/icons/emoji/unicode/1f621.png?v8", + "pouting_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f63e.png?v8", + "pouting_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f64e.png?v8", + "pouting_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f64e-2642.png?v8", + "pouting_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f64e-2640.png?v8", + "pray": "https://github.githubassets.com/images/icons/emoji/unicode/1f64f.png?v8", + "prayer_beads": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ff.png?v8", + "pregnant_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f930.png?v8", + "pretzel": "https://github.githubassets.com/images/icons/emoji/unicode/1f968.png?v8", + "previous_track_button": "https://github.githubassets.com/images/icons/emoji/unicode/23ee.png?v8", + "prince": "https://github.githubassets.com/images/icons/emoji/unicode/1f934.png?v8", + "princess": "https://github.githubassets.com/images/icons/emoji/unicode/1f478.png?v8", + "printer": "https://github.githubassets.com/images/icons/emoji/unicode/1f5a8.png?v8", + "probing_cane": "https://github.githubassets.com/images/icons/emoji/unicode/1f9af.png?v8", + "puerto_rico": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1f7.png?v8", + "punch": "https://github.githubassets.com/images/icons/emoji/unicode/1f44a.png?v8", + "purple_circle": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e3.png?v8", + "purple_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f49c.png?v8", + "purple_square": "https://github.githubassets.com/images/icons/emoji/unicode/1f7ea.png?v8", + "purse": "https://github.githubassets.com/images/icons/emoji/unicode/1f45b.png?v8", + "pushpin": "https://github.githubassets.com/images/icons/emoji/unicode/1f4cc.png?v8", + "put_litter_in_its_place": "https://github.githubassets.com/images/icons/emoji/unicode/1f6ae.png?v8", + "qatar": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f6-1f1e6.png?v8", + "question": "https://github.githubassets.com/images/icons/emoji/unicode/2753.png?v8", + "rabbit": "https://github.githubassets.com/images/icons/emoji/unicode/1f430.png?v8", + "rabbit2": "https://github.githubassets.com/images/icons/emoji/unicode/1f407.png?v8", + "raccoon": "https://github.githubassets.com/images/icons/emoji/unicode/1f99d.png?v8", + "racehorse": "https://github.githubassets.com/images/icons/emoji/unicode/1f40e.png?v8", + "racing_car": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ce.png?v8", + "radio": "https://github.githubassets.com/images/icons/emoji/unicode/1f4fb.png?v8", + "radio_button": "https://github.githubassets.com/images/icons/emoji/unicode/1f518.png?v8", + "radioactive": "https://github.githubassets.com/images/icons/emoji/unicode/2622.png?v8", + "rage": "https://github.githubassets.com/images/icons/emoji/unicode/1f621.png?v8", + "rage1": "https://github.githubassets.com/images/icons/emoji/rage1.png?v8", + "rage2": "https://github.githubassets.com/images/icons/emoji/rage2.png?v8", + "rage3": "https://github.githubassets.com/images/icons/emoji/rage3.png?v8", + "rage4": "https://github.githubassets.com/images/icons/emoji/rage4.png?v8", + "railway_car": "https://github.githubassets.com/images/icons/emoji/unicode/1f683.png?v8", + "railway_track": "https://github.githubassets.com/images/icons/emoji/unicode/1f6e4.png?v8", + "rainbow": "https://github.githubassets.com/images/icons/emoji/unicode/1f308.png?v8", + "rainbow_flag": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f3-1f308.png?v8", + "raised_back_of_hand": "https://github.githubassets.com/images/icons/emoji/unicode/1f91a.png?v8", + "raised_eyebrow": "https://github.githubassets.com/images/icons/emoji/unicode/1f928.png?v8", + "raised_hand": "https://github.githubassets.com/images/icons/emoji/unicode/270b.png?v8", + "raised_hand_with_fingers_splayed": "https://github.githubassets.com/images/icons/emoji/unicode/1f590.png?v8", + "raised_hands": "https://github.githubassets.com/images/icons/emoji/unicode/1f64c.png?v8", + "raising_hand": "https://github.githubassets.com/images/icons/emoji/unicode/1f64b.png?v8", + "raising_hand_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f64b-2642.png?v8", + "raising_hand_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f64b-2640.png?v8", + "ram": "https://github.githubassets.com/images/icons/emoji/unicode/1f40f.png?v8", + "ramen": "https://github.githubassets.com/images/icons/emoji/unicode/1f35c.png?v8", + "rat": "https://github.githubassets.com/images/icons/emoji/unicode/1f400.png?v8", + "razor": "https://github.githubassets.com/images/icons/emoji/unicode/1fa92.png?v8", + "receipt": "https://github.githubassets.com/images/icons/emoji/unicode/1f9fe.png?v8", + "record_button": "https://github.githubassets.com/images/icons/emoji/unicode/23fa.png?v8", + "recycle": "https://github.githubassets.com/images/icons/emoji/unicode/267b.png?v8", + "red_car": "https://github.githubassets.com/images/icons/emoji/unicode/1f697.png?v8", + "red_circle": "https://github.githubassets.com/images/icons/emoji/unicode/1f534.png?v8", + "red_envelope": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e7.png?v8", + "red_haired_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f9b0.png?v8", + "red_haired_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f9b0.png?v8", + "red_square": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e5.png?v8", + "registered": "https://github.githubassets.com/images/icons/emoji/unicode/00ae.png?v8", + "relaxed": "https://github.githubassets.com/images/icons/emoji/unicode/263a.png?v8", + "relieved": "https://github.githubassets.com/images/icons/emoji/unicode/1f60c.png?v8", + "reminder_ribbon": "https://github.githubassets.com/images/icons/emoji/unicode/1f397.png?v8", + "repeat": "https://github.githubassets.com/images/icons/emoji/unicode/1f501.png?v8", + "repeat_one": "https://github.githubassets.com/images/icons/emoji/unicode/1f502.png?v8", + "rescue_worker_helmet": "https://github.githubassets.com/images/icons/emoji/unicode/26d1.png?v8", + "restroom": "https://github.githubassets.com/images/icons/emoji/unicode/1f6bb.png?v8", + "reunion": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f7-1f1ea.png?v8", + "revolving_hearts": "https://github.githubassets.com/images/icons/emoji/unicode/1f49e.png?v8", + "rewind": "https://github.githubassets.com/images/icons/emoji/unicode/23ea.png?v8", + "rhinoceros": "https://github.githubassets.com/images/icons/emoji/unicode/1f98f.png?v8", + "ribbon": "https://github.githubassets.com/images/icons/emoji/unicode/1f380.png?v8", + "rice": "https://github.githubassets.com/images/icons/emoji/unicode/1f35a.png?v8", + "rice_ball": "https://github.githubassets.com/images/icons/emoji/unicode/1f359.png?v8", + "rice_cracker": "https://github.githubassets.com/images/icons/emoji/unicode/1f358.png?v8", + "rice_scene": "https://github.githubassets.com/images/icons/emoji/unicode/1f391.png?v8", + "right_anger_bubble": "https://github.githubassets.com/images/icons/emoji/unicode/1f5ef.png?v8", + "ring": "https://github.githubassets.com/images/icons/emoji/unicode/1f48d.png?v8", + "ringed_planet": "https://github.githubassets.com/images/icons/emoji/unicode/1fa90.png?v8", + "robot": "https://github.githubassets.com/images/icons/emoji/unicode/1f916.png?v8", + "rock": "https://github.githubassets.com/images/icons/emoji/unicode/1faa8.png?v8", + "rocket": "https://github.githubassets.com/images/icons/emoji/unicode/1f680.png?v8", + "rofl": "https://github.githubassets.com/images/icons/emoji/unicode/1f923.png?v8", + "roll_eyes": "https://github.githubassets.com/images/icons/emoji/unicode/1f644.png?v8", + "roll_of_paper": "https://github.githubassets.com/images/icons/emoji/unicode/1f9fb.png?v8", + "roller_coaster": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a2.png?v8", + "roller_skate": "https://github.githubassets.com/images/icons/emoji/unicode/1f6fc.png?v8", + "romania": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f7-1f1f4.png?v8", + "rooster": "https://github.githubassets.com/images/icons/emoji/unicode/1f413.png?v8", + "rose": "https://github.githubassets.com/images/icons/emoji/unicode/1f339.png?v8", + "rosette": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f5.png?v8", + "rotating_light": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a8.png?v8", + "round_pushpin": "https://github.githubassets.com/images/icons/emoji/unicode/1f4cd.png?v8", + "rowboat": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a3.png?v8", + "rowing_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a3-2642.png?v8", + "rowing_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a3-2640.png?v8", + "ru": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f7-1f1fa.png?v8", + "rugby_football": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c9.png?v8", + "runner": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c3.png?v8", + "running": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c3.png?v8", + "running_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c3-2642.png?v8", + "running_shirt_with_sash": "https://github.githubassets.com/images/icons/emoji/unicode/1f3bd.png?v8", + "running_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c3-2640.png?v8", + "rwanda": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f7-1f1fc.png?v8", + "sa": "https://github.githubassets.com/images/icons/emoji/unicode/1f202.png?v8", + "safety_pin": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f7.png?v8", + "safety_vest": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ba.png?v8", + "sagittarius": "https://github.githubassets.com/images/icons/emoji/unicode/2650.png?v8", + "sailboat": "https://github.githubassets.com/images/icons/emoji/unicode/26f5.png?v8", + "sake": "https://github.githubassets.com/images/icons/emoji/unicode/1f376.png?v8", + "salt": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c2.png?v8", + "samoa": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fc-1f1f8.png?v8", + "san_marino": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f2.png?v8", + "sandal": "https://github.githubassets.com/images/icons/emoji/unicode/1f461.png?v8", + "sandwich": "https://github.githubassets.com/images/icons/emoji/unicode/1f96a.png?v8", + "santa": "https://github.githubassets.com/images/icons/emoji/unicode/1f385.png?v8", + "sao_tome_principe": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f9.png?v8", + "sari": "https://github.githubassets.com/images/icons/emoji/unicode/1f97b.png?v8", + "sassy_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f481-2642.png?v8", + "sassy_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f481-2640.png?v8", + "satellite": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e1.png?v8", + "satisfied": "https://github.githubassets.com/images/icons/emoji/unicode/1f606.png?v8", + "saudi_arabia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1e6.png?v8", + "sauna_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d6-2642.png?v8", + "sauna_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d6.png?v8", + "sauna_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d6-2640.png?v8", + "sauropod": "https://github.githubassets.com/images/icons/emoji/unicode/1f995.png?v8", + "saxophone": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b7.png?v8", + "scarf": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e3.png?v8", + "school": "https://github.githubassets.com/images/icons/emoji/unicode/1f3eb.png?v8", + "school_satchel": "https://github.githubassets.com/images/icons/emoji/unicode/1f392.png?v8", + "scientist": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f52c.png?v8", + "scissors": "https://github.githubassets.com/images/icons/emoji/unicode/2702.png?v8", + "scorpion": "https://github.githubassets.com/images/icons/emoji/unicode/1f982.png?v8", + "scorpius": "https://github.githubassets.com/images/icons/emoji/unicode/264f.png?v8", + "scotland": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f4-e0067-e0062-e0073-e0063-e0074-e007f.png?v8", + "scream": "https://github.githubassets.com/images/icons/emoji/unicode/1f631.png?v8", + "scream_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f640.png?v8", + "screwdriver": "https://github.githubassets.com/images/icons/emoji/unicode/1fa9b.png?v8", + "scroll": "https://github.githubassets.com/images/icons/emoji/unicode/1f4dc.png?v8", + "seal": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ad.png?v8", + "seat": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ba.png?v8", + "secret": "https://github.githubassets.com/images/icons/emoji/unicode/3299.png?v8", + "see_no_evil": "https://github.githubassets.com/images/icons/emoji/unicode/1f648.png?v8", + "seedling": "https://github.githubassets.com/images/icons/emoji/unicode/1f331.png?v8", + "selfie": "https://github.githubassets.com/images/icons/emoji/unicode/1f933.png?v8", + "senegal": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f3.png?v8", + "serbia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f7-1f1f8.png?v8", + "service_dog": "https://github.githubassets.com/images/icons/emoji/unicode/1f415-1f9ba.png?v8", + "seven": "https://github.githubassets.com/images/icons/emoji/unicode/0037-20e3.png?v8", + "sewing_needle": "https://github.githubassets.com/images/icons/emoji/unicode/1faa1.png?v8", + "seychelles": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1e8.png?v8", + "shallow_pan_of_food": "https://github.githubassets.com/images/icons/emoji/unicode/1f958.png?v8", + "shamrock": "https://github.githubassets.com/images/icons/emoji/unicode/2618.png?v8", + "shark": "https://github.githubassets.com/images/icons/emoji/unicode/1f988.png?v8", + "shaved_ice": "https://github.githubassets.com/images/icons/emoji/unicode/1f367.png?v8", + "sheep": "https://github.githubassets.com/images/icons/emoji/unicode/1f411.png?v8", + "shell": "https://github.githubassets.com/images/icons/emoji/unicode/1f41a.png?v8", + "shield": "https://github.githubassets.com/images/icons/emoji/unicode/1f6e1.png?v8", + "shinto_shrine": "https://github.githubassets.com/images/icons/emoji/unicode/26e9.png?v8", + "ship": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a2.png?v8", + "shipit": "https://github.githubassets.com/images/icons/emoji/shipit.png?v8", + "shirt": "https://github.githubassets.com/images/icons/emoji/unicode/1f455.png?v8", + "shoe": "https://github.githubassets.com/images/icons/emoji/unicode/1f45e.png?v8", + "shopping": "https://github.githubassets.com/images/icons/emoji/unicode/1f6cd.png?v8", + "shopping_cart": "https://github.githubassets.com/images/icons/emoji/unicode/1f6d2.png?v8", + "shorts": "https://github.githubassets.com/images/icons/emoji/unicode/1fa73.png?v8", + "shower": "https://github.githubassets.com/images/icons/emoji/unicode/1f6bf.png?v8", + "shrimp": "https://github.githubassets.com/images/icons/emoji/unicode/1f990.png?v8", + "shrug": "https://github.githubassets.com/images/icons/emoji/unicode/1f937.png?v8", + "shushing_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f92b.png?v8", + "sierra_leone": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f1.png?v8", + "signal_strength": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f6.png?v8", + "singapore": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1ec.png?v8", + "singer": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f3a4.png?v8", + "sint_maarten": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1fd.png?v8", + "six": "https://github.githubassets.com/images/icons/emoji/unicode/0036-20e3.png?v8", + "six_pointed_star": "https://github.githubassets.com/images/icons/emoji/unicode/1f52f.png?v8", + "skateboard": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f9.png?v8", + "ski": "https://github.githubassets.com/images/icons/emoji/unicode/1f3bf.png?v8", + "skier": "https://github.githubassets.com/images/icons/emoji/unicode/26f7.png?v8", + "skull": "https://github.githubassets.com/images/icons/emoji/unicode/1f480.png?v8", + "skull_and_crossbones": "https://github.githubassets.com/images/icons/emoji/unicode/2620.png?v8", + "skunk": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a8.png?v8", + "sled": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f7.png?v8", + "sleeping": "https://github.githubassets.com/images/icons/emoji/unicode/1f634.png?v8", + "sleeping_bed": "https://github.githubassets.com/images/icons/emoji/unicode/1f6cc.png?v8", + "sleepy": "https://github.githubassets.com/images/icons/emoji/unicode/1f62a.png?v8", + "slightly_frowning_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f641.png?v8", + "slightly_smiling_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f642.png?v8", + "slot_machine": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b0.png?v8", + "sloth": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a5.png?v8", + "slovakia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f0.png?v8", + "slovenia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1ee.png?v8", + "small_airplane": "https://github.githubassets.com/images/icons/emoji/unicode/1f6e9.png?v8", + "small_blue_diamond": "https://github.githubassets.com/images/icons/emoji/unicode/1f539.png?v8", + "small_orange_diamond": "https://github.githubassets.com/images/icons/emoji/unicode/1f538.png?v8", + "small_red_triangle": "https://github.githubassets.com/images/icons/emoji/unicode/1f53a.png?v8", + "small_red_triangle_down": "https://github.githubassets.com/images/icons/emoji/unicode/1f53b.png?v8", + "smile": "https://github.githubassets.com/images/icons/emoji/unicode/1f604.png?v8", + "smile_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f638.png?v8", + "smiley": "https://github.githubassets.com/images/icons/emoji/unicode/1f603.png?v8", + "smiley_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f63a.png?v8", + "smiling_face_with_tear": "https://github.githubassets.com/images/icons/emoji/unicode/1f972.png?v8", + "smiling_face_with_three_hearts": "https://github.githubassets.com/images/icons/emoji/unicode/1f970.png?v8", + "smiling_imp": "https://github.githubassets.com/images/icons/emoji/unicode/1f608.png?v8", + "smirk": "https://github.githubassets.com/images/icons/emoji/unicode/1f60f.png?v8", + "smirk_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f63c.png?v8", + "smoking": "https://github.githubassets.com/images/icons/emoji/unicode/1f6ac.png?v8", + "snail": "https://github.githubassets.com/images/icons/emoji/unicode/1f40c.png?v8", + "snake": "https://github.githubassets.com/images/icons/emoji/unicode/1f40d.png?v8", + "sneezing_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f927.png?v8", + "snowboarder": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c2.png?v8", + "snowflake": "https://github.githubassets.com/images/icons/emoji/unicode/2744.png?v8", + "snowman": "https://github.githubassets.com/images/icons/emoji/unicode/26c4.png?v8", + "snowman_with_snow": "https://github.githubassets.com/images/icons/emoji/unicode/2603.png?v8", + "soap": "https://github.githubassets.com/images/icons/emoji/unicode/1f9fc.png?v8", + "sob": "https://github.githubassets.com/images/icons/emoji/unicode/1f62d.png?v8", + "soccer": "https://github.githubassets.com/images/icons/emoji/unicode/26bd.png?v8", + "socks": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e6.png?v8", + "softball": "https://github.githubassets.com/images/icons/emoji/unicode/1f94e.png?v8", + "solomon_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1e7.png?v8", + "somalia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f4.png?v8", + "soon": "https://github.githubassets.com/images/icons/emoji/unicode/1f51c.png?v8", + "sos": "https://github.githubassets.com/images/icons/emoji/unicode/1f198.png?v8", + "sound": "https://github.githubassets.com/images/icons/emoji/unicode/1f509.png?v8", + "south_africa": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ff-1f1e6.png?v8", + "south_georgia_south_sandwich_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f8.png?v8", + "south_sudan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f8.png?v8", + "space_invader": "https://github.githubassets.com/images/icons/emoji/unicode/1f47e.png?v8", + "spades": "https://github.githubassets.com/images/icons/emoji/unicode/2660.png?v8", + "spaghetti": "https://github.githubassets.com/images/icons/emoji/unicode/1f35d.png?v8", + "sparkle": "https://github.githubassets.com/images/icons/emoji/unicode/2747.png?v8", + "sparkler": "https://github.githubassets.com/images/icons/emoji/unicode/1f387.png?v8", + "sparkles": "https://github.githubassets.com/images/icons/emoji/unicode/2728.png?v8", + "sparkling_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f496.png?v8", + "speak_no_evil": "https://github.githubassets.com/images/icons/emoji/unicode/1f64a.png?v8", + "speaker": "https://github.githubassets.com/images/icons/emoji/unicode/1f508.png?v8", + "speaking_head": "https://github.githubassets.com/images/icons/emoji/unicode/1f5e3.png?v8", + "speech_balloon": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ac.png?v8", + "speedboat": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a4.png?v8", + "spider": "https://github.githubassets.com/images/icons/emoji/unicode/1f577.png?v8", + "spider_web": "https://github.githubassets.com/images/icons/emoji/unicode/1f578.png?v8", + "spiral_calendar": "https://github.githubassets.com/images/icons/emoji/unicode/1f5d3.png?v8", + "spiral_notepad": "https://github.githubassets.com/images/icons/emoji/unicode/1f5d2.png?v8", + "sponge": "https://github.githubassets.com/images/icons/emoji/unicode/1f9fd.png?v8", + "spoon": "https://github.githubassets.com/images/icons/emoji/unicode/1f944.png?v8", + "squid": "https://github.githubassets.com/images/icons/emoji/unicode/1f991.png?v8", + "sri_lanka": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1f0.png?v8", + "st_barthelemy": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f1.png?v8", + "st_helena": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1ed.png?v8", + "st_kitts_nevis": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1f3.png?v8", + "st_lucia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1e8.png?v8", + "st_martin": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1eb.png?v8", + "st_pierre_miquelon": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1f2.png?v8", + "st_vincent_grenadines": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fb-1f1e8.png?v8", + "stadium": "https://github.githubassets.com/images/icons/emoji/unicode/1f3df.png?v8", + "standing_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9cd-2642.png?v8", + "standing_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f9cd.png?v8", + "standing_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9cd-2640.png?v8", + "star": "https://github.githubassets.com/images/icons/emoji/unicode/2b50.png?v8", + "star2": "https://github.githubassets.com/images/icons/emoji/unicode/1f31f.png?v8", + "star_and_crescent": "https://github.githubassets.com/images/icons/emoji/unicode/262a.png?v8", + "star_of_david": "https://github.githubassets.com/images/icons/emoji/unicode/2721.png?v8", + "star_struck": "https://github.githubassets.com/images/icons/emoji/unicode/1f929.png?v8", + "stars": "https://github.githubassets.com/images/icons/emoji/unicode/1f320.png?v8", + "station": "https://github.githubassets.com/images/icons/emoji/unicode/1f689.png?v8", + "statue_of_liberty": "https://github.githubassets.com/images/icons/emoji/unicode/1f5fd.png?v8", + "steam_locomotive": "https://github.githubassets.com/images/icons/emoji/unicode/1f682.png?v8", + "stethoscope": "https://github.githubassets.com/images/icons/emoji/unicode/1fa7a.png?v8", + "stew": "https://github.githubassets.com/images/icons/emoji/unicode/1f372.png?v8", + "stop_button": "https://github.githubassets.com/images/icons/emoji/unicode/23f9.png?v8", + "stop_sign": "https://github.githubassets.com/images/icons/emoji/unicode/1f6d1.png?v8", + "stopwatch": "https://github.githubassets.com/images/icons/emoji/unicode/23f1.png?v8", + "straight_ruler": "https://github.githubassets.com/images/icons/emoji/unicode/1f4cf.png?v8", + "strawberry": "https://github.githubassets.com/images/icons/emoji/unicode/1f353.png?v8", + "stuck_out_tongue": "https://github.githubassets.com/images/icons/emoji/unicode/1f61b.png?v8", + "stuck_out_tongue_closed_eyes": "https://github.githubassets.com/images/icons/emoji/unicode/1f61d.png?v8", + "stuck_out_tongue_winking_eye": "https://github.githubassets.com/images/icons/emoji/unicode/1f61c.png?v8", + "student": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f393.png?v8", + "studio_microphone": "https://github.githubassets.com/images/icons/emoji/unicode/1f399.png?v8", + "stuffed_flatbread": "https://github.githubassets.com/images/icons/emoji/unicode/1f959.png?v8", + "sudan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1e9.png?v8", + "sun_behind_large_cloud": "https://github.githubassets.com/images/icons/emoji/unicode/1f325.png?v8", + "sun_behind_rain_cloud": "https://github.githubassets.com/images/icons/emoji/unicode/1f326.png?v8", + "sun_behind_small_cloud": "https://github.githubassets.com/images/icons/emoji/unicode/1f324.png?v8", + "sun_with_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f31e.png?v8", + "sunflower": "https://github.githubassets.com/images/icons/emoji/unicode/1f33b.png?v8", + "sunglasses": "https://github.githubassets.com/images/icons/emoji/unicode/1f60e.png?v8", + "sunny": "https://github.githubassets.com/images/icons/emoji/unicode/2600.png?v8", + "sunrise": "https://github.githubassets.com/images/icons/emoji/unicode/1f305.png?v8", + "sunrise_over_mountains": "https://github.githubassets.com/images/icons/emoji/unicode/1f304.png?v8", + "superhero": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b8.png?v8", + "superhero_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b8-2642.png?v8", + "superhero_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b8-2640.png?v8", + "supervillain": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b9.png?v8", + "supervillain_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b9-2642.png?v8", + "supervillain_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b9-2640.png?v8", + "surfer": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c4.png?v8", + "surfing_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c4-2642.png?v8", + "surfing_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c4-2640.png?v8", + "suriname": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f7.png?v8", + "sushi": "https://github.githubassets.com/images/icons/emoji/unicode/1f363.png?v8", + "suspect": "https://github.githubassets.com/images/icons/emoji/suspect.png?v8", + "suspension_railway": "https://github.githubassets.com/images/icons/emoji/unicode/1f69f.png?v8", + "svalbard_jan_mayen": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1ef.png?v8", + "swan": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a2.png?v8", + "swaziland": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1ff.png?v8", + "sweat": "https://github.githubassets.com/images/icons/emoji/unicode/1f613.png?v8", + "sweat_drops": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a6.png?v8", + "sweat_smile": "https://github.githubassets.com/images/icons/emoji/unicode/1f605.png?v8", + "sweden": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1ea.png?v8", + "sweet_potato": "https://github.githubassets.com/images/icons/emoji/unicode/1f360.png?v8", + "swim_brief": "https://github.githubassets.com/images/icons/emoji/unicode/1fa72.png?v8", + "swimmer": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ca.png?v8", + "swimming_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ca-2642.png?v8", + "swimming_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ca-2640.png?v8", + "switzerland": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1ed.png?v8", + "symbols": "https://github.githubassets.com/images/icons/emoji/unicode/1f523.png?v8", + "synagogue": "https://github.githubassets.com/images/icons/emoji/unicode/1f54d.png?v8", + "syria": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1fe.png?v8", + "syringe": "https://github.githubassets.com/images/icons/emoji/unicode/1f489.png?v8", + "t-rex": "https://github.githubassets.com/images/icons/emoji/unicode/1f996.png?v8", + "taco": "https://github.githubassets.com/images/icons/emoji/unicode/1f32e.png?v8", + "tada": "https://github.githubassets.com/images/icons/emoji/unicode/1f389.png?v8", + "taiwan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1fc.png?v8", + "tajikistan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1ef.png?v8", + "takeout_box": "https://github.githubassets.com/images/icons/emoji/unicode/1f961.png?v8", + "tamale": "https://github.githubassets.com/images/icons/emoji/unicode/1fad4.png?v8", + "tanabata_tree": "https://github.githubassets.com/images/icons/emoji/unicode/1f38b.png?v8", + "tangerine": "https://github.githubassets.com/images/icons/emoji/unicode/1f34a.png?v8", + "tanzania": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1ff.png?v8", + "taurus": "https://github.githubassets.com/images/icons/emoji/unicode/2649.png?v8", + "taxi": "https://github.githubassets.com/images/icons/emoji/unicode/1f695.png?v8", + "tea": "https://github.githubassets.com/images/icons/emoji/unicode/1f375.png?v8", + "teacher": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f3eb.png?v8", + "teapot": "https://github.githubassets.com/images/icons/emoji/unicode/1fad6.png?v8", + "technologist": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f4bb.png?v8", + "teddy_bear": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f8.png?v8", + "telephone": "https://github.githubassets.com/images/icons/emoji/unicode/260e.png?v8", + "telephone_receiver": "https://github.githubassets.com/images/icons/emoji/unicode/1f4de.png?v8", + "telescope": "https://github.githubassets.com/images/icons/emoji/unicode/1f52d.png?v8", + "tennis": "https://github.githubassets.com/images/icons/emoji/unicode/1f3be.png?v8", + "tent": "https://github.githubassets.com/images/icons/emoji/unicode/26fa.png?v8", + "test_tube": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ea.png?v8", + "thailand": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1ed.png?v8", + "thermometer": "https://github.githubassets.com/images/icons/emoji/unicode/1f321.png?v8", + "thinking": "https://github.githubassets.com/images/icons/emoji/unicode/1f914.png?v8", + "thong_sandal": "https://github.githubassets.com/images/icons/emoji/unicode/1fa74.png?v8", + "thought_balloon": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ad.png?v8", + "thread": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f5.png?v8", + "three": "https://github.githubassets.com/images/icons/emoji/unicode/0033-20e3.png?v8", + "thumbsdown": "https://github.githubassets.com/images/icons/emoji/unicode/1f44e.png?v8", + "thumbsup": "https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png?v8", + "ticket": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ab.png?v8", + "tickets": "https://github.githubassets.com/images/icons/emoji/unicode/1f39f.png?v8", + "tiger": "https://github.githubassets.com/images/icons/emoji/unicode/1f42f.png?v8", + "tiger2": "https://github.githubassets.com/images/icons/emoji/unicode/1f405.png?v8", + "timer_clock": "https://github.githubassets.com/images/icons/emoji/unicode/23f2.png?v8", + "timor_leste": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1f1.png?v8", + "tipping_hand_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f481-2642.png?v8", + "tipping_hand_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f481.png?v8", + "tipping_hand_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f481-2640.png?v8", + "tired_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f62b.png?v8", + "tm": "https://github.githubassets.com/images/icons/emoji/unicode/2122.png?v8", + "togo": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1ec.png?v8", + "toilet": "https://github.githubassets.com/images/icons/emoji/unicode/1f6bd.png?v8", + "tokelau": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1f0.png?v8", + "tokyo_tower": "https://github.githubassets.com/images/icons/emoji/unicode/1f5fc.png?v8", + "tomato": "https://github.githubassets.com/images/icons/emoji/unicode/1f345.png?v8", + "tonga": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1f4.png?v8", + "tongue": "https://github.githubassets.com/images/icons/emoji/unicode/1f445.png?v8", + "toolbox": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f0.png?v8", + "tooth": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b7.png?v8", + "toothbrush": "https://github.githubassets.com/images/icons/emoji/unicode/1faa5.png?v8", + "top": "https://github.githubassets.com/images/icons/emoji/unicode/1f51d.png?v8", + "tophat": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a9.png?v8", + "tornado": "https://github.githubassets.com/images/icons/emoji/unicode/1f32a.png?v8", + "tr": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1f7.png?v8", + "trackball": "https://github.githubassets.com/images/icons/emoji/unicode/1f5b2.png?v8", + "tractor": "https://github.githubassets.com/images/icons/emoji/unicode/1f69c.png?v8", + "traffic_light": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a5.png?v8", + "train": "https://github.githubassets.com/images/icons/emoji/unicode/1f68b.png?v8", + "train2": "https://github.githubassets.com/images/icons/emoji/unicode/1f686.png?v8", + "tram": "https://github.githubassets.com/images/icons/emoji/unicode/1f68a.png?v8", + "transgender_flag": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f3-26a7.png?v8", + "transgender_symbol": "https://github.githubassets.com/images/icons/emoji/unicode/26a7.png?v8", + "triangular_flag_on_post": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a9.png?v8", + "triangular_ruler": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d0.png?v8", + "trident": "https://github.githubassets.com/images/icons/emoji/unicode/1f531.png?v8", + "trinidad_tobago": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1f9.png?v8", + "tristan_da_cunha": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1e6.png?v8", + "triumph": "https://github.githubassets.com/images/icons/emoji/unicode/1f624.png?v8", + "trolleybus": "https://github.githubassets.com/images/icons/emoji/unicode/1f68e.png?v8", + "trollface": "https://github.githubassets.com/images/icons/emoji/trollface.png?v8", + "trophy": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c6.png?v8", + "tropical_drink": "https://github.githubassets.com/images/icons/emoji/unicode/1f379.png?v8", + "tropical_fish": "https://github.githubassets.com/images/icons/emoji/unicode/1f420.png?v8", + "truck": "https://github.githubassets.com/images/icons/emoji/unicode/1f69a.png?v8", + "trumpet": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ba.png?v8", + "tshirt": "https://github.githubassets.com/images/icons/emoji/unicode/1f455.png?v8", + "tulip": "https://github.githubassets.com/images/icons/emoji/unicode/1f337.png?v8", + "tumbler_glass": "https://github.githubassets.com/images/icons/emoji/unicode/1f943.png?v8", + "tunisia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1f3.png?v8", + "turkey": "https://github.githubassets.com/images/icons/emoji/unicode/1f983.png?v8", + "turkmenistan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1f2.png?v8", + "turks_caicos_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1e8.png?v8", + "turtle": "https://github.githubassets.com/images/icons/emoji/unicode/1f422.png?v8", + "tuvalu": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1fb.png?v8", + "tv": "https://github.githubassets.com/images/icons/emoji/unicode/1f4fa.png?v8", + "twisted_rightwards_arrows": "https://github.githubassets.com/images/icons/emoji/unicode/1f500.png?v8", + "two": "https://github.githubassets.com/images/icons/emoji/unicode/0032-20e3.png?v8", + "two_hearts": "https://github.githubassets.com/images/icons/emoji/unicode/1f495.png?v8", + "two_men_holding_hands": "https://github.githubassets.com/images/icons/emoji/unicode/1f46c.png?v8", + "two_women_holding_hands": "https://github.githubassets.com/images/icons/emoji/unicode/1f46d.png?v8", + "u5272": "https://github.githubassets.com/images/icons/emoji/unicode/1f239.png?v8", + "u5408": "https://github.githubassets.com/images/icons/emoji/unicode/1f234.png?v8", + "u55b6": "https://github.githubassets.com/images/icons/emoji/unicode/1f23a.png?v8", + "u6307": "https://github.githubassets.com/images/icons/emoji/unicode/1f22f.png?v8", + "u6708": "https://github.githubassets.com/images/icons/emoji/unicode/1f237.png?v8", + "u6709": "https://github.githubassets.com/images/icons/emoji/unicode/1f236.png?v8", + "u6e80": "https://github.githubassets.com/images/icons/emoji/unicode/1f235.png?v8", + "u7121": "https://github.githubassets.com/images/icons/emoji/unicode/1f21a.png?v8", + "u7533": "https://github.githubassets.com/images/icons/emoji/unicode/1f238.png?v8", + "u7981": "https://github.githubassets.com/images/icons/emoji/unicode/1f232.png?v8", + "u7a7a": "https://github.githubassets.com/images/icons/emoji/unicode/1f233.png?v8", + "uganda": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1ec.png?v8", + "uk": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1e7.png?v8", + "ukraine": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1e6.png?v8", + "umbrella": "https://github.githubassets.com/images/icons/emoji/unicode/2614.png?v8", + "unamused": "https://github.githubassets.com/images/icons/emoji/unicode/1f612.png?v8", + "underage": "https://github.githubassets.com/images/icons/emoji/unicode/1f51e.png?v8", + "unicorn": "https://github.githubassets.com/images/icons/emoji/unicode/1f984.png?v8", + "united_arab_emirates": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1ea.png?v8", + "united_nations": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1f3.png?v8", + "unlock": "https://github.githubassets.com/images/icons/emoji/unicode/1f513.png?v8", + "up": "https://github.githubassets.com/images/icons/emoji/unicode/1f199.png?v8", + "upside_down_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f643.png?v8", + "uruguay": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1fe.png?v8", + "us": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1f8.png?v8", + "us_outlying_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1f2.png?v8", + "us_virgin_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fb-1f1ee.png?v8", + "uzbekistan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1ff.png?v8", + "v": "https://github.githubassets.com/images/icons/emoji/unicode/270c.png?v8", + "vampire": "https://github.githubassets.com/images/icons/emoji/unicode/1f9db.png?v8", + "vampire_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9db-2642.png?v8", + "vampire_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9db-2640.png?v8", + "vanuatu": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fb-1f1fa.png?v8", + "vatican_city": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fb-1f1e6.png?v8", + "venezuela": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fb-1f1ea.png?v8", + "vertical_traffic_light": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a6.png?v8", + "vhs": "https://github.githubassets.com/images/icons/emoji/unicode/1f4fc.png?v8", + "vibration_mode": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f3.png?v8", + "video_camera": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f9.png?v8", + "video_game": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ae.png?v8", + "vietnam": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fb-1f1f3.png?v8", + "violin": "https://github.githubassets.com/images/icons/emoji/unicode/1f3bb.png?v8", + "virgo": "https://github.githubassets.com/images/icons/emoji/unicode/264d.png?v8", + "volcano": "https://github.githubassets.com/images/icons/emoji/unicode/1f30b.png?v8", + "volleyball": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d0.png?v8", + "vomiting_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f92e.png?v8", + "vs": "https://github.githubassets.com/images/icons/emoji/unicode/1f19a.png?v8", + "vulcan_salute": "https://github.githubassets.com/images/icons/emoji/unicode/1f596.png?v8", + "waffle": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c7.png?v8", + "wales": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f4-e0067-e0062-e0077-e006c-e0073-e007f.png?v8", + "walking": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b6.png?v8", + "walking_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b6-2642.png?v8", + "walking_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b6-2640.png?v8", + "wallis_futuna": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fc-1f1eb.png?v8", + "waning_crescent_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f318.png?v8", + "waning_gibbous_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f316.png?v8", + "warning": "https://github.githubassets.com/images/icons/emoji/unicode/26a0.png?v8", + "wastebasket": "https://github.githubassets.com/images/icons/emoji/unicode/1f5d1.png?v8", + "watch": "https://github.githubassets.com/images/icons/emoji/unicode/231a.png?v8", + "water_buffalo": "https://github.githubassets.com/images/icons/emoji/unicode/1f403.png?v8", + "water_polo": "https://github.githubassets.com/images/icons/emoji/unicode/1f93d.png?v8", + "watermelon": "https://github.githubassets.com/images/icons/emoji/unicode/1f349.png?v8", + "wave": "https://github.githubassets.com/images/icons/emoji/unicode/1f44b.png?v8", + "wavy_dash": "https://github.githubassets.com/images/icons/emoji/unicode/3030.png?v8", + "waxing_crescent_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f312.png?v8", + "waxing_gibbous_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f314.png?v8", + "wc": "https://github.githubassets.com/images/icons/emoji/unicode/1f6be.png?v8", + "weary": "https://github.githubassets.com/images/icons/emoji/unicode/1f629.png?v8", + "wedding": "https://github.githubassets.com/images/icons/emoji/unicode/1f492.png?v8", + "weight_lifting": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cb.png?v8", + "weight_lifting_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cb-2642.png?v8", + "weight_lifting_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cb-2640.png?v8", + "western_sahara": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1ed.png?v8", + "whale": "https://github.githubassets.com/images/icons/emoji/unicode/1f433.png?v8", + "whale2": "https://github.githubassets.com/images/icons/emoji/unicode/1f40b.png?v8", + "wheel_of_dharma": "https://github.githubassets.com/images/icons/emoji/unicode/2638.png?v8", + "wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/267f.png?v8", + "white_check_mark": "https://github.githubassets.com/images/icons/emoji/unicode/2705.png?v8", + "white_circle": "https://github.githubassets.com/images/icons/emoji/unicode/26aa.png?v8", + "white_flag": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f3.png?v8", + "white_flower": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ae.png?v8", + "white_haired_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f9b3.png?v8", + "white_haired_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f9b3.png?v8", + "white_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f90d.png?v8", + "white_large_square": "https://github.githubassets.com/images/icons/emoji/unicode/2b1c.png?v8", + "white_medium_small_square": "https://github.githubassets.com/images/icons/emoji/unicode/25fd.png?v8", + "white_medium_square": "https://github.githubassets.com/images/icons/emoji/unicode/25fb.png?v8", + "white_small_square": "https://github.githubassets.com/images/icons/emoji/unicode/25ab.png?v8", + "white_square_button": "https://github.githubassets.com/images/icons/emoji/unicode/1f533.png?v8", + "wilted_flower": "https://github.githubassets.com/images/icons/emoji/unicode/1f940.png?v8", + "wind_chime": "https://github.githubassets.com/images/icons/emoji/unicode/1f390.png?v8", + "wind_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f32c.png?v8", + "window": "https://github.githubassets.com/images/icons/emoji/unicode/1fa9f.png?v8", + "wine_glass": "https://github.githubassets.com/images/icons/emoji/unicode/1f377.png?v8", + "wink": "https://github.githubassets.com/images/icons/emoji/unicode/1f609.png?v8", + "wolf": "https://github.githubassets.com/images/icons/emoji/unicode/1f43a.png?v8", + "woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469.png?v8", + "woman_artist": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f3a8.png?v8", + "woman_astronaut": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f680.png?v8", + "woman_beard": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d4-2640.png?v8", + "woman_cartwheeling": "https://github.githubassets.com/images/icons/emoji/unicode/1f938-2640.png?v8", + "woman_cook": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f373.png?v8", + "woman_dancing": "https://github.githubassets.com/images/icons/emoji/unicode/1f483.png?v8", + "woman_facepalming": "https://github.githubassets.com/images/icons/emoji/unicode/1f926-2640.png?v8", + "woman_factory_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f3ed.png?v8", + "woman_farmer": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f33e.png?v8", + "woman_feeding_baby": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f37c.png?v8", + "woman_firefighter": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f692.png?v8", + "woman_health_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-2695.png?v8", + "woman_in_manual_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f9bd.png?v8", + "woman_in_motorized_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f9bc.png?v8", + "woman_in_tuxedo": "https://github.githubassets.com/images/icons/emoji/unicode/1f935-2640.png?v8", + "woman_judge": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-2696.png?v8", + "woman_juggling": "https://github.githubassets.com/images/icons/emoji/unicode/1f939-2640.png?v8", + "woman_mechanic": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f527.png?v8", + "woman_office_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f4bc.png?v8", + "woman_pilot": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-2708.png?v8", + "woman_playing_handball": "https://github.githubassets.com/images/icons/emoji/unicode/1f93e-2640.png?v8", + "woman_playing_water_polo": "https://github.githubassets.com/images/icons/emoji/unicode/1f93d-2640.png?v8", + "woman_scientist": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f52c.png?v8", + "woman_shrugging": "https://github.githubassets.com/images/icons/emoji/unicode/1f937-2640.png?v8", + "woman_singer": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f3a4.png?v8", + "woman_student": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f393.png?v8", + "woman_teacher": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f3eb.png?v8", + "woman_technologist": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f4bb.png?v8", + "woman_with_headscarf": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d5.png?v8", + "woman_with_probing_cane": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f9af.png?v8", + "woman_with_turban": "https://github.githubassets.com/images/icons/emoji/unicode/1f473-2640.png?v8", + "woman_with_veil": "https://github.githubassets.com/images/icons/emoji/unicode/1f470-2640.png?v8", + "womans_clothes": "https://github.githubassets.com/images/icons/emoji/unicode/1f45a.png?v8", + "womans_hat": "https://github.githubassets.com/images/icons/emoji/unicode/1f452.png?v8", + "women_wrestling": "https://github.githubassets.com/images/icons/emoji/unicode/1f93c-2640.png?v8", + "womens": "https://github.githubassets.com/images/icons/emoji/unicode/1f6ba.png?v8", + "wood": "https://github.githubassets.com/images/icons/emoji/unicode/1fab5.png?v8", + "woozy_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f974.png?v8", + "world_map": "https://github.githubassets.com/images/icons/emoji/unicode/1f5fa.png?v8", + "worm": "https://github.githubassets.com/images/icons/emoji/unicode/1fab1.png?v8", + "worried": "https://github.githubassets.com/images/icons/emoji/unicode/1f61f.png?v8", + "wrench": "https://github.githubassets.com/images/icons/emoji/unicode/1f527.png?v8", + "wrestling": "https://github.githubassets.com/images/icons/emoji/unicode/1f93c.png?v8", + "writing_hand": "https://github.githubassets.com/images/icons/emoji/unicode/270d.png?v8", + "x": "https://github.githubassets.com/images/icons/emoji/unicode/274c.png?v8", + "yarn": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f6.png?v8", + "yawning_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f971.png?v8", + "yellow_circle": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e1.png?v8", + "yellow_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f49b.png?v8", + "yellow_square": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e8.png?v8", + "yemen": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fe-1f1ea.png?v8", + "yen": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b4.png?v8", + "yin_yang": "https://github.githubassets.com/images/icons/emoji/unicode/262f.png?v8", + "yo_yo": "https://github.githubassets.com/images/icons/emoji/unicode/1fa80.png?v8", + "yum": "https://github.githubassets.com/images/icons/emoji/unicode/1f60b.png?v8", + "zambia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ff-1f1f2.png?v8", + "zany_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f92a.png?v8", + "zap": "https://github.githubassets.com/images/icons/emoji/unicode/26a1.png?v8", + "zebra": "https://github.githubassets.com/images/icons/emoji/unicode/1f993.png?v8", + "zero": "https://github.githubassets.com/images/icons/emoji/unicode/0030-20e3.png?v8", + "zimbabwe": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ff-1f1fc.png?v8", + "zipper_mouth_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f910.png?v8", + "zombie": "https://github.githubassets.com/images/icons/emoji/unicode/1f9df.png?v8", + "zombie_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9df-2642.png?v8", + "zombie_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9df-2640.png?v8", + "zzz": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a4.png?v8" + } + }, + "environment": { + "value": { + "created_at": "2020-11-23T22:00:40Z", + "deployment_branch_policy": { + "custom_branch_policies": true, + "protected_branches": false + }, + "html_url": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging", + "id": 161088068, + "name": "staging", + "node_id": "MDExOkVudmlyb25tZW50MTYxMDg4MDY4", + "protection_rules": [ + { + "id": 3736, + "node_id": "MDQ6R2F0ZTM3MzY=", + "type": "wait_timer", + "wait_timer": 30 + }, + { + "id": 3755, + "node_id": "MDQ6R2F0ZTM3NTU=", + "reviewers": [ + { + "reviewer": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "type": "User" + }, + { + "reviewer": { + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "parent": null, + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "url": "https://api.github.com/teams/1" + }, + "type": "Team" + } + ], + "type": "required_reviewers" + }, + { + "id": 3756, + "node_id": "MDQ6R2F0ZTM3NTY=", + "type": "branch_policy" + } + ], + "updated_at": "2020-11-23T22:00:40Z", + "url": "https://api.github.com/repos/github/hello-world/environments/staging" + } + }, + "environment-approvals-items": { + "value": [ + { + "comment": "Ship it!", + "environments": [ + { + "created_at": "2020-11-23T22:00:40Z", + "html_url": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging", + "id": 161088068, + "name": "staging", + "node_id": "MDExOkVudmlyb25tZW50MTYxMDg4MDY4", + "updated_at": "2020-11-23T22:00:40Z", + "url": "https://api.github.com/repos/github/hello-world/environments/staging" + } + ], + "state": "approved", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + ] + }, + "environments": { + "value": { + "environments": [ + { + "created_at": "2020-11-23T22:00:40Z", + "deployment_branch_policy": { + "custom_branch_policies": true, + "protected_branches": false + }, + "html_url": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging", + "id": 161088068, + "name": "staging", + "node_id": "MDExOkVudmlyb25tZW50MTYxMDg4MDY4", + "protection_rules": [ + { + "id": 3736, + "node_id": "MDQ6R2F0ZTM3MzY=", + "type": "wait_timer", + "wait_timer": 30 + }, + { + "id": 3755, + "node_id": "MDQ6R2F0ZTM3NTU=", + "reviewers": [ + { + "reviewer": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "type": "User" + }, + { + "reviewer": { + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "parent": null, + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "url": "https://api.github.com/teams/1" + }, + "type": "Team" + } + ], + "type": "required_reviewers" + }, + { + "id": 3756, + "node_id": "MDQ6R2F0ZTM3NTY=", + "type": "branch_policy" + } + ], + "updated_at": "2020-11-23T22:00:40Z", + "url": "https://api.github.com/repos/github/hello-world/environments/staging" + } + ], + "total_count": 1 + } + }, + "feed": { + "value": { + "_links": { + "current_user": { + "href": "https://github.com/octocat.private?token=abc123", + "type": "application/atom+xml" + }, + "current_user_actor": { + "href": "https://github.com/octocat.private.actor?token=abc123", + "type": "application/atom+xml" + }, + "current_user_organization": { + "href": "", + "type": "" + }, + "current_user_organizations": [ + { + "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "type": "application/atom+xml" + } + ], + "current_user_public": { + "href": "https://github.com/octocat", + "type": "application/atom+xml" + }, + "security_advisories": { + "href": "https://github.com/security-advisories", + "type": "application/atom+xml" + }, + "timeline": { + "href": "https://github.com/timeline", + "type": "application/atom+xml" + }, + "user": { + "href": "https://github.com/{user}", + "type": "application/atom+xml" + } + }, + "current_user_actor_url": "https://github.com/octocat.private.actor?token=abc123", + "current_user_organization_url": "", + "current_user_organization_urls": [ + "https://github.com/organizations/github/octocat.private.atom?token=abc123" + ], + "current_user_public_url": "https://github.com/octocat", + "current_user_url": "https://github.com/octocat.private?token=abc123", + "security_advisories_url": "https://github.com/security-advisories", + "timeline_url": "https://github.com/timeline", + "user_url": "https://github.com/{user}" + } + }, + "file-commit": { + "value": { + "commit": { + "author": { + "date": "2014-11-07T22:01:45Z", + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "committer": { + "date": "2014-11-07T22:01:45Z", + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "html_url": "https://github.com/octocat/Hello-World/git/commit/7638417db6d59f3c431d3e1f261cc637155684cd", + "message": "my commit message", + "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==", + "parents": [ + { + "html_url": "https://github.com/octocat/Hello-World/git/commit/1acc419d4d6a9ce985db7be48c6349a0475975b5", + "sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5", + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/1acc419d4d6a9ce985db7be48c6349a0475975b5" + } + ], + "sha": "7638417db6d59f3c431d3e1f261cc637155684cd", + "tree": { + "sha": "691272480426f78a0138979dd3ce63b77f706feb", + "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd", + "verification": { + "payload": null, + "reason": "unsigned", + "signature": null, + "verified": false + } + }, + "content": null + } + }, + "file-commit-example-for-creating-a-file": { + "value": { + "commit": { + "author": { + "date": "2014-11-07T22:01:45Z", + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "committer": { + "date": "2014-11-07T22:01:45Z", + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "html_url": "https://github.com/octocat/Hello-World/git/commit/7638417db6d59f3c431d3e1f261cc637155684cd", + "message": "my commit message", + "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==", + "parents": [ + { + "html_url": "https://github.com/octocat/Hello-World/git/commit/1acc419d4d6a9ce985db7be48c6349a0475975b5", + "sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5", + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/1acc419d4d6a9ce985db7be48c6349a0475975b5" + } + ], + "sha": "7638417db6d59f3c431d3e1f261cc637155684cd", + "tree": { + "sha": "691272480426f78a0138979dd3ce63b77f706feb", + "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd", + "verification": { + "payload": null, + "reason": "unsigned", + "signature": null, + "verified": false + } + }, + "content": { + "_links": { + "git": "https://api.github.com/repos/octocat/Hello-World/git/blobs/95b966ae1c166bd92f8ae7d1c313e738c731dfc3", + "html": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt", + "self": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt" + }, + "download_url": "https://raw.githubusercontent.com/octocat/HelloWorld/master/notes/hello.txt", + "git_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/95b966ae1c166bd92f8ae7d1c313e738c731dfc3", + "html_url": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt", + "name": "hello.txt", + "path": "notes/hello.txt", + "sha": "95b966ae1c166bd92f8ae7d1c313e738c731dfc3", + "size": 9, + "type": "file", + "url": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt" + } + } + }, + "file-commit-example-for-updating-a-file": { + "value": { + "commit": { + "author": { + "date": "2014-11-07T22:01:45Z", + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "committer": { + "date": "2014-11-07T22:01:45Z", + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "html_url": "https://github.com/octocat/Hello-World/git/commit/18a43cd8e1e3a79c786e3d808a73d23b6d212b16", + "message": "my commit message", + "node_id": "MDY6Q29tbWl0MThhNDNjZDhlMWUzYTc5Yzc4NmUzZDgwOGE3M2QyM2I2ZDIxMmIxNg==", + "parents": [ + { + "html_url": "https://github.com/octocat/Hello-World/git/commit/da5a433788da5c255edad7979b328b67d79f53f6", + "sha": "da5a433788da5c255edad7979b328b67d79f53f6", + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/da5a433788da5c255edad7979b328b67d79f53f6" + } + ], + "sha": "18a43cd8e1e3a79c786e3d808a73d23b6d212b16", + "tree": { + "sha": "9a21f8e2018f42ffcf369b24d2cd20bc25c9e66f", + "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/9a21f8e2018f42ffcf369b24d2cd20bc25c9e66f" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/18a43cd8e1e3a79c786e3d808a73d23b6d212b16", + "verification": { + "payload": null, + "reason": "unsigned", + "signature": null, + "verified": false + } + }, + "content": { + "_links": { + "git": "https://api.github.com/repos/octocat/Hello-World/git/blobs/a56507ed892d05a37c6d6128c260937ea4d287bd", + "html": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt", + "self": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt" + }, + "download_url": "https://raw.githubusercontent.com/octocat/HelloWorld/master/notes/hello.txt", + "git_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/a56507ed892d05a37c6d6128c260937ea4d287bd", + "html_url": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt", + "name": "hello.txt", + "path": "notes/hello.txt", + "sha": "a56507ed892d05a37c6d6128c260937ea4d287bd", + "size": 9, + "type": "file", + "url": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt" + } + } + }, + "full-repository": { + "value": { + "allow_auto_merge": false, + "allow_forking": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 9, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "organization": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/octocat" + }, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "parent": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "source": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + }, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World-Template.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World-Template/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World-Template/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World-Template/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World-Template/events", + "fork": false, + "forks": 9, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World-Template/forks", + "full_name": "octocat/Hello-World-Template", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World-Template.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World-Template/hooks", + "html_url": "https://github.com/octocat/Hello-World-Template", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World-Template/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World-Template/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World-Template", + "name": "Hello-World-Template", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World-Template.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World-Template/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World-Template", + "tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World-Template/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World-Template", + "visibility": "public", + "watchers": 80, + "watchers_count": 80 + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 80, + "watchers_count": 80, + "web_commit_signoff_required": false + } + }, + "full-repository-default-response": { + "summary": "Default response", + "value": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 9, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_discussions": false, + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "organization": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/octocat" + }, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "parent": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "source": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "security_and_analysis": { + "advanced_security": { + "status": "enabled" + }, + "secret_scanning": { + "status": "enabled" + }, + "secret_scanning_push_protection": { + "status": "disabled" + } + }, + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + }, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World-Template.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World-Template/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World-Template/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World-Template/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World-Template/events", + "fork": false, + "forks": 9, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World-Template/forks", + "full_name": "octocat/Hello-World-Template", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World-Template.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World-Template/hooks", + "html_url": "https://github.com/octocat/Hello-World-Template", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World-Template/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World-Template/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World-Template", + "name": "Hello-World-Template", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World-Template.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World-Template/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World-Template", + "tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World-Template/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World-Template", + "visibility": "public", + "watchers": 80, + "watchers_count": 80 + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 80, + "watchers_count": 80 + } + }, + "gist": { + "value": { + "comments": 0, + "comments_url": "https://api.github.com/gists/2decf6c462d9b4418f2/comments", + "commits_url": "https://api.github.com/gists/2decf6c462d9b4418f2/commits", + "created_at": "2022-09-20T12:11:58Z", + "description": "An updated gist description.", + "files": { + "README.md": { + "content": "Hello world from GitHub", + "filename": "README.md", + "language": "Markdown", + "raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md", + "size": 23, + "truncated": false, + "type": "text/markdown" + } + }, + "forks": [], + "forks_url": "https://api.github.com/gists/2decf6c462d9b4418f2/forks", + "git_pull_url": "https://gist.github.com/2decf6c462d9b4418f2.git", + "git_push_url": "https://gist.github.com/2decf6c462d9b4418f2.git", + "history": [ + { + "change_status": { + "additions": 1, + "deletions": 1, + "total": 2 + }, + "committed_at": "2022-09-21T10:28:06Z", + "url": "https://api.github.com/gists/8481a81af6b7a2d418f2/468aac8caed5f0c3b859b8286968", + "user": { + "avatar_url": "https://avatars.githubusercontent.com/u/104456405?v=4", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/monalisa", + "id": 104456405, + "login": "monalisa", + "node_id": "U_kgyLQ", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "repos_url": "https://api.github.com/users/monalisa/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "type": "User", + "url": "https://api.github.com/users/monalisa" + }, + "version": "468aac8caed5f0c3b859b8286968" + } + ], + "html_url": "https://gist.github.com/2decf6c462d9b4418f2", + "id": "2decf6c462d9b4418f2", + "node_id": "G_kwDOBhHyLdZDliNDQxOGYy", + "owner": { + "avatar_url": "https://avatars.githubusercontent.com/u/104456405?v=4", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/monalisa", + "id": 104456405, + "login": "monalisa", + "node_id": "U_kgDOBhHyLQ", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "repos_url": "https://api.github.com/users/monalisa/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "type": "User", + "url": "https://api.github.com/users/monalisa" + }, + "public": true, + "truncated": false, + "updated_at": "2022-09-21T10:28:06Z", + "url": "https://api.github.com/gists/2decf6c462d9b4418f2", + "user": null + } + }, + "gist-comment": { + "value": { + "author_association": "COLLABORATOR", + "body": "Just commenting for the sake of commenting", + "created_at": "2011-04-18T23:23:56Z", + "id": 1, + "node_id": "MDExOkdpc3RDb21tZW50MQ==", + "updated_at": "2011-04-18T23:23:56Z", + "url": "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "gist-comment-items": { + "value": [ + { + "author_association": "COLLABORATOR", + "body": "Just commenting for the sake of commenting", + "created_at": "2011-04-18T23:23:56Z", + "id": 1, + "node_id": "MDExOkdpc3RDb21tZW50MQ==", + "updated_at": "2011-04-18T23:23:56Z", + "url": "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + ] + }, + "gist-commit-items": { + "value": [ + { + "change_status": { + "additions": 180, + "deletions": 0, + "total": 180 + }, + "committed_at": "2010-04-14T02:15:15Z", + "url": "https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "version": "57a7f021a713b1c5a6a199b54cc514735d2d462f" + } + ] + }, + "gist-fork-items": { + "value": [ + { + "comments": 1, + "comments_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/comments/", + "commits_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/commits", + "created_at": "2010-04-14T02:15:15Z", + "description": "Hello World Examples", + "files": { + "hello_world.rb": { + "filename": "hello_world.rb", + "language": "Ruby", + "raw_url": "https://gist.githubusercontent.com/octocat/6cad326836d38bd3a7ae/raw/db9c55113504e46fa076e7df3a04ce592e2e86d8/hello_world.rb", + "size": 167, + "type": "application/x-ruby" + } + }, + "forks_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/forks", + "git_pull_url": "https://gist.github.com/aa5a315d61ae9438b18d.git", + "git_push_url": "https://gist.github.com/aa5a315d61ae9438b18d.git", + "html_url": "https://gist.github.com/aa5a315d61ae9438b18d", + "id": "aa5a315d61ae9438b18d", + "node_id": "MDQ6R2lzdGFhNWEzMTVkNjFhZTk0MzhiMThk", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "public": true, + "updated_at": "2011-06-20T11:34:15Z", + "url": "https://api.github.com/gists/aa5a315d61ae9438b18d", + "user": null + } + ] + }, + "git-commit": { + "value": { + "author": { + "date": "2014-11-07T22:01:45Z", + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "committer": { + "date": "2014-11-07T22:01:45Z", + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd", + "message": "my commit message", + "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==", + "parents": [ + { + "html_url": "https://github.com/octocat/Hello-World/commit/7d1b31e74ee336d15cbd21741bc88a537ed063a0", + "sha": "7d1b31e74ee336d15cbd21741bc88a537ed063a0", + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7d1b31e74ee336d15cbd21741bc88a537ed063a0" + } + ], + "sha": "7638417db6d59f3c431d3e1f261cc637155684cd", + "tree": { + "sha": "827efc6d56897b048c772eb4087f854f46256132", + "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/827efc6d56897b048c772eb4087f854f46256132" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd", + "verification": { + "payload": null, + "reason": "unsigned", + "signature": null, + "verified": false + } + } + }, + "git-commit-2": { + "value": { + "author": { + "date": "2014-11-07T22:01:45Z", + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "committer": { + "date": "2014-11-07T22:01:45Z", + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd", + "message": "added readme, because im a good github citizen", + "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==", + "parents": [ + { + "html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd", + "sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5", + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/1acc419d4d6a9ce985db7be48c6349a0475975b5" + } + ], + "sha": "7638417db6d59f3c431d3e1f261cc637155684cd", + "tree": { + "sha": "691272480426f78a0138979dd3ce63b77f706feb", + "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd", + "verification": { + "payload": null, + "reason": "unsigned", + "signature": null, + "verified": false + } + } + }, + "git-ref": { + "value": { + "node_id": "MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ==", + "object": { + "sha": "aa218f56b14c9653891f9e74264a383fa43fefbd", + "type": "commit", + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd" + }, + "ref": "refs/heads/featureA", + "url": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA" + } + }, + "git-ref-items": { + "value": [ + { + "node_id": "MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlLWE=", + "object": { + "sha": "aa218f56b14c9653891f9e74264a383fa43fefbd", + "type": "commit", + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd" + }, + "ref": "refs/heads/feature-a", + "url": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/feature-a" + }, + { + "node_id": "MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlLWI=", + "object": { + "sha": "612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac", + "type": "commit", + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac" + }, + "ref": "refs/heads/feature-b", + "url": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/feature-b" + } + ] + }, + "git-tag": { + "value": { + "message": "initial version", + "node_id": "MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw==", + "object": { + "sha": "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c", + "type": "commit", + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c" + }, + "sha": "940bd336248efae0f9ee5bc7b2d5c985887b16ac", + "tag": "v0.0.1", + "tagger": { + "date": "2014-11-07T22:01:45Z", + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/git/tags/940bd336248efae0f9ee5bc7b2d5c985887b16ac", + "verification": { + "payload": null, + "reason": "unsigned", + "signature": null, + "verified": false + } + } + }, + "git-tree": { + "value": { + "sha": "cd8274d15fa3ae2ab983129fb037999f264ba9a7", + "tree": [ + { + "mode": "100644", + "path": "file.rb", + "sha": "7c258a9869f33c1e1e1f74fbb32f07c86cb5a75b", + "size": 132, + "type": "blob", + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/7c258a9869f33c1e1e1f74fbb32f07c86cb5a75b" + } + ], + "truncated": true, + "url": "https://api.github.com/repos/octocat/Hello-World/trees/cd8274d15fa3ae2ab983129fb037999f264ba9a7" + } + }, + "git-tree-default-response": { + "summary": "Default response", + "value": { + "sha": "9fb037999f264ba9a7fc6274d15fa3ae2ab98312", + "tree": [ + { + "mode": "100644", + "path": "file.rb", + "sha": "44b4fc6d56897b048c772eb4087f854f46256132", + "size": 30, + "type": "blob", + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" + }, + { + "mode": "040000", + "path": "subdir", + "sha": "f484d249c660418515fb01c2b9662073663c242e", + "type": "tree", + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/f484d249c660418515fb01c2b9662073663c242e" + }, + { + "mode": "100755", + "path": "exec_file", + "sha": "45b983be36b73c0788dc9cbcb76cbb80fc7bb057", + "size": 75, + "type": "blob", + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/45b983be36b73c0788dc9cbcb76cbb80fc7bb057" + } + ], + "truncated": false, + "url": "https://api.github.com/repos/octocat/Hello-World/trees/9fb037999f264ba9a7fc6274d15fa3ae2ab98312" + } + }, + "git-tree-response-recursively-retrieving-a-tree": { + "summary": "Response recursively retrieving a tree", + "value": { + "sha": "fc6274d15fa3ae2ab983129fb037999f264ba9a7", + "tree": [ + { + "mode": "100644", + "path": "subdir/file.txt", + "sha": "7c258a9869f33c1e1e1f74fbb32f07c86cb5a75b", + "size": 132, + "type": "blob", + "url": "https://api.github.com/repos/octocat/Hello-World/git/7c258a9869f33c1e1e1f74fbb32f07c86cb5a75b" + } + ], + "truncated": false, + "url": "https://api.github.com/repos/octocat/Hello-World/trees/fc6274d15fa3ae2ab983129fb037999f264ba9a7" + } + }, + "gitignore-template": { + "value": { + "name": "C", + "source": "# Object files\n*.o\n\n# Libraries\n*.lib\n*.a\n\n# Shared objects (inc. Windows DLLs)\n*.dll\n*.so\n*.so.*\n*.dylib\n\n# Executables\n*.exe\n*.out\n*.app\n" + } + }, + "gpg-key": { + "value": { + "can_certify": true, + "can_encrypt_comms": false, + "can_encrypt_storage": false, + "can_sign": true, + "created_at": "2016-03-24T11:31:04-06:00", + "emails": [ + { + "email": "octocat@users.noreply.github.com", + "verified": true + } + ], + "expires_at": "2016-03-24T11:31:04-07:00", + "id": 3, + "key_id": "3262EFF25BA0D270", + "name": "Octocat's GPG Key", + "primary_key_id": 2, + "public_key": "xsBNBFayYZ...", + "raw_key": "\"-----BEGIN PGP PUBLIC KEY BLOCK-----\\nVersion: GnuPG v2\\n\\nmQENBFayYZ0BCAC4hScoJXXpyR+MXGcrBxElqw3FzCVvkViuyeko+Jp76QJhg8kr\\nucRTxbnOoHfda/FmilEa/wxf9ch5/PSrrL26FxEoPHhJolp8fnIDLQeITn94NYdB\\nZtnnEKslpPrG97qSUWIchvyqCPtvOb8+8fWvGx9K/ZWcEEdh1X8+WFR2jMENMeoX\\nwxHWQoPnS7LpX/85/M7VUcJxvDVfv+eHsnQupmE5bGarKNih0oMe3LbdN3qA5PTz\\nSCm6Iudar1VsQ+xTz08ymL7t4pnEtLguQ7EyatFHCjxNblv5RzxoL0tDgN3HqoDz\\nc7TEA+q4RtDQl9amcvQ95emnXmZ974u7UkYdABEBAAG0HlNvbWUgVXNlciA8c29t\\nZXVzZXJAZ21haWwuY29tPokBOAQTAQIAIgUCVrJhnQIbAwYLCQgHAwIGFQgCCQoL\\nBBYCAwECHgECF4AACgkQMmLv8lug0nAViQgArWjI55+7p48URr2z9Jvak+yrBTx1\\nzkufltQAnHTJkq+Kl9dySSmTnOop8o3rE4++IOpYV5Y36PkKf9EZMk4n1RQiDPKE\\nAFtRVTkRaoWzOir9KQXJPfhKrl01j/QzY+utfiMvUoBJZ9ybq8Pa885SljW9lbaX\\nIYw+hl8ZdJ2KStvGrEyfQvRyq3aN5c9TV//4BdGnwx7Qabq/U+G18lizG6f/yq15\\ned7t0KELaCfeKPvytp4VE9/z/Ksah/h3+Qilx07/oG2Ae5kC1bEC9coD/ogPUhbv\\nb2bsBIoY9E9YwsLoif2lU+o1t76zLgUktuNscRRUKobW028H1zuFS/XQhrkBDQRW\\nsmGdAQgApnyyv3i144OLYy0O4UKQxd3e10Y3WpDwfnGIBefAI1m7RxnUxBag/DsU\\n7gi9qLEC4VHSfq4eiNfr1LJOyCL2edTgCWFgBhVjbXjZe6YAOrAnhxwCErnN0Y7N\\n6s8wVh9fObSOyf8ZE6G7JeKpcq9Q6gd/KxagfD48a1v+fyRHpyQc6J9pUEmtrDJ7\\nBjmsd2VWzLBvNWdHyxDNtZweIaqIO9VUYYpr1mtTliNBOZLUelmgrt7HBRcJpWMA\\nS8muVVbuP5MK0trLBq/JB8qUH3zRzB/PhMgzmkIfjEK1VYDWm4E8DYyTWEJcHqkb\\neqFsNjrIlwPaA122BWC6gUOPwwH+oQARAQABiQEfBBgBAgAJBQJWsmGdAhsMAAoJ\\nEDJi7/JboNJwAyAIALd4xcdmGbZD98gScJzqwzkOMcO8zFHqHNvJ42xIFvGny7c0\\n1Rx7iyrdypOby5AxE+viQcjG4rpLZW/xKYBNGrCfDyQO7511I0v8x20EICMlMfD/\\nNrWQCzesEPcUlKTP07d+sFyP8AyseOidbzY/92CpskTgdSBjY/ntLSaoknl/fjJE\\nQM8OkPqU7IraO1Jzzdnm20d5PZL9+PIwIWdSTedU/vBMTJyNcoqvSfKf1wNC66XP\\nhqfYgXJE564AdWZKA3C0IyCqiv+LHwxLnUHio1a4/r91C8KPzxs6tGxRDjXLd7ms\\nuYFGWymiUGOE/giHlcxdYcHzwLnPDliMQOLiTkK5AQ0EVuxMygEIAOD+bW1cDTmE\\nBxh5JECoqeHuwgl6DlLhnubWPkQ4ZeRzBRAsFcEJQlwlJjrzFDicL+lnm6Qq4tt0\\n560TwHdf15/AKTZIZu7H25axvGNzgeaUkJEJdYAq9zTKWwX7wKyzBszi485nQg97\\nMfAqwhMpDW0Qqf8+7Ug+WEmfBSGv9uL3aQC6WEeIsHfri0n0n8v4XgwhfShXguxO\\nCsOztEsuW7WWKW9P4TngKKv4lCHdPlV6FwxeMzODBJvc2fkHVHnqc0PqszJ5xcF8\\n6gZCpMM027SbpeYWCAD5zwJyYP9ntfO1p2HjnQ1dZaP9FeNcO7uIV1Lnd1eGCu6I\\nsrVp5k1f3isAEQEAAYkCPgQYAQIACQUCVuxMygIbAgEpCRAyYu/yW6DScMBdIAQZ\\nAQIABgUCVuxMygAKCRCKohN4dhq2b4tcCACHxmOHVXNpu47OvUGYQydLgMACUlXN\\nlj+HfE0VReqShxdDmpasAY9IRpuMB2RsGK8GbNP+4SlOlAiPf5SMhS7nZNkNDgQQ\\naZ3HFpgrFmFwmE10BKT4iQtoxELLM57z0qGOAfTsEjWFQa4sF+6IHAQR/ptkdkkI\\nBUEXiMnAwVwBysLIJiLO8qdjB6qp52QkT074JVrwywT/P+DkMfC2k4r/AfEbf6eF\\ndmPDuPk6KD87+hJZsSa5MaMUBQVvRO/mgEkhJRITVu58eWGaBOcQJ8gqurhCqM5P\\nDfUA4TJ7wiqM6sS764vV1rOioTTXkszzhClQqET7hPVnVQjenYgv0EZHNyQH/1f1\\n/CYqvV1vFjM9vJjMbxXsATCkZe6wvBVKD8vLsJAr8N+onKQz+4OPc3kmKq7aESu3\\nCi/iuie5KKVwnuNhr9AzT61vEkKxwHcVFEvHB77F6ZAAInhRvjzmQbD2dlPLLQCC\\nqDj71ODSSAPTEmUy6969bgD9PfWei7kNkBIx7s3eBv8yzytSc2EcuUgopqFazquw\\nFs1+tqGHjBvQfTo6bqbJjp/9Ci2pvde3ElV2rAgUlb3lqXyXjRDqrXosh5GcRPQj\\nK8Nhj1BNhnrCVskE4BP0LYbOHuzgm86uXwGCFsY+w2VOsSm16Jx5GHyG5S5WU3+D\\nIts/HFYRLiFgDLmTlxo=\\n=+OzK\\n-----END PGP PUBLIC KEY BLOCK-----\"", + "revoked": false, + "subkeys": [ + { + "can_certify": false, + "can_encrypt_comms": true, + "can_encrypt_storage": true, + "can_sign": false, + "created_at": "2016-03-24T11:31:04-06:00", + "emails": [], + "expires_at": "2016-03-24T11:31:04-07:00", + "id": 4, + "key_id": "4A595D4C72EE49C7", + "primary_key_id": 3, + "public_key": "zsBNBFayYZ...", + "revoked": false, + "subkeys": [] + } + ] + } + }, + "gpg-key-items": { + "value": [ + { + "can_certify": true, + "can_encrypt_comms": false, + "can_encrypt_storage": false, + "can_sign": true, + "created_at": "2016-03-24T11:31:04-06:00", + "emails": [ + { + "email": "octocat@users.noreply.github.com", + "verified": true + } + ], + "expires_at": "2016-03-24T11:31:04-07:00", + "id": 3, + "key_id": "3262EFF25BA0D270", + "name": "Octocat's GPG Key", + "primary_key_id": 2, + "public_key": "xsBNBFayYZ...", + "raw_key": "string", + "revoked": false, + "subkeys": [ + { + "can_certify": false, + "can_encrypt_comms": true, + "can_encrypt_storage": true, + "can_sign": false, + "created_at": "2016-03-24T11:31:04-06:00", + "emails": [], + "expires_at": "2016-03-24T11:31:04-07:00", + "id": 4, + "key_id": "4A595D4C72EE49C7", + "primary_key_id": 3, + "public_key": "zsBNBFayYZ...", + "revoked": false, + "subkeys": [] + } + ] + } + ] + }, + "hook": { + "value": { + "active": true, + "config": { + "content_type": "json", + "insecure_ssl": "0", + "url": "https://example.com/webhook" + }, + "created_at": "2019-06-03T00:57:16Z", + "deliveries_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/deliveries", + "events": [ + "push", + "pull_request" + ], + "id": 12345678, + "last_response": { + "code": null, + "message": null, + "status": "unused" + }, + "name": "web", + "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings", + "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test", + "type": "Repository", + "updated_at": "2019-06-03T00:57:16Z", + "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678" + } + }, + "hook-delivery": { + "value": { + "action": "opened", + "delivered_at": "2019-06-03T00:57:16Z", + "duration": 0.27, + "event": "issues", + "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "id": 12345678, + "installation_id": 123, + "redelivery": false, + "repository_id": 456, + "request": { + "headers": { + "Accept": "*/*", + "User-Agent": "GitHub-Hookshot/b8c71d8", + "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "X-GitHub-Event": "issues", + "X-GitHub-Hook-ID": "42", + "X-GitHub-Hook-Installation-Target-ID": "123", + "X-GitHub-Hook-Installation-Target-Type": "repository", + "X-Hub-Signature": "sha1=a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", + "X-Hub-Signature-256": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "content-type": "application/json" + }, + "payload": { + "action": "opened", + "issue": { + "body": "foo" + }, + "repository": { + "id": 123 + } + } + }, + "response": { + "headers": { + "Content-Type": "text/html;charset=utf-8" + }, + "payload": "ok" + }, + "status": "OK", + "status_code": 200, + "url": "https://www.example.com" + } + }, + "hook-delivery-items": { + "value": [ + { + "action": "opened", + "delivered_at": "2019-06-03T00:57:16Z", + "duration": 0.27, + "event": "issues", + "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "id": 12345678, + "installation_id": 123, + "redelivery": false, + "repository_id": 456, + "status": "OK", + "status_code": 200 + }, + { + "action": "opened", + "delivered_at": "2019-06-04T00:57:16Z", + "duration": 0.28, + "event": "issues", + "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "id": 123456789, + "installation_id": 123, + "redelivery": true, + "repository_id": 456, + "status": "OK", + "status_code": 200 + } + ] + }, + "hook-items": { + "value": [ + { + "active": true, + "config": { + "content_type": "json", + "insecure_ssl": "0", + "url": "https://example.com/webhook" + }, + "created_at": "2019-06-03T00:57:16Z", + "deliveries_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/deliveries", + "events": [ + "push", + "pull_request" + ], + "id": 12345678, + "last_response": { + "code": null, + "message": null, + "status": "unused" + }, + "name": "web", + "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings", + "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test", + "type": "Repository", + "updated_at": "2019-06-03T00:57:16Z", + "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678" + } + ] + }, + "hovercard": { + "value": { + "contexts": [ + { + "message": "Owns this repository", + "octicon": "repo" + } + ] + } + }, + "import": { + "value": { + "authors_count": 4, + "authors_url": "https://api.github.com/repos/octocat/socm/import/authors", + "has_large_files": true, + "html_url": "https://import.github.com/octocat/socm/import", + "large_files_count": 1, + "large_files_size": 132331036, + "repository_url": "https://api.github.com/repos/octocat/socm", + "status": "complete", + "status_text": "Done", + "url": "https://api.github.com/repos/octocat/socm/import", + "use_lfs": true, + "vcs": "subversion", + "vcs_url": "http://svn.mycompany.com/svn/myproject" + } + }, + "import-2": { + "value": { + "authors_count": 0, + "authors_url": "https://api.github.com/repos/octocat/socm/import/authors", + "commit_count": 1042, + "has_large_files": false, + "html_url": "https://import.github.com/octocat/socm/import", + "large_files_count": 0, + "large_files_size": 0, + "repository_url": "https://api.github.com/repos/octocat/socm", + "status": "importing", + "status_text": "Importing...", + "url": "https://api.github.com/repos/octocat/socm/import", + "use_lfs": true, + "vcs": "subversion", + "vcs_url": "http://svn.mycompany.com/svn/myproject" + } + }, + "import-example-1": { + "summary": "Example 1", + "value": { + "authors_url": "https://api.github.com/repos/octocat/socm/import/authors", + "html_url": "https://import.github.com/octocat/socm/import", + "repository_url": "https://api.github.com/repos/octocat/socm", + "status": "detecting", + "url": "https://api.github.com/repos/octocat/socm/import", + "use_lfs": true, + "vcs": "subversion", + "vcs_url": "http://svn.mycompany.com/svn/myproject" + } + }, + "import-example-2": { + "summary": "Example 2", + "value": { + "authors_count": 0, + "authors_url": "https://api.github.com/repos/octocat/socm/import/authors", + "commit_count": 1042, + "has_large_files": false, + "html_url": "https://import.github.com/octocat/socm/import", + "large_files_count": 0, + "large_files_size": 0, + "repository_url": "https://api.github.com/repos/octocat/socm", + "status": "importing", + "status_text": "Importing...", + "tfvc_project": "project1", + "url": "https://api.github.com/repos/octocat/socm/import", + "use_lfs": true, + "vcs": "tfvc", + "vcs_url": "http://tfs.mycompany.com/tfs/myproject" + } + }, + "import-response": { + "summary": "Response", + "value": { + "authors_count": 0, + "authors_url": "https://api.github.com/repos/octocat/socm/import/authors", + "commit_count": 1042, + "has_large_files": false, + "html_url": "https://import.github.com/octocat/socm/import", + "large_files_count": 0, + "large_files_size": 0, + "repository_url": "https://api.github.com/repos/octocat/socm", + "status": "importing", + "status_text": "Importing...", + "url": "https://api.github.com/repos/octocat/socm/import", + "use_lfs": true, + "vcs": "subversion", + "vcs_url": "http://svn.mycompany.com/svn/myproject" + } + }, + "installation": { + "value": { + "access_tokens_url": "https://api.github.com/installations/1/access_tokens", + "account": { + "avatar_url": "https://github.com/images/error/hubot_happy.gif", + "events_url": "https://api.github.com/orgs/github/events", + "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}", + "gravatar_id": "", + "html_url": "https://github.com/github", + "id": 1, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organizations_url": "https://api.github.com/users/github/orgs", + "received_events_url": "https://api.github.com/users/github/received_events", + "repos_url": "https://api.github.com/orgs/github/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "type": "Organization", + "url": "https://api.github.com/orgs/github" + }, + "app_id": 1, + "app_slug": "github-actions", + "created_at": "2018-02-09T20:51:14Z", + "events": [ + "push", + "pull_request" + ], + "has_multiple_single_files": true, + "html_url": "https://github.com/organizations/github/settings/installations/1", + "id": 1, + "permissions": { + "checks": "write", + "contents": "read", + "metadata": "read" + }, + "repositories_url": "https://api.github.com/installation/repositories", + "repository_selection": "all", + "single_file_name": "config.yml", + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "suspended_at": null, + "suspended_by": null, + "target_id": 1, + "target_type": "Organization", + "updated_at": "2018-02-09T20:51:14Z" + } + }, + "installation-paginated": { + "value": { + "installations": [ + { + "access_tokens_url": "https://api.github.com/app/installations/25381/access_tokens", + "account": { + "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", + "events_url": "https://api.github.com/users/octo-org/events{/privacy}", + "followers_url": "https://api.github.com/users/octo-org/followers", + "following_url": "https://api.github.com/users/octo-org/following{/other_user}", + "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octo-org", + "id": 6811672, + "login": "octo-org", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", + "organizations_url": "https://api.github.com/users/octo-org/orgs", + "received_events_url": "https://api.github.com/users/octo-org/received_events", + "repos_url": "https://api.github.com/users/octo-org/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/octo-org" + }, + "app_id": 2218, + "app_slug": "github-actions", + "created_at": "2017-05-16T08:47:09.000-07:00", + "events": [ + "deployment", + "deployment_status" + ], + "has_multiple_single_files": true, + "html_url": "https://github.com/organizations/octo-org/settings/installations/25381", + "id": 25381, + "permissions": { + "deployments": "write", + "metadata": "read", + "pull_requests": "read", + "statuses": "read" + }, + "repositories_url": "https://api.github.com/installation/repositories", + "repository_selection": "selected", + "single_file_name": "config.yml", + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "suspended_at": null, + "suspended_by": null, + "target_id": 6811672, + "target_type": "Organization", + "updated_at": "2017-06-06T11:23:23.000-07:00" + } + ], + "total_count": 1 + } + }, + "installation-token": { + "value": { + "expires_at": "2016-07-11T22:14:10Z", + "permissions": { + "contents": "read", + "issues": "write" + }, + "repositories": [ + { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + } + ], + "repository_selection": "selected", + "token": "ghs_16C7e42F292c6912E7710c838347Ae178B4a" + } + }, + "integration": { + "value": { + "created_at": "2017-07-08T16:18:44-04:00", + "description": "", + "events": [ + "push", + "pull_request" + ], + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "id": 1, + "name": "Octocat App", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/orgs/github/events", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/orgs/github/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/orgs/github" + }, + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read", + "single_file": "write" + }, + "slug": "octoapp", + "updated_at": "2017-07-08T16:18:44-04:00" + } + }, + "integration-from-manifest": { + "value": { + "client_id": "Iv1.8a61f9b3a7aba766", + "client_secret": "1726be1638095a19edd134c77bde3aa2ece1e5d8", + "created_at": "2017-07-08T16:18:44-04:00", + "description": "", + "events": [ + "push", + "pull_request" + ], + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "id": 1, + "name": "Octocat App", + "node_id": "MDxOkludGVncmF0aW9uMQ==", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/orgs/github/events", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/orgs/github/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/orgs/github" + }, + "pem": "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAuEPzOUE+kiEH1WLiMeBytTEF856j0hOVcSUSUkZxKvqczkWM\n9vo1gDyC7ZXhdH9fKh32aapba3RSsp4ke+giSmYTk2mGR538ShSDxh0OgpJmjiKP\nX0Bj4j5sFqfXuCtl9SkH4iueivv4R53ktqM+n6hk98l6hRwC39GVIblAh2lEM4L/\n6WvYwuQXPMM5OG2Ryh2tDZ1WS5RKfgq+9ksNJ5Q9UtqtqHkO+E63N5OK9sbzpUUm\noNaOl3udTlZD3A8iqwMPVxH4SxgATBPAc+bmjk6BMJ0qIzDcVGTrqrzUiywCTLma\nszdk8GjzXtPDmuBgNn+o6s02qVGpyydgEuqmTQIDAQABAoIBACL6AvkjQVVLn8kJ\ndBYznJJ4M8ECo+YEgaFwgAHODT0zRQCCgzd+Vxl4YwHmKV2Lr+y2s0drZt8GvYva\nKOK8NYYZyi15IlwFyRXmvvykF1UBpSXluYFDH7KaVroWMgRreHcIys5LqVSIb6Bo\ngDmK0yBLPp8qR29s2b7ScZRtLaqGJiX+j55rNzrZwxHkxFHyG9OG+u9IsBElcKCP\nkYCVE8ZdYexfnKOZbgn2kZB9qu0T/Mdvki8yk3I2bI6xYO24oQmhnT36qnqWoCBX\nNuCNsBQgpYZeZET8mEAUmo9d+ABmIHIvSs005agK8xRaP4+6jYgy6WwoejJRF5yd\nNBuF7aECgYEA50nZ4FiZYV0vcJDxFYeY3kYOvVuKn8OyW+2rg7JIQTremIjv8FkE\nZnwuF9ZRxgqLxUIfKKfzp/5l5LrycNoj2YKfHKnRejxRWXqG+ZETfxxlmlRns0QG\nJ4+BYL0CoanDSeA4fuyn4Bv7cy/03TDhfg/Uq0Aeg+hhcPE/vx3ebPsCgYEAy/Pv\neDLssOSdeyIxf0Brtocg6aPXIVaLdus+bXmLg77rJIFytAZmTTW8SkkSczWtucI3\nFI1I6sei/8FdPzAl62/JDdlf7Wd9K7JIotY4TzT7Tm7QU7xpfLLYIP1bOFjN81rk\n77oOD4LsXcosB/U6s1blPJMZ6AlO2EKs10UuR1cCgYBipzuJ2ADEaOz9RLWwi0AH\nPza2Sj+c2epQD9ZivD7Zo/Sid3ZwvGeGF13JyR7kLEdmAkgsHUdu1rI7mAolXMaB\n1pdrsHureeLxGbRM6za3tzMXWv1Il7FQWoPC8ZwXvMOR1VQDv4nzq7vbbA8z8c+c\n57+8tALQHOTDOgQIzwK61QKBgERGVc0EJy4Uag+VY8J4m1ZQKBluqo7TfP6DQ7O8\nM5MX73maB/7yAX8pVO39RjrhJlYACRZNMbK+v/ckEQYdJSSKmGCVe0JrGYDuPtic\nI9+IGfSorf7KHPoMmMN6bPYQ7Gjh7a++tgRFTMEc8956Hnt4xGahy9NcglNtBpVN\n6G8jAoGBAMCh028pdzJa/xeBHLLaVB2sc0Fe7993WlsPmnVE779dAz7qMscOtXJK\nfgtriltLSSD6rTA9hUAsL/X62rY0wdXuNdijjBb/qvrx7CAV6i37NK1CjABNjsfG\nZM372Ac6zc1EqSrid2IjET1YqyIW2KGLI1R2xbQc98UGlt48OdWu\n-----END RSA PRIVATE KEY-----\n", + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read", + "single_file": "write" + }, + "slug": "octoapp", + "updated_at": "2017-07-08T16:18:44-04:00", + "webhook_secret": "e340154128314309424b7c8e90325147d99fdafa" + } + }, + "integration-items": { + "value": [ + { + "created_at": "2017-07-08T16:18:44-04:00", + "description": "", + "events": [ + "push", + "pull_request" + ], + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "id": 1, + "name": "Octocat App", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/orgs/github/events", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/orgs/github/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/orgs/github" + }, + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read", + "single_file": "write" + }, + "slug": "octoapp", + "updated_at": "2017-07-08T16:18:44-04:00" + } + ] + }, + "interaction-limit-2": { + "value": { + "expires_at": "2018-08-17T04:18:39Z", + "limit": "collaborators_only", + "origin": "repository" + } + }, + "interaction-limit-response": { + "value": { + "expires_at": "2018-08-17T04:18:39Z", + "limit": "collaborators_only", + "origin": "organization" + } + }, + "interaction-limit-user": { + "value": { + "expires_at": "2018-08-17T04:18:39Z", + "limit": "collaborators_only", + "origin": "user" + } + }, + "issue": { + "value": { + "active_lock_reason": "too heated", + "assignee": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "assignees": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + ], + "author_association": "COLLABORATOR", + "body": "I'm having a problem with this.", + "closed_at": null, + "closed_by": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "comments": 0, + "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "created_at": "2011-04-22T13:33:48Z", + "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", + "html_url": "https://github.com/octocat/Hello-World/issues/1347", + "id": 1, + "labels": [ + { + "color": "f29513", + "default": true, + "description": "Something isn't working", + "id": 208045946, + "name": "bug", + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug" + } + ], + "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", + "locked": true, + "milestone": { + "closed_at": "2013-02-12T13:22:01Z", + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "id": 1002604, + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "open_issues": 4, + "state": "open", + "title": "v1.0", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "node_id": "MDU6SXNzdWUx", + "number": 1347, + "pull_request": { + "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", + "html_url": "https://github.com/octocat/Hello-World/pull/1347", + "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch", + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + }, + "repository_url": "https://api.github.com/repos/octocat/Hello-World", + "state": "open", + "state_reason": "completed", + "title": "Found a bug", + "updated_at": "2011-04-22T13:33:48Z", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "issue-comment": { + "value": { + "author_association": "COLLABORATOR", + "body": "Me too", + "created_at": "2011-04-14T16:00:49Z", + "html_url": "https://github.com/octocat/Hello-World/issues/1347#issuecomment-1", + "id": 1, + "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "node_id": "MDEyOklzc3VlQ29tbWVudDE=", + "updated_at": "2011-04-14T16:00:49Z", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "issue-comment-items": { + "value": [ + { + "author_association": "COLLABORATOR", + "body": "Me too", + "created_at": "2011-04-14T16:00:49Z", + "html_url": "https://github.com/octocat/Hello-World/issues/1347#issuecomment-1", + "id": 1, + "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "node_id": "MDEyOklzc3VlQ29tbWVudDE=", + "updated_at": "2011-04-14T16:00:49Z", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + ] + }, + "issue-event": { + "value": { + "actor": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "event": "closed", + "id": 1, + "issue": { + "assignee": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "assignees": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + ], + "author_association": "COLLABORATOR", + "body": "I'm having a problem with this.", + "closed_at": null, + "comments": 0, + "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "created_at": "2011-04-22T13:33:48Z", + "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", + "html_url": "https://github.com/octocat/Hello-World/issues/1347", + "id": 1, + "labels": [ + { + "color": "f29513", + "default": true, + "description": "Something isn't working", + "id": 208045946, + "name": "bug", + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug" + } + ], + "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", + "locked": true, + "milestone": { + "closed_at": "2013-02-12T13:22:01Z", + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "id": 1002604, + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "open_issues": 4, + "state": "open", + "title": "v1.0", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "node_id": "MDU6SXNzdWUx", + "number": 1347, + "performed_via_github_app": { + "created_at": "2017-07-08T16:18:44-04:00", + "description": "", + "events": [ + "push", + "pull_request" + ], + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "id": 1, + "name": "Octocat App", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/orgs/github/events", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/orgs/github/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/orgs/github" + }, + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read", + "single_file": "write" + }, + "slug": "octoapp", + "updated_at": "2017-07-08T16:18:44-04:00" + }, + "pull_request": { + "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", + "html_url": "https://github.com/octocat/Hello-World/pull/1347", + "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch", + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + }, + "repository_url": "https://api.github.com/repos/octocat/Hello-World", + "state": "open", + "state_reason": "completed", + "title": "Found a bug", + "updated_at": "2011-04-22T13:33:48Z", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + }, + "node_id": "MDEwOklzc3VlRXZlbnQx", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1" + } + }, + "issue-event-for-issue-items": { + "value": [ + { + "actor": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "event": "closed", + "id": 1, + "label": { + "color": "red", + "name": "label" + }, + "node_id": "MDEwOklzc3VlRXZlbnQx", + "performed_via_github_app": null, + "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1" + } + ] + }, + "issue-event-items": { + "value": [ + { + "actor": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "event": "closed", + "id": 1, + "issue": { + "active_lock_reason": "too heated", + "assignee": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "assignees": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + ], + "author_association": "COLLABORATOR", + "body": "I'm having a problem with this.", + "closed_at": null, + "comments": 0, + "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "created_at": "2011-04-22T13:33:48Z", + "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", + "html_url": "https://github.com/octocat/Hello-World/issues/1347", + "id": 1, + "labels": [ + { + "color": "f29513", + "default": true, + "description": "Something isn't working", + "id": 208045946, + "name": "bug", + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug" + } + ], + "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", + "locked": true, + "milestone": { + "closed_at": "2013-02-12T13:22:01Z", + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "id": 1002604, + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "open_issues": 4, + "state": "open", + "title": "v1.0", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "node_id": "MDU6SXNzdWUx", + "number": 1347, + "pull_request": { + "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", + "html_url": "https://github.com/octocat/Hello-World/pull/1347", + "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch", + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + }, + "repository_url": "https://api.github.com/repos/octocat/Hello-World", + "state": "open", + "state_reason": "completed", + "title": "Found a bug", + "updated_at": "2011-04-22T13:33:48Z", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + }, + "node_id": "MDEwOklzc3VlRXZlbnQx", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1" + } + ] + }, + "issue-items": { + "value": [ + { + "active_lock_reason": "too heated", + "assignee": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "assignees": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + ], + "author_association": "COLLABORATOR", + "body": "I'm having a problem with this.", + "closed_at": null, + "closed_by": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "comments": 0, + "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "created_at": "2011-04-22T13:33:48Z", + "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", + "html_url": "https://github.com/octocat/Hello-World/issues/1347", + "id": 1, + "labels": [ + { + "color": "f29513", + "default": true, + "description": "Something isn't working", + "id": 208045946, + "name": "bug", + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug" + } + ], + "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", + "locked": true, + "milestone": { + "closed_at": "2013-02-12T13:22:01Z", + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "id": 1002604, + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "open_issues": 4, + "state": "open", + "title": "v1.0", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "node_id": "MDU6SXNzdWUx", + "number": 1347, + "pull_request": { + "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", + "html_url": "https://github.com/octocat/Hello-World/pull/1347", + "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch", + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + }, + "repository_url": "https://api.github.com/repos/octocat/Hello-World", + "state": "open", + "state_reason": "completed", + "title": "Found a bug", + "updated_at": "2011-04-22T13:33:48Z", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + ] + }, + "issue-search-result-item-paginated": { + "value": { + "incomplete_results": false, + "items": [ + { + "assignee": null, + "author_association": "COLLABORATOR", + "body": "...", + "closed_at": null, + "comments": 15, + "comments_url": "https://api.github.com/repos/batterseapower/pinyin-toolkit/issues/132/comments", + "created_at": "2009-07-12T20:10:41Z", + "events_url": "https://api.github.com/repos/batterseapower/pinyin-toolkit/issues/132/events", + "html_url": "https://github.com/batterseapower/pinyin-toolkit/issues/132", + "id": 35802, + "labels": [ + { + "color": "ff0000", + "id": 4, + "name": "bug", + "node_id": "MDU6TGFiZWw0", + "url": "https://api.github.com/repos/batterseapower/pinyin-toolkit/labels/bug" + } + ], + "labels_url": "https://api.github.com/repos/batterseapower/pinyin-toolkit/issues/132/labels{/name}", + "locked": true, + "milestone": { + "closed_at": "2013-02-12T13:22:01Z", + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "id": 1002604, + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "open_issues": 4, + "state": "open", + "title": "v1.0", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "node_id": "MDU6SXNzdWUzNTgwMg==", + "number": 132, + "pull_request": { + "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", + "html_url": "https://github.com/octocat/Hello-World/pull/1347", + "patch_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", + "url": "https://api/github.com/repos/octocat/Hello-World/pull/1347" + }, + "repository_url": "https://api.github.com/repos/batterseapower/pinyin-toolkit", + "score": 1, + "state": "open", + "state_reason": "completed", + "title": "Line Number Indexes Beyond 20 Not Displayed", + "updated_at": "2009-07-19T09:23:43Z", + "url": "https://api.github.com/repos/batterseapower/pinyin-toolkit/issues/132", + "user": { + "avatar_url": "https://secure.gravatar.com/avatar/934442aadfe3b2f4630510de416c5718?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", + "events_url": "https://api.github.com/users/Nick3C/events{/privacy}", + "followers_url": "https://api.github.com/users/Nick3C/followers", + "following_url": "https://api.github.com/users/Nick3C/following{/other_user}", + "gists_url": "https://api.github.com/users/Nick3C/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Nick3C", + "id": 90254, + "login": "Nick3C", + "node_id": "MDQ6VXNlcjkwMjU0", + "organizations_url": "https://api.github.com/users/Nick3C/orgs", + "received_events_url": "https://api.github.com/users/Nick3C/received_events", + "repos_url": "https://api.github.com/users/Nick3C/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/Nick3C/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Nick3C/subscriptions", + "type": "User", + "url": "https://api.github.com/users/Nick3C" + } + } + ], + "total_count": 280 + } + }, + "issue-with-repo-items": { + "value": [ + { + "active_lock_reason": "too heated", + "assignee": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "assignees": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + ], + "author_association": "COLLABORATOR", + "body": "I'm having a problem with this.", + "closed_at": null, + "comments": 0, + "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "created_at": "2011-04-22T13:33:48Z", + "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", + "html_url": "https://github.com/octocat/Hello-World/issues/1347", + "id": 1, + "labels": [ + { + "color": "f29513", + "default": true, + "description": "Something isn't working", + "id": 208045946, + "name": "bug", + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug" + } + ], + "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", + "locked": true, + "milestone": { + "closed_at": "2013-02-12T13:22:01Z", + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "id": 1002604, + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "open_issues": 4, + "state": "open", + "title": "v1.0", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "node_id": "MDU6SXNzdWUx", + "number": 1347, + "pull_request": { + "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", + "html_url": "https://github.com/octocat/Hello-World/pull/1347", + "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch", + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + }, + "repository": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + }, + "repository_url": "https://api.github.com/repos/octocat/Hello-World", + "state": "open", + "title": "Found a bug", + "updated_at": "2011-04-22T13:33:48Z", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + ] + }, + "job": { + "value": { + "check_run_url": "https://api.github.com/repos/octo-org/octo-repo/check-runs/399444496", + "completed_at": "2020-01-20T17:44:39Z", + "conclusion": "success", + "head_branch": "main", + "head_sha": "f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0", + "html_url": "https://github.com/octo-org/octo-repo/runs/399444496", + "id": 399444496, + "labels": [ + "self-hosted", + "foo", + "bar" + ], + "name": "build", + "node_id": "MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==", + "run_id": 29679449, + "run_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/29679449", + "runner_group_id": 2, + "runner_group_name": "my runner group", + "runner_id": 1, + "runner_name": "my runner", + "started_at": "2020-01-20T17:42:40Z", + "status": "completed", + "steps": [ + { + "completed_at": "2020-01-20T09:42:41.000-08:00", + "conclusion": "success", + "name": "Set up job", + "number": 1, + "started_at": "2020-01-20T09:42:40.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:42:45.000-08:00", + "conclusion": "success", + "name": "Run actions/checkout@v2", + "number": 2, + "started_at": "2020-01-20T09:42:41.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:42:45.000-08:00", + "conclusion": "success", + "name": "Set up Ruby", + "number": 3, + "started_at": "2020-01-20T09:42:45.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:42:48.000-08:00", + "conclusion": "success", + "name": "Run actions/cache@v3", + "number": 4, + "started_at": "2020-01-20T09:42:45.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:42:52.000-08:00", + "conclusion": "success", + "name": "Install Bundler", + "number": 5, + "started_at": "2020-01-20T09:42:48.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:42:53.000-08:00", + "conclusion": "success", + "name": "Install Gems", + "number": 6, + "started_at": "2020-01-20T09:42:52.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:42:59.000-08:00", + "conclusion": "success", + "name": "Run Tests", + "number": 7, + "started_at": "2020-01-20T09:42:53.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:44:39.000-08:00", + "conclusion": "success", + "name": "Deploy to Heroku", + "number": 8, + "started_at": "2020-01-20T09:42:59.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:44:39.000-08:00", + "conclusion": "success", + "name": "Post actions/cache@v3", + "number": 16, + "started_at": "2020-01-20T09:44:39.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:44:39.000-08:00", + "conclusion": "success", + "name": "Complete job", + "number": 17, + "started_at": "2020-01-20T09:44:39.000-08:00", + "status": "completed" + } + ], + "url": "https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496", + "workflow_name": "CI" + } + }, + "job-paginated": { + "value": { + "jobs": [ + { + "check_run_url": "https://api.github.com/repos/octo-org/octo-repo/check-runs/399444496", + "completed_at": "2020-01-20T17:44:39Z", + "conclusion": "success", + "head_branch": "main", + "head_sha": "f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0", + "html_url": "https://github.com/octo-org/octo-repo/runs/399444496", + "id": 399444496, + "labels": [ + "self-hosted", + "foo", + "bar" + ], + "name": "build", + "node_id": "MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==", + "run_id": 29679449, + "run_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/29679449", + "runner_group_id": 2, + "runner_group_name": "my runner group", + "runner_id": 1, + "runner_name": "my runner", + "started_at": "2020-01-20T17:42:40Z", + "status": "completed", + "steps": [ + { + "completed_at": "2020-01-20T09:42:41.000-08:00", + "conclusion": "success", + "name": "Set up job", + "number": 1, + "started_at": "2020-01-20T09:42:40.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:42:45.000-08:00", + "conclusion": "success", + "name": "Run actions/checkout@v2", + "number": 2, + "started_at": "2020-01-20T09:42:41.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:42:45.000-08:00", + "conclusion": "success", + "name": "Set up Ruby", + "number": 3, + "started_at": "2020-01-20T09:42:45.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:42:48.000-08:00", + "conclusion": "success", + "name": "Run actions/cache@v3", + "number": 4, + "started_at": "2020-01-20T09:42:45.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:42:52.000-08:00", + "conclusion": "success", + "name": "Install Bundler", + "number": 5, + "started_at": "2020-01-20T09:42:48.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:42:53.000-08:00", + "conclusion": "success", + "name": "Install Gems", + "number": 6, + "started_at": "2020-01-20T09:42:52.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:42:59.000-08:00", + "conclusion": "success", + "name": "Run Tests", + "number": 7, + "started_at": "2020-01-20T09:42:53.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:44:39.000-08:00", + "conclusion": "success", + "name": "Deploy to Heroku", + "number": 8, + "started_at": "2020-01-20T09:42:59.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:44:39.000-08:00", + "conclusion": "success", + "name": "Post actions/cache@v3", + "number": 16, + "started_at": "2020-01-20T09:44:39.000-08:00", + "status": "completed" + }, + { + "completed_at": "2020-01-20T09:44:39.000-08:00", + "conclusion": "success", + "name": "Complete job", + "number": 17, + "started_at": "2020-01-20T09:44:39.000-08:00", + "status": "completed" + } + ], + "url": "https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496", + "workflow_name": "CI" + } + ], + "total_count": 1 + } + }, + "key": { + "value": { + "created_at": "2020-06-11T21:31:57Z", + "id": 2, + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", + "read_only": false, + "title": "ssh-rsa AAAAB3NzaC1yc2EAAA", + "url": "https://api.github.com/user/keys/2", + "verified": false + } + }, + "key-items": { + "value": [ + { + "created_at": "2020-06-11T21:31:57Z", + "id": 2, + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", + "read_only": false, + "title": "ssh-rsa AAAAB3NzaC1yc2EAAA", + "url": "https://api.github.com/user/keys/2", + "verified": false + }, + { + "created_at": "2020-07-11T21:31:57Z", + "id": 3, + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJy931234", + "read_only": false, + "title": "ssh-rsa AAAAB3NzaC1yc2EAAB", + "url": "https://api.github.com/user/keys/3", + "verified": false + } + ] + }, + "key-simple-items": { + "value": [ + { + "id": 1, + "key": "ssh-rsa AAA..." + } + ] + }, + "label": { + "value": { + "color": "f29513", + "default": true, + "description": "Something isn't working", + "id": 208045946, + "name": "bug", + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug" + } + }, + "label-2": { + "value": { + "color": "b01f26", + "default": true, + "description": "Small bug fix required", + "id": 208045946, + "name": "bug :bug:", + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug%20:bug:" + } + }, + "label-items": { + "value": [ + { + "color": "f29513", + "default": true, + "description": "Something isn't working", + "id": 208045946, + "name": "bug", + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug" + }, + { + "color": "a2eeef", + "default": false, + "description": "New feature or request", + "id": 208045947, + "name": "enhancement", + "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement" + } + ] + }, + "label-items-2": { + "value": [ + { + "color": "f29513", + "default": true, + "description": "Something isn't working", + "id": 208045946, + "name": "bug", + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug" + } + ] + }, + "label-search-result-item-paginated": { + "value": { + "incomplete_results": false, + "items": [ + { + "color": "84b6eb", + "default": true, + "description": "New feature or request.", + "id": 418327088, + "name": "enhancement", + "node_id": "MDU6TGFiZWw0MTgzMjcwODg=", + "score": 1, + "url": "https://api.github.com/repos/octocat/linguist/labels/enhancement" + }, + { + "color": "ee0701", + "default": true, + "description": "Something isn't working.", + "id": 418327086, + "name": "bug", + "node_id": "MDU6TGFiZWw0MTgzMjcwODY=", + "score": 1, + "url": "https://api.github.com/repos/octocat/linguist/labels/bug" + } + ], + "total_count": 2 + } + }, + "language": { + "value": { + "C": 78769, + "Python": 7769 + } + }, + "license": { + "value": { + "body": "\n\nThe MIT License (MIT)\n\nCopyright (c) [year] [fullname]\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n", + "conditions": [ + "include-copyright" + ], + "description": "A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.", + "featured": true, + "html_url": "http://choosealicense.com/licenses/mit/", + "implementation": "Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.", + "key": "mit", + "limitations": [ + "no-liability" + ], + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "permissions": [ + "commercial-use", + "modifications", + "distribution", + "sublicense", + "private-use" + ], + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + } + }, + "license-content": { + "value": { + "_links": { + "git": "https://api.github.com/repos/benbalter/gman/git/blobs/401c59dcc4570b954dd6d345e76199e1f4e76266", + "html": "https://github.com/benbalter/gman/blob/master/LICENSE", + "self": "https://api.github.com/repos/benbalter/gman/contents/LICENSE?ref=master" + }, + "content": "VGhlIE1JVCBMaWNlbnNlIChNSVQpCgpDb3B5cmlnaHQgKGMpIDIwMTMgQmVu\nIEJhbHRlcgoKUGVybWlzc2lvbiBpcyBoZXJlYnkgZ3JhbnRlZCwgZnJlZSBv\nZiBjaGFyZ2UsIHRvIGFueSBwZXJzb24gb2J0YWluaW5nIGEgY29weSBvZgp0\naGlzIHNvZnR3YXJlIGFuZCBhc3NvY2lhdGVkIGRvY3VtZW50YXRpb24gZmls\nZXMgKHRoZSAiU29mdHdhcmUiKSwgdG8gZGVhbCBpbgp0aGUgU29mdHdhcmUg\nd2l0aG91dCByZXN0cmljdGlvbiwgaW5jbHVkaW5nIHdpdGhvdXQgbGltaXRh\ndGlvbiB0aGUgcmlnaHRzIHRvCnVzZSwgY29weSwgbW9kaWZ5LCBtZXJnZSwg\ncHVibGlzaCwgZGlzdHJpYnV0ZSwgc3VibGljZW5zZSwgYW5kL29yIHNlbGwg\nY29waWVzIG9mCnRoZSBTb2Z0d2FyZSwgYW5kIHRvIHBlcm1pdCBwZXJzb25z\nIHRvIHdob20gdGhlIFNvZnR3YXJlIGlzIGZ1cm5pc2hlZCB0byBkbyBzbywK\nc3ViamVjdCB0byB0aGUgZm9sbG93aW5nIGNvbmRpdGlvbnM6CgpUaGUgYWJv\ndmUgY29weXJpZ2h0IG5vdGljZSBhbmQgdGhpcyBwZXJtaXNzaW9uIG5vdGlj\nZSBzaGFsbCBiZSBpbmNsdWRlZCBpbiBhbGwKY29waWVzIG9yIHN1YnN0YW50\naWFsIHBvcnRpb25zIG9mIHRoZSBTb2Z0d2FyZS4KClRIRSBTT0ZUV0FSRSBJ\nUyBQUk9WSURFRCAiQVMgSVMiLCBXSVRIT1VUIFdBUlJBTlRZIE9GIEFOWSBL\nSU5ELCBFWFBSRVNTIE9SCklNUExJRUQsIElOQ0xVRElORyBCVVQgTk9UIExJ\nTUlURUQgVE8gVEhFIFdBUlJBTlRJRVMgT0YgTUVSQ0hBTlRBQklMSVRZLCBG\nSVRORVNTCkZPUiBBIFBBUlRJQ1VMQVIgUFVSUE9TRSBBTkQgTk9OSU5GUklO\nR0VNRU5ULiBJTiBOTyBFVkVOVCBTSEFMTCBUSEUgQVVUSE9SUyBPUgpDT1BZ\nUklHSFQgSE9MREVSUyBCRSBMSUFCTEUgRk9SIEFOWSBDTEFJTSwgREFNQUdF\nUyBPUiBPVEhFUiBMSUFCSUxJVFksIFdIRVRIRVIKSU4gQU4gQUNUSU9OIE9G\nIENPTlRSQUNULCBUT1JUIE9SIE9USEVSV0lTRSwgQVJJU0lORyBGUk9NLCBP\nVVQgT0YgT1IgSU4KQ09OTkVDVElPTiBXSVRIIFRIRSBTT0ZUV0FSRSBPUiBU\nSEUgVVNFIE9SIE9USEVSIERFQUxJTkdTIElOIFRIRSBTT0ZUV0FSRS4K\n", + "download_url": "https://raw.githubusercontent.com/benbalter/gman/master/LICENSE?lab=true", + "encoding": "base64", + "git_url": "https://api.github.com/repos/benbalter/gman/git/blobs/401c59dcc4570b954dd6d345e76199e1f4e76266", + "html_url": "https://github.com/benbalter/gman/blob/master/LICENSE", + "license": { + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "name": "LICENSE", + "path": "LICENSE", + "sha": "401c59dcc4570b954dd6d345e76199e1f4e76266", + "size": 1077, + "type": "file", + "url": "https://api.github.com/repos/benbalter/gman/contents/LICENSE?ref=master" + } + }, + "license-simple-items": { + "value": [ + { + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + { + "key": "lgpl-3.0", + "name": "GNU Lesser General Public License v3.0", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "LGPL-3.0", + "url": "https://api.github.com/licenses/lgpl-3.0" + }, + { + "key": "mpl-2.0", + "name": "Mozilla Public License 2.0", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MPL-2.0", + "url": "https://api.github.com/licenses/mpl-2.0" + }, + { + "key": "agpl-3.0", + "name": "GNU Affero General Public License v3.0", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "AGPL-3.0", + "url": "https://api.github.com/licenses/agpl-3.0" + }, + { + "key": "unlicense", + "name": "The Unlicense", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "Unlicense", + "url": "https://api.github.com/licenses/unlicense" + }, + { + "key": "apache-2.0", + "name": "Apache License 2.0", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0" + }, + { + "key": "gpl-3.0", + "name": "GNU General Public License v3.0", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "GPL-3.0", + "url": "https://api.github.com/licenses/gpl-3.0" + } + ] + }, + "marketplace-listing-plan-items": { + "value": [ + { + "accounts_url": "https://api.github.com/marketplace_listing/plans/1313/accounts", + "bullets": [ + "Up to 25 private repositories", + "11 concurrent builds" + ], + "description": "A professional-grade CI solution", + "has_free_trial": true, + "id": 1313, + "monthly_price_in_cents": 1099, + "name": "Pro", + "number": 3, + "price_model": "FLAT_RATE", + "state": "published", + "unit_name": null, + "url": "https://api.github.com/marketplace_listing/plans/1313", + "yearly_price_in_cents": 11870 + } + ] + }, + "marketplace-purchase": { + "value": { + "email": "billing@github.com", + "id": 4, + "login": "github", + "marketplace_pending_change": { + "effective_date": "2017-11-11T00:00:00Z", + "id": 77, + "plan": { + "accounts_url": "https://api.github.com/marketplace_listing/plans/1111/accounts", + "bullets": [ + "Up to 10 private repositories", + "3 concurrent builds" + ], + "description": "A professional-grade CI solution", + "has_free_trial": true, + "id": 1111, + "monthly_price_in_cents": 699, + "name": "Startup", + "number": 2, + "price_model": "FLAT_RATE", + "state": "published", + "unit_name": null, + "url": "https://api.github.com/marketplace_listing/plans/1111", + "yearly_price_in_cents": 7870 + }, + "unit_count": null + }, + "marketplace_purchase": { + "billing_cycle": "monthly", + "free_trial_ends_on": "2017-11-11T00:00:00Z", + "next_billing_date": "2017-11-11T00:00:00Z", + "on_free_trial": true, + "plan": { + "accounts_url": "https://api.github.com/marketplace_listing/plans/1313/accounts", + "bullets": [ + "Up to 25 private repositories", + "11 concurrent builds" + ], + "description": "A professional-grade CI solution", + "has_free_trial": true, + "id": 1313, + "monthly_price_in_cents": 1099, + "name": "Pro", + "number": 3, + "price_model": "FLAT_RATE", + "state": "published", + "unit_name": null, + "url": "https://api.github.com/marketplace_listing/plans/1313", + "yearly_price_in_cents": 11870 + }, + "unit_count": null, + "updated_at": "2017-11-02T01:12:12Z" + }, + "organization_billing_email": "billing@github.com", + "type": "Organization", + "url": "https://api.github.com/orgs/github" + } + }, + "marketplace-purchase-items": { + "value": [ + { + "id": 4, + "login": "github", + "marketplace_pending_change": { + "effective_date": "2017-11-11T00:00:00Z", + "id": 77, + "plan": { + "accounts_url": "https://api.github.com/marketplace_listing/plans/1111/accounts", + "bullets": [ + "Up to 10 private repositories", + "3 concurrent builds" + ], + "description": "A professional-grade CI solution", + "has_free_trial": true, + "id": 1111, + "monthly_price_in_cents": 699, + "name": "Startup", + "number": 2, + "price_model": "FLAT_RATE", + "state": "published", + "unit_name": null, + "url": "https://api.github.com/marketplace_listing/plans/1111", + "yearly_price_in_cents": 7870 + }, + "unit_count": null + }, + "marketplace_purchase": { + "billing_cycle": "monthly", + "free_trial_ends_on": "2017-11-11T00:00:00Z", + "next_billing_date": "2017-11-11T00:00:00Z", + "on_free_trial": true, + "plan": { + "accounts_url": "https://api.github.com/marketplace_listing/plans/1313/accounts", + "bullets": [ + "Up to 25 private repositories", + "11 concurrent builds" + ], + "description": "A professional-grade CI solution", + "has_free_trial": true, + "id": 1313, + "monthly_price_in_cents": 1099, + "name": "Pro", + "number": 3, + "price_model": "FLAT_RATE", + "state": "published", + "unit_name": null, + "url": "https://api.github.com/marketplace_listing/plans/1313", + "yearly_price_in_cents": 11870 + }, + "unit_count": null, + "updated_at": "2017-11-02T01:12:12Z" + }, + "organization_billing_email": "billing@github.com", + "type": "Organization", + "url": "https://api.github.com/orgs/github" + } + ] + }, + "merged-upstream": { + "value": { + "base_branch": "defunkt:main", + "merge_type": "fast-forward", + "message": "Successfully fetched and fast-forwarded from upstream defunkt:main" + } + }, + "migration": { + "value": { + "created_at": "2015-07-06T15:33:38-07:00", + "exclude_attachments": false, + "exclude_owner_projects": false, + "exclude_releases": false, + "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "id": 79, + "lock_repositories": true, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "org_metadata_only": false, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "repositories": [ + { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + } + ], + "state": "exported", + "updated_at": "2015-07-06T15:33:38-07:00", + "url": "https://api.github.com/orgs/octo-org/migrations/79" + } + }, + "migration-2": { + "value": { + "created_at": "2015-07-06T15:33:38-07:00", + "exclude_attachments": false, + "exclude_owner_projects": false, + "exclude_releases": false, + "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "id": 79, + "lock_repositories": true, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "repositories": [ + { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + } + ], + "state": "pending", + "updated_at": "2015-07-06T15:33:38-07:00", + "url": "https://api.github.com/orgs/octo-org/migrations/79" + } + }, + "migration-items": { + "value": [ + { + "created_at": "2015-07-06T15:33:38-07:00", + "exclude_attachments": false, + "exclude_owner_projects": false, + "exclude_releases": false, + "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "id": 79, + "lock_repositories": true, + "node_id": "MDQ6VXNlcjE=", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "repositories": [ + { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + } + ], + "state": "pending", + "updated_at": "2015-07-06T15:33:38-07:00", + "url": "https://api.github.com/orgs/octo-org/migrations/79" + } + ] + }, + "migration-with-short-org": { + "value": { + "created_at": "2015-07-06T15:33:38-07:00", + "exclude_attachments": false, + "exclude_owner_projects": false, + "exclude_releases": false, + "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "id": 79, + "lock_repositories": true, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/orgs/github/events", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/orgs/github/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/orgs/github" + }, + "repositories": [ + { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + } + ], + "state": "exported", + "updated_at": "2015-07-06T15:33:38-07:00", + "url": "https://api.github.com/orgs/octo-org/migrations/79" + } + }, + "migration-with-short-org-2": { + "value": { + "created_at": "2015-07-06T15:33:38-07:00", + "exclude_attachments": false, + "exclude_owner_projects": false, + "exclude_releases": false, + "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "id": 79, + "lock_repositories": true, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/orgs/github/events", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/orgs/github/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/orgs/github" + }, + "repositories": [ + { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + } + ], + "state": "pending", + "updated_at": "2015-07-06T15:33:38-07:00", + "url": "https://api.github.com/orgs/octo-org/migrations/79" + } + }, + "migration-with-short-org-items": { + "value": [ + { + "created_at": "2015-07-06T15:33:38-07:00", + "exclude_attachments": false, + "exclude_owner_projects": false, + "exclude_releases": false, + "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "id": 79, + "lock_repositories": true, + "node_id": "MDQ6VXNlcjE=", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/orgs/github/events", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/orgs/github/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/orgs/github" + }, + "repositories": [ + { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + } + ], + "state": "pending", + "updated_at": "2015-07-06T15:33:38-07:00", + "url": "https://api.github.com/orgs/octo-org/migrations/79" + } + ] + }, + "milestone": { + "value": { + "closed_at": "2013-02-12T13:22:01Z", + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "id": 1002604, + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "open_issues": 4, + "state": "open", + "title": "v1.0", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + } + }, + "milestone-items": { + "value": [ + { + "closed_at": "2013-02-12T13:22:01Z", + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "id": 1002604, + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "open_issues": 4, + "state": "open", + "title": "v1.0", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + } + ] + }, + "minimal-repository": { + "value": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "template_repository": { + "allow_auto_merge": false, + "allow_forking": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World-Template.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World-Template/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World-Template/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World-Template/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World-Template/events", + "fork": false, + "forks": 9, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World-Template/forks", + "full_name": "octocat/Hello-World-Template", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World-Template.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World-Template/hooks", + "html_url": "https://github.com/octocat/Hello-World-Template", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World-Template/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World-Template/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World-Template", + "name": "Hello-World-Template", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World-Template.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World-Template/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World-Template", + "tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World-Template/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World-Template", + "visibility": "public", + "watchers": 80, + "watchers_count": 80 + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers_count": 80 + } + }, + "minimal-repository-items": { + "value": [ + { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_discussions": false, + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "security_and_analysis": { + "advanced_security": { + "status": "enabled" + }, + "secret_scanning": { + "status": "enabled" + }, + "secret_scanning_push_protection": { + "status": "disabled" + } + }, + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers_count": 80 + } + ] + }, + "minimal-repository-items-2": { + "value": [ + { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": true, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers_count": 80 + } + ] + }, + "minimal-repository-paginated": { + "value": { + "repositories": [ + { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 9, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "organization": null, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 80, + "watchers_count": 80 + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + } + ], + "total_count": 1 + } + }, + "notifications-mark-read": { + "value": { + "message": "Unread notifications couldn't be marked in a single request. Notifications are being marked as read in the background." + } + }, + "octocat": { + "value": " MMM. .MMM\n MMMMMMMMMMMMMMMMMMM\n MMMMMMMMMMMMMMMMMMM ___________________________________\n MMMMMMMMMMMMMMMMMMMMM | |\n MMMMMMMMMMMMMMMMMMMMMMM | Avoid administrative distraction. |\n MMMMMMMMMMMMMMMMMMMMMMMM |_ _______________________________|\n MMMM::- -:::::::- -::MMMM |/\n MM~:~ 00~:::::~ 00~:~MM\n .. MMMMM::.00:::+:::.00::MMMMM ..\n .MM::::: ._. :::::MM.\n MMMM;:::::;MMMM\n -MM MMMMMMM\n ^ M+ MMMMMMMMM\n MMMMMMM MM MM MM\n MM MM MM MM\n MM MM MM MM\n .~~MM~MM~MM~MM~~.\n ~~~~MM:~MM~~~MM~:MM~~~~\n ~~~~~~==~==~~~==~==~~~~~~\n ~~~~~~==~==~==~==~~~~~~\n :~==~==~==~==~~\n" + }, + "oidc-custom-sub": { + "value": { + "include_claim_keys": [ + "repo", + "context" + ] + } + }, + "oidc-custom-sub-repo": { + "value": { + "include_claim_keys": [ + "repo", + "context" + ], + "use_default": false + } + }, + "org-actions-cache-usage-by-repo": { + "value": { + "repository_cache_usages": [ + { + "active_caches_count": 3, + "active_caches_size_in_bytes": 2322142, + "full_name": "octo-org/Hello-World" + }, + { + "active_caches_count": 2, + "active_caches_size_in_bytes": 1022142, + "full_name": "octo-org/server" + } + ], + "total_count": 2 + } + }, + "org-hook": { + "value": { + "active": true, + "config": { + "content_type": "json", + "url": "http://example.com" + }, + "created_at": "2011-09-06T17:26:27Z", + "deliveries_url": "https://api.github.com/orgs/octocat/hooks/1/deliveries", + "events": [ + "push", + "pull_request" + ], + "id": 1, + "name": "web", + "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings", + "type": "Organization", + "updated_at": "2011-09-06T20:39:23Z", + "url": "https://api.github.com/orgs/octocat/hooks/1" + } + }, + "org-hook-2": { + "value": { + "active": true, + "config": { + "content_type": "json", + "url": "http://example.com" + }, + "created_at": "2011-09-06T17:26:27Z", + "deliveries_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/deliveries", + "events": [ + "pull_request" + ], + "id": 1, + "name": "web", + "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings", + "type": "Organization", + "updated_at": "2011-09-06T20:39:23Z", + "url": "https://api.github.com/orgs/octocat/hooks/1" + } + }, + "org-hook-items": { + "value": [ + { + "active": true, + "config": { + "content_type": "json", + "url": "http://example.com" + }, + "created_at": "2011-09-06T17:26:27Z", + "deliveries_url": "https://api.github.com/orgs/octocat/hooks/1/deliveries", + "events": [ + "push", + "pull_request" + ], + "id": 1, + "name": "web", + "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings", + "type": "Organization", + "updated_at": "2011-09-06T20:39:23Z", + "url": "https://api.github.com/orgs/octocat/hooks/1" + } + ] + }, + "org-membership": { + "value": { + "organization": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "id": 1, + "issues_url": "https://api.github.com/orgs/github/issues", + "login": "github", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "repos_url": "https://api.github.com/orgs/github/repos", + "url": "https://api.github.com/orgs/github" + }, + "organization_url": "https://api.github.com/orgs/invitocat", + "role": "admin", + "state": "pending", + "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "org-membership-2": { + "value": { + "organization": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "id": 1, + "issues_url": "https://api.github.com/orgs/github/issues", + "login": "github", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "repos_url": "https://api.github.com/orgs/github/repos", + "url": "https://api.github.com/orgs/github" + }, + "organization_url": "https://api.github.com/orgs/octocat", + "role": "admin", + "state": "active", + "url": "https://api.github.com/orgs/octocat/memberships/defunkt", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "org-membership-items": { + "value": [ + { + "organization": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "id": 1, + "issues_url": "https://api.github.com/orgs/github/issues", + "login": "github", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "repos_url": "https://api.github.com/orgs/github/repos", + "url": "https://api.github.com/orgs/github" + }, + "organization_url": "https://api.github.com/orgs/octocat", + "role": "admin", + "state": "active", + "url": "https://api.github.com/orgs/octocat/memberships/defunkt", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + }, + { + "organization": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "id": 1, + "issues_url": "https://api.github.com/orgs/github/issues", + "login": "github", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "repos_url": "https://api.github.com/orgs/github/repos", + "url": "https://api.github.com/orgs/github" + }, + "organization_url": "https://api.github.com/orgs/invitocat", + "role": "admin", + "state": "pending", + "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + ] + }, + "org-membership-response-if-user-has-an-active-admin-membership-with-organization": { + "summary": "Response if user has an active admin membership with organization", + "value": { + "organization": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "id": 1, + "issues_url": "https://api.github.com/orgs/github/issues", + "login": "github", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "repos_url": "https://api.github.com/orgs/github/repos", + "url": "https://api.github.com/orgs/github" + }, + "organization_url": "https://api.github.com/orgs/octocat", + "role": "admin", + "state": "active", + "url": "https://api.github.com/orgs/octocat/memberships/defunkt", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "organization-actions-secret": { + "value": { + "created_at": "2019-08-10T14:59:22Z", + "name": "GH_TOKEN", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected" + } + }, + "organization-actions-secret-paginated": { + "value": { + "secrets": [ + { + "created_at": "2019-08-10T14:59:22Z", + "name": "GIST_ID", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "private" + }, + { + "created_at": "2019-08-10T14:59:22Z", + "name": "DEPLOY_TOKEN", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "all" + }, + { + "created_at": "2019-08-10T14:59:22Z", + "name": "GH_TOKEN", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected" + } + ], + "total_count": 3 + } + }, + "organization-actions-variable": { + "value": { + "created_at": "2019-08-10T14:59:22Z", + "name": "USERNAME", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories", + "updated_at": "2020-01-10T14:59:22Z", + "value": "octocat", + "visibility": "selected" + } + }, + "organization-actions-variables-paginated": { + "value": { + "total_count": 3, + "variables": [ + { + "created_at": "2019-08-10T14:59:22Z", + "name": "USERNAME", + "updated_at": "2020-01-10T14:59:22Z", + "value": "octocat", + "visibility": "private" + }, + { + "created_at": "2019-08-10T14:59:22Z", + "name": "ACTIONS_RUNNER_DEBUG", + "updated_at": "2020-01-10T14:59:22Z", + "value": true, + "visibility": "all" + }, + { + "created_at": "2019-08-10T14:59:22Z", + "name": "ADMIN_EMAIL", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories", + "updated_at": "2020-01-10T14:59:22Z", + "value": "octocat@github.com", + "visibility": "selected" + } + ] + } + }, + "organization-dependabot-secret": { + "value": { + "created_at": "2019-08-10T14:59:22Z", + "name": "NPM_TOKEN", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/dependabot/secrets/NPM_TOKEN/repositories", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected" + } + }, + "organization-dependabot-secret-paginated": { + "value": { + "secrets": [ + { + "created_at": "2021-08-10T14:59:22Z", + "name": "MY_ARTIFACTORY_PASSWORD", + "updated_at": "2021-12-10T14:59:22Z", + "visibility": "private" + }, + { + "created_at": "2021-08-10T14:59:22Z", + "name": "NPM_TOKEN", + "updated_at": "2021-12-10T14:59:22Z", + "visibility": "all" + }, + { + "created_at": "2021-08-10T14:59:22Z", + "name": "GH_TOKEN", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories", + "updated_at": "2021-12-10T14:59:22Z", + "visibility": "selected" + } + ], + "total_count": 3 + } + }, + "organization-full": { + "value": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "billing_email": "mona@github.com", + "blog": "https://github.com/blog", + "collaborators": 8, + "company": "GitHub", + "created_at": "2008-01-14T04:33:35Z", + "default_repository_permission": "read", + "description": "A great organization", + "disk_usage": 10000, + "email": "octocat@github.com", + "events_url": "https://api.github.com/orgs/github/events", + "followers": 20, + "following": 0, + "has_organization_projects": true, + "has_repository_projects": true, + "hooks_url": "https://api.github.com/orgs/github/hooks", + "html_url": "https://github.com/octocat", + "id": 1, + "is_verified": true, + "issues_url": "https://api.github.com/orgs/github/issues", + "location": "San Francisco", + "login": "github", + "members_allowed_repository_creation_type": "all", + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_create_private_pages": true, + "members_can_create_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_public_repositories": false, + "members_can_create_repositories": true, + "members_can_fork_private_repositories": false, + "members_url": "https://api.github.com/orgs/github/members{/member}", + "name": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "owned_private_repos": 100, + "plan": { + "name": "Medium", + "private_repos": 20, + "space": 400 + }, + "private_gists": 81, + "public_gists": 1, + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "public_repos": 2, + "repos_url": "https://api.github.com/orgs/github/repos", + "total_private_repos": 100, + "twitter_username": "github", + "two_factor_requirement_enabled": true, + "type": "Organization", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/orgs/github", + "web_commit_signoff_required": false + } + }, + "organization-full-default-response": { + "summary": "Default response", + "value": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "billing_email": "mona@github.com", + "blog": "https://github.com/blog", + "collaborators": 8, + "company": "GitHub", + "created_at": "2008-01-14T04:33:35Z", + "default_repository_permission": "read", + "description": "A great organization", + "disk_usage": 10000, + "email": "octocat@github.com", + "events_url": "https://api.github.com/orgs/github/events", + "followers": 20, + "following": 0, + "has_organization_projects": true, + "has_repository_projects": true, + "hooks_url": "https://api.github.com/orgs/github/hooks", + "html_url": "https://github.com/octocat", + "id": 1, + "is_verified": true, + "issues_url": "https://api.github.com/orgs/github/issues", + "location": "San Francisco", + "login": "github", + "members_allowed_repository_creation_type": "all", + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_create_private_repositories": false, + "members_can_create_public_repositories": false, + "members_can_create_repositories": true, + "members_can_fork_private_repositories": false, + "members_url": "https://api.github.com/orgs/github/members{/member}", + "name": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "owned_private_repos": 100, + "plan": { + "filled_seats": 4, + "name": "Medium", + "private_repos": 20, + "seats": 5, + "space": 400 + }, + "private_gists": 81, + "public_gists": 1, + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "public_repos": 2, + "repos_url": "https://api.github.com/orgs/github/repos", + "total_private_repos": 100, + "twitter_username": "github", + "two_factor_requirement_enabled": true, + "type": "Organization", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/orgs/github" + } + }, + "organization-invitation": { + "value": { + "created_at": "2016-11-30T06:46:10-08:00", + "email": "octocat@github.com", + "id": 1, + "invitation_source": "member", + "invitation_teams_url": "https://api.github.com/organizations/2/invitations/1/teams", + "inviter": { + "avatar_url": "https://github.com/images/error/other_user_happy.gif", + "events_url": "https://api.github.com/users/other_user/events{/privacy}", + "followers_url": "https://api.github.com/users/other_user/followers", + "following_url": "https://api.github.com/users/other_user/following{/other_user}", + "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/other_user", + "id": 1, + "login": "other_user", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/other_user/orgs", + "received_events_url": "https://api.github.com/users/other_user/received_events", + "repos_url": "https://api.github.com/users/other_user/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", + "type": "User", + "url": "https://api.github.com/users/other_user" + }, + "login": "monalisa", + "node_id": "MDQ6VXNlcjE=", + "role": "direct_member", + "team_count": 2 + } + }, + "organization-invitation-items": { + "value": [ + { + "created_at": "2016-11-30T06:46:10-08:00", + "email": "octocat@github.com", + "failed_at": "", + "failed_reason": "", + "id": 1, + "invitation_source": "member", + "invitation_teams_url": "https://api.github.com/organizations/2/invitations/1/teams", + "inviter": { + "avatar_url": "https://github.com/images/error/other_user_happy.gif", + "events_url": "https://api.github.com/users/other_user/events{/privacy}", + "followers_url": "https://api.github.com/users/other_user/followers", + "following_url": "https://api.github.com/users/other_user/following{/other_user}", + "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/other_user", + "id": 1, + "login": "other_user", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/other_user/orgs", + "received_events_url": "https://api.github.com/users/other_user/received_events", + "repos_url": "https://api.github.com/users/other_user/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", + "type": "User", + "url": "https://api.github.com/users/other_user" + }, + "login": "monalisa", + "node_id": "MDQ6VXNlcjE=", + "role": "direct_member", + "team_count": 2 + } + ] + }, + "organization-secret-scanning-alert-list": { + "value": [ + { + "created_at": "2020-11-06T18:48:51Z", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "number": 2, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypassed_by": { + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/monalisa", + "id": 2, + "login": "monalisa", + "node_id": "MDQ6VXNlcjI=", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "repos_url": "https://api.github.com/users/monalisa/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "type": "User", + "url": "https://api.github.com/users/monalisa" + }, + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "resolution": "false_positive", + "resolution_comment": "Example comment", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/monalisa", + "id": 2, + "login": "monalisa", + "node_id": "MDQ6VXNlcjI=", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "repos_url": "https://api.github.com/users/monalisa/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "type": "User", + "url": "https://api.github.com/users/monalisa" + }, + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "state": "resolved", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2" + }, + { + "created_at": "2020-11-06T18:18:30Z", + "html_url": "https://github.com/owner/repo/security/secret-scanning/1", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/1/locations", + "number": 1, + "push_protection_bypassed": false, + "push_protection_bypassed_at": null, + "push_protection_bypassed_by": null, + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "resolution": null, + "resolution_comment": null, + "resolved_at": null, + "resolved_by": null, + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "secret_type": "mailchimp_api_key", + "secret_type_display_name": "Mailchimp API Key", + "state": "open", + "url": "https://api.github.com/repos/owner/repo/secret-scanning/alerts/1" + } + ] + }, + "organization-simple-items": { + "value": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "id": 1, + "issues_url": "https://api.github.com/orgs/github/issues", + "login": "github", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "repos_url": "https://api.github.com/orgs/github/repos", + "url": "https://api.github.com/orgs/github" + } + ] + }, + "package-org": { + "value": { + "created_at": "2020-05-19T22:19:11Z", + "html_url": "https://github.com/orgs/github/packages/container/package/hello_docker", + "id": 197, + "name": "hello_docker", + "owner": { + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "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}", + "gravatar_id": "", + "html_url": "https://github.com/github", + "id": 9919, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "organizations_url": "https://api.github.com/users/github/orgs", + "received_events_url": "https://api.github.com/users/github/received_events", + "repos_url": "https://api.github.com/users/github/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/github" + }, + "package_type": "container", + "updated_at": "2020-05-19T22:19:11Z", + "url": "https://api.github.com/orgs/github/packages/container/hello_docker", + "version_count": 1, + "visibility": "private" + } + }, + "package-user": { + "value": { + "created_at": "2019-10-20T14:17:14Z", + "html_url": "https://github.com/octocat/octo-name-repo/packages/40201", + "id": 40201, + "name": "octo-name", + "owner": { + "avatar_url": "https://avatars.githubusercontent.com/u/209477?v=4", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 209477, + "login": "octocat", + "node_id": "MDQ6VXNlcjIwOTQ3Nw==", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "package_type": "rubygems", + "repository": { + "archive_url": "https://api.github.com/repos/octocat/octo-name-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/octo-name-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/octo-name-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/octo-name-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/octo-name-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/octo-name-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/octo-name-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/octo-name-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/octo-name-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/octo-name-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/octo-name-repo/deployments", + "description": "Project for octocats", + "downloads_url": "https://api.github.com/repos/octocat/octo-name-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/octo-name-repo/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/octo-name-repo/forks", + "full_name": "octocat/octo-name-repo", + "git_commits_url": "https://api.github.com/repos/octocat/octo-name-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/octo-name-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/octo-name-repo/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/octo-name-repo/hooks", + "html_url": "https://github.com/octocat/octo-name-repo", + "id": 216219492, + "issue_comment_url": "https://api.github.com/repos/octocat/octo-name-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/octo-name-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/octo-name-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/octo-name-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/octo-name-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/octo-name-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/octo-name-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/octo-name-repo/milestones{/number}", + "name": "octo-name-repo", + "node_id": "MDEwOlJlcG9zaXRvcnkyMTYyMTk0OTI=", + "notifications_url": "https://api.github.com/repos/octocat/octo-name-repo/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://avatars.githubusercontent.com/u/209477?v=4", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 209477, + "login": "octocat", + "node_id": "MDQ6VXNlcjIwOTQ3Nw==", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/octo-name-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/octo-name-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/octo-name-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/octo-name-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/octo-name-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/octo-name-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/octo-name-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/octo-name-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/octo-name-repo/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/octo-name-repo" + }, + "updated_at": "2019-10-20T14:17:14Z", + "url": "https://api.github.com/users/octocat/packages/rubygems/octo-name", + "version_count": 3, + "visibility": "public" + } + }, + "package-version-authenticated-user": { + "value": { + "created_at": "2020-05-15T03:46:45Z", + "html_url": "https://github.com/users/octocat/packages/container/hello_docker/214", + "id": 214, + "metadata": { + "container": { + "tags": [ + "1.13.6" + ] + }, + "package_type": "container" + }, + "name": "sha256:3561f0cff06caccddb99c93bd26e712fcc56a811de0f8ea7a17bb865f30b176a", + "package_html_url": "https://github.com/users/octocat/packages/container/package/hello_docker", + "updated_at": "2020-05-15T03:46:45Z", + "url": "https://api.github.com/users/octocat/packages/container/hello_docker/versions/214" + } + }, + "package-version-org": { + "value": { + "created_at": "2020-05-19T22:19:11Z", + "html_url": "https://github.com/orgs/github/packages/container/hello_docker/836", + "id": 836, + "metadata": { + "container": { + "tags": [ + "latest" + ] + }, + "package_type": "container" + }, + "name": "sha256:b3d3e366b55f9a54599220198b3db5da8f53592acbbb7dc7e4e9878762fc5344", + "package_html_url": "https://github.com/orgs/github/packages/container/package/hello_docker", + "updated_at": "2020-05-19T22:19:11Z", + "url": "https://api.github.com/orgs/github/packages/container/hello_docker/versions/836" + } + }, + "package-version-user": { + "value": { + "created_at": "2019-12-01T20:49:29Z", + "description": "Octo-name client for Ruby", + "html_url": "https://github.com/octocat/octo-name-repo/packages/40201?version=0.2.0", + "id": 387039, + "license": "MIT", + "metadata": { + "package_type": "rubygems" + }, + "name": "0.2.0", + "package_html_url": "https://github.com/octocat/octo-name-repo/packages/40201", + "updated_at": "2019-12-01T20:49:30Z", + "url": "https://api.github.com/users/octocat/packages/rubygems/octo-name/versions/387039" + } + }, + "package-versions-for-authenticated-user": { + "value": [ + { + "created_at": "2020-09-11T21:56:40Z", + "html_url": "https://github.com/users/octocat/packages/container/hello_docker/45763", + "id": 45763, + "metadata": { + "container": { + "tags": [ + "latest" + ] + }, + "package_type": "container" + }, + "name": "sha256:08a44bab0bddaddd8837a8b381aebc2e4b933768b981685a9e088360af0d3dd9", + "package_html_url": "https://github.com/users/octocat/packages/container/package/hello_docker", + "updated_at": "2021-02-05T21:32:32Z", + "url": "https://api.github.com/users/octocat/packages/container/hello_docker/versions/45763" + }, + { + "created_at": "2020-05-21T22:22:20Z", + "html_url": "https://github.com/users/octocat/packages/container/hello_docker/881", + "id": 881, + "metadata": { + "container": { + "tags": [] + }, + "package_type": "container" + }, + "name": "sha256:b3d3e366b55f9a54599220198b3db5da8f53592acbbb7dc7e4e9878762fc5344", + "package_html_url": "https://github.com/users/octocat/packages/container/package/hello_docker", + "updated_at": "2021-02-05T21:32:32Z", + "url": "https://api.github.com/users/octocat/packages/container/hello_docker/versions/881" + } + ] + }, + "package-versions-for-org": { + "value": [ + { + "created_at": "2019-11-05T22:49:04Z", + "html_url": "https://github.com/octo-org/hello-world-npm/packages/43752?version=1.0.4", + "id": 245301, + "metadata": { + "package_type": "npm" + }, + "name": "1.0.4", + "package_html_url": "https://github.com/octo-org/hello-world-npm/packages/43752", + "updated_at": "2019-11-05T22:49:04Z", + "url": "https://api.github.com/orgs/octo-org/packages/npm/hello-world-npm/versions/245301" + }, + { + "created_at": "2019-10-29T15:42:11Z", + "html_url": "https://github.com/octo-org/hello-world-npm/packages/43752?version=1.0.3", + "id": 209672, + "metadata": { + "package_type": "npm" + }, + "name": "1.0.3", + "package_html_url": "https://github.com/octo-org/hello-world-npm/packages/43752", + "updated_at": "2019-10-29T15:42:12Z", + "url": "https://api.github.com/orgs/octo-org/packages/npm/hello-world-npm/versions/209672" + } + ] + }, + "package-versions-for-user": { + "value": [ + { + "created_at": "2020-08-31T15:22:11Z", + "description": "Project for octocats", + "html_url": "https://github.com/octocat/octo-name-repo/packages/40201?version=0.3.0", + "id": 3497268, + "license": "MIT", + "metadata": { + "package_type": "rubygems" + }, + "name": "0.3.0", + "package_html_url": "https://github.com/octocat/octo-name-repo/packages/40201", + "updated_at": "2020-08-31T15:22:12Z", + "url": "https://api.github.com/users/octocat/packages/rubygems/octo-name/versions/3497268" + }, + { + "created_at": "2019-12-01T20:49:29Z", + "description": "Project for octocats", + "html_url": "https://github.com/octocat/octo-name-repo/packages/40201?version=0.2.0", + "id": 387039, + "license": "MIT", + "metadata": { + "package_type": "rubygems" + }, + "name": "0.2.0", + "package_html_url": "https://github.com/octocat/octo-name-repo/packages/40201", + "updated_at": "2019-12-01T20:49:30Z", + "url": "https://api.github.com/users/octocat/packages/rubygems/octo-name/versions/387039" + }, + { + "created_at": "2019-10-20T14:17:14Z", + "html_url": "https://github.com/octocat/octo-name-repo/packages/40201?version=0.1.0", + "id": 169770, + "license": "MIT", + "metadata": { + "package_type": "rubygems" + }, + "name": "0.1.0", + "package_html_url": "https://github.com/octocat/octo-name-repo/packages/40201", + "updated_at": "2019-10-20T14:17:15Z", + "url": "https://api.github.com/users/octocat/packages/rubygems/octo-name/versions/169770" + } + ] + }, + "packages-billing-usage": { + "value": { + "included_gigabytes_bandwidth": 10, + "total_gigabytes_bandwidth_used": 50, + "total_paid_gigabytes_bandwidth_used": 40 + } + }, + "packages-for-org": { + "value": [ + { + "created_at": "2020-05-19T22:19:11Z", + "html_url": "https://github.com/orgs/github/packages/container/package/hello_docker", + "id": 197, + "name": "hello_docker", + "owner": { + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "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}", + "gravatar_id": "", + "html_url": "https://github.com/github", + "id": 9919, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "organizations_url": "https://api.github.com/users/github/orgs", + "received_events_url": "https://api.github.com/users/github/received_events", + "repos_url": "https://api.github.com/users/github/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/github" + }, + "package_type": "container", + "updated_at": "2020-05-19T22:19:11Z", + "url": "https://api.github.com/orgs/github/packages/container/hello_docker", + "version_count": 1, + "visibility": "private" + }, + { + "created_at": "2020-05-20T22:19:11Z", + "html_url": "https://github.com/orgs/github/packages/container/package/goodbye_docker", + "id": 198, + "name": "goodbye_docker", + "owner": { + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "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}", + "gravatar_id": "", + "html_url": "https://github.com/github", + "id": 9919, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "organizations_url": "https://api.github.com/users/github/orgs", + "received_events_url": "https://api.github.com/users/github/received_events", + "repos_url": "https://api.github.com/users/github/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/github" + }, + "package_type": "container", + "updated_at": "2020-05-20T22:19:11Z", + "url": "https://api.github.com/orgs/github/packages/container/goodbye_docker", + "version_count": 2, + "visibility": "private" + } + ] + }, + "packages-for-user": { + "value": [ + { + "created_at": "2020-05-19T22:19:11Z", + "html_url": "https://github.com/orgs/github/packages/container/package/hello_docker", + "id": 197, + "name": "hello_docker", + "owner": { + "avatar_url": "https://avatars.monalisausercontent.com/u/9919?v=4", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "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}", + "gravatar_id": "", + "html_url": "https://github.com/github", + "id": 9919, + "login": "monalisa", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "organizations_url": "https://api.github.com/users/github/orgs", + "received_events_url": "https://api.github.com/users/github/received_events", + "repos_url": "https://api.github.com/users/github/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "type": "User", + "url": "https://api.github.com/users/monalisa" + }, + "package_type": "container", + "updated_at": "2020-05-19T22:19:11Z", + "url": "https://api.github.com/orgs/github/packages/container/hello_docker", + "version_count": 1, + "visibility": "private" + }, + { + "created_at": "2020-05-20T22:19:11Z", + "html_url": "https://github.com/user/monalisa/packages/container/package/goodbye_docker", + "id": 198, + "name": "goodbye_docker", + "owner": { + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "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}", + "gravatar_id": "", + "html_url": "https://github.com/github", + "id": 9919, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "organizations_url": "https://api.github.com/users/github/orgs", + "received_events_url": "https://api.github.com/users/github/received_events", + "repos_url": "https://api.github.com/users/github/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "type": "User", + "url": "https://api.github.com/users/monalisa" + }, + "package_type": "container", + "updated_at": "2020-05-20T22:19:11Z", + "url": "https://api.github.com/user/monalisa/packages/container/goodbye_docker", + "version_count": 2, + "visibility": "private" + } + ] + }, + "page": { + "value": { + "cname": "developer.github.com", + "custom_404": false, + "html_url": "https://developer.github.com", + "https_certificate": { + "description": "Certificate is approved", + "domains": [ + "developer.github.com" + ], + "expires_at": "2021-05-22", + "state": "approved" + }, + "https_enforced": true, + "public": true, + "source": { + "branch": "master", + "path": "/" + }, + "status": "built", + "url": "https://api.github.com/repos/github/developer.github.com/pages" + } + }, + "page-build": { + "value": { + "commit": "351391cdcb88ffae71ec3028c91f375a8036a26b", + "created_at": "2014-02-10T19:00:49Z", + "duration": 2104, + "error": { + "message": null + }, + "pusher": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "status": "built", + "updated_at": "2014-02-10T19:00:51Z", + "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/5472601" + } + }, + "page-build-items": { + "value": [ + { + "commit": "351391cdcb88ffae71ec3028c91f375a8036a26b", + "created_at": "2014-02-10T19:00:49Z", + "duration": 2104, + "error": { + "message": null + }, + "pusher": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "status": "built", + "updated_at": "2014-02-10T19:00:51Z", + "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/5472601" + } + ] + }, + "page-build-status": { + "value": { + "status": "queued", + "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/latest" + } + }, + "page-deployment": { + "value": { + "page_url": "developer.github.com", + "status_url": "https://api.github.com/repos/github/developer.github.com/pages/deployments/4fd754f7e594640989b406850d0bc8f06a121251/status" + } + }, + "pages-health-check": { + "value": { + "alt_domain": { + "caa_error": null, + "dns_resolves": true, + "enforces_https": true, + "has_cname_record": false, + "has_mx_records_present": false, + "host": "www.example.com", + "https_error": null, + "is_a_record": true, + "is_apex_domain": true, + "is_cloudflare_ip": false, + "is_cname_to_fastly": false, + "is_cname_to_github_user_domain": false, + "is_cname_to_pages_dot_github_dot_com": false, + "is_fastly_ip": false, + "is_https_eligible": true, + "is_non_github_pages_ip_present": false, + "is_old_ip_address": false, + "is_pages_domain": false, + "is_pointed_to_github_pages_ip": true, + "is_proxied": false, + "is_served_by_pages": true, + "is_valid": true, + "is_valid_domain": true, + "nameservers": "default", + "reason": null, + "responds_to_https": true, + "should_be_a_record": true, + "uri": "http://www.example.com/" + }, + "domain": { + "caa_error": null, + "dns_resolves": true, + "enforces_https": true, + "has_cname_record": false, + "has_mx_records_present": false, + "host": "example.com", + "https_error": null, + "is_a_record": true, + "is_apex_domain": true, + "is_cloudflare_ip": false, + "is_cname_to_fastly": false, + "is_cname_to_github_user_domain": false, + "is_cname_to_pages_dot_github_dot_com": false, + "is_fastly_ip": false, + "is_https_eligible": true, + "is_non_github_pages_ip_present": false, + "is_old_ip_address": false, + "is_pages_domain": false, + "is_pointed_to_github_pages_ip": true, + "is_proxied": false, + "is_served_by_pages": true, + "is_valid": true, + "is_valid_domain": true, + "nameservers": "default", + "reason": null, + "responds_to_https": true, + "should_be_a_record": true, + "uri": "http://example.com/" + } + } + }, + "participation-stats": { + "value": { + "all": [ + 11, + 21, + 15, + 2, + 8, + 1, + 8, + 23, + 17, + 21, + 11, + 10, + 33, + 91, + 38, + 34, + 22, + 23, + 32, + 3, + 43, + 87, + 71, + 18, + 13, + 5, + 13, + 16, + 66, + 27, + 12, + 45, + 110, + 117, + 13, + 8, + 18, + 9, + 19, + 26, + 39, + 12, + 20, + 31, + 46, + 91, + 45, + 10, + 24, + 9, + 29, + 7 + ], + "owner": [ + 3, + 2, + 3, + 0, + 2, + 0, + 5, + 14, + 7, + 9, + 1, + 5, + 0, + 48, + 19, + 2, + 0, + 1, + 10, + 2, + 23, + 40, + 35, + 8, + 8, + 2, + 10, + 6, + 30, + 0, + 2, + 9, + 53, + 104, + 3, + 3, + 10, + 4, + 7, + 11, + 21, + 4, + 4, + 22, + 26, + 63, + 11, + 2, + 14, + 1, + 10, + 3 + ] + } + }, + "pending-deployment-items": { + "value": [ + { + "current_user_can_approve": true, + "environment": { + "html_url": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging", + "id": 161088068, + "name": "staging", + "node_id": "MDExOkVudmlyb25tZW50MTYxMDg4MDY4", + "url": "https://api.github.com/repos/github/hello-world/environments/staging" + }, + "reviewers": [ + { + "reviewer": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "type": "User" + }, + { + "reviewer": { + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "parent": null, + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "url": "https://api.github.com/teams/1" + }, + "type": "Team" + } + ], + "wait_timer": 30, + "wait_timer_started_at": "2020-11-23T22:00:40Z" + } + ] + }, + "ping": { + "value": { + "hook": { + "active": true, + "config": { + "content_type": "json", + "insecure_ssl": "0", + "url": "https://smee.io/****************" + }, + "created_at": "2019-05-15T15:20:49Z", + "events": [ + "*" + ], + "id": 109948940, + "last_response": { + "code": null, + "message": null, + "status": "unused" + }, + "name": "web", + "ping_url": "https://api.github.com/repos/Octocoders/Hello-World/hooks/109948940/pings", + "test_url": "https://api.github.com/repos/Octocoders/Hello-World/hooks/109948940/test", + "type": "Repository", + "updated_at": "2019-05-15T15:20:49Z", + "url": "https://api.github.com/repos/Octocoders/Hello-World/hooks/109948940" + }, + "hook_id": 109948940, + "repository": { + "archive_url": "https://api.github.com/repos/Octocoders/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/Octocoders/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/Octocoders/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/Octocoders/Hello-World/branches{/branch}", + "clone_url": "https://github.com/Octocoders/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/Octocoders/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/Octocoders/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/Octocoders/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/Octocoders/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/Octocoders/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/Octocoders/Hello-World/contributors", + "created_at": "2019-05-15T15:20:42Z", + "default_branch": "master", + "deployments_url": "https://api.github.com/repos/Octocoders/Hello-World/deployments", + "description": null, + "disabled": false, + "downloads_url": "https://api.github.com/repos/Octocoders/Hello-World/downloads", + "events_url": "https://api.github.com/repos/Octocoders/Hello-World/events", + "fork": true, + "forks": 0, + "forks_count": 0, + "forks_url": "https://api.github.com/repos/Octocoders/Hello-World/forks", + "full_name": "Octocoders/Hello-World", + "git_commits_url": "https://api.github.com/repos/Octocoders/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/Octocoders/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/Octocoders/Hello-World/git/tags{/sha}", + "git_url": "git://github.com/Octocoders/Hello-World.git", + "has_downloads": true, + "has_issues": false, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": null, + "hooks_url": "https://api.github.com/repos/Octocoders/Hello-World/hooks", + "html_url": "https://github.com/Octocoders/Hello-World", + "id": 186853261, + "issue_comment_url": "https://api.github.com/repos/Octocoders/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/Octocoders/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/Octocoders/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/Octocoders/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/Octocoders/Hello-World/labels{/name}", + "language": "Ruby", + "languages_url": "https://api.github.com/repos/Octocoders/Hello-World/languages", + "license": null, + "merges_url": "https://api.github.com/repos/Octocoders/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/Octocoders/Hello-World/milestones{/number}", + "mirror_url": null, + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMyNjE=", + "notifications_url": "https://api.github.com/repos/Octocoders/Hello-World/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", + "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", + "followers_url": "https://api.github.com/users/Octocoders/followers", + "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", + "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Octocoders", + "id": 38302899, + "login": "Octocoders", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", + "organizations_url": "https://api.github.com/users/Octocoders/orgs", + "received_events_url": "https://api.github.com/users/Octocoders/received_events", + "repos_url": "https://api.github.com/users/Octocoders/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/Octocoders" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/Octocoders/Hello-World/pulls{/number}", + "pushed_at": "2019-05-15T15:20:33Z", + "releases_url": "https://api.github.com/repos/Octocoders/Hello-World/releases{/id}", + "size": 0, + "ssh_url": "git@github.com:Octocoders/Hello-World.git", + "stargazers_count": 0, + "stargazers_url": "https://api.github.com/repos/Octocoders/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/Octocoders/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/Octocoders/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Octocoders/Hello-World/subscription", + "svn_url": "https://github.com/Octocoders/Hello-World", + "tags_url": "https://api.github.com/repos/Octocoders/Hello-World/tags", + "teams_url": "https://api.github.com/repos/Octocoders/Hello-World/teams", + "trees_url": "https://api.github.com/repos/Octocoders/Hello-World/git/trees{/sha}", + "updated_at": "2019-05-15T15:20:45Z", + "url": "https://api.github.com/repos/Octocoders/Hello-World", + "watchers": 0, + "watchers_count": 0 + }, + "sender": { + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/Codertocat", + "id": 21031067, + "login": "Codertocat", + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/Codertocat" + }, + "zen": "Anything added dilutes everything else." + } + }, + "ping-form-encoded": { + "value": { + "payload": "%7B%22hook%22%3A%7B%22active%22%3Atrue%2C%22config%22%3A%7B%22content_type%22%3A%22form%22%2C%22insecure_ssl%22%3A%220%22%2C%22url%22%3A%22https%3A%2F%2Ftest.io%2Fform%22%7D%2C%22created_at%22%3A%222021-10-20T16%3A01%3A58Z%22%2C%22deliveries_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fhooks%2F1234%2Fdeliveries%22%2C%22events%22%3A%5B%22%2A%22%5D%2C%22id%22%3A1234%2C%22last_response%22%3A%7B%22code%22%3Anull%2C%22message%22%3Anull%2C%22status%22%3A%22unused%22%7D%2C%22name%22%3A%22web%22%2C%22ping_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fhooks%2F1234%2Fpings%22%2C%22test_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fhooks%2F1234%2Ftest%22%2C%22type%22%3A%22Repository%22%2C%22updated_at%22%3A%222021-10-20T16%3A01%3A58Z%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fhooks%2F1234%22%7D%2C%22hook_id%22%3A1234%2C%22meta%22%3A%7B%22signed_at%22%3A%222021-10-25T19%3A05%3A13%2B00%3A00%22%2C%22event%22%3A%22ping%22%2C%22nonce%22%3A%221231%22%2C%22url%22%3A%22https%3A%2F%2Ftest.io%2Fform%22%7D%2C%22repository%22%3A%7B%22allow_forking%22%3Atrue%2C%22archive_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2F%7Barchive_format%7D%7B%2Fref%7D%22%2C%22archived%22%3Afalse%2C%22assignees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fassignees%7B%2Fuser%7D%22%2C%22blobs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fgit%2Fblobs%7B%2Fsha%7D%22%2C%22branches_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fbranches%7B%2Fbranch%7D%22%2C%22clone_url%22%3A%22https%3A%2F%2Fgithub.com%2Ftestorg%2Ftestrepo.git%22%2C%22collaborators_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fcollaborators%7B%2Fcollaborator%7D%22%2C%22comments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fcomments%7B%2Fnumber%7D%22%2C%22commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fcommits%7B%2Fsha%7D%22%2C%22compare_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%22%2C%22contents_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fcontents%2F%7B%2Bpath%7D%22%2C%22contributors_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fcontributors%22%2C%22created_at%22%3A%222016-12-07T19%3A17%3A19Z%22%2C%22default_branch%22%3A%22master%22%2C%22deployments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fdeployments%22%2C%22description%22%3A%22A%2Btest%2Brepository%2Bfor%2Btest%2B.%22%2C%22disabled%22%3Afalse%2C%22downloads_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fdownloads%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fevents%22%2C%22fork%22%3Afalse%2C%22forks%22%3A0%2C%22forks_count%22%3A0%2C%22forks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fforks%22%2C%22full_name%22%3A%22testorg%2Ftestrepo%22%2C%22git_commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fgit%2Fcommits%7B%2Fsha%7D%22%2C%22git_refs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fgit%2Frefs%7B%2Fsha%7D%22%2C%22git_tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fgit%2Ftags%7B%2Fsha%7D%22%2C%22git_url%22%3A%22git%3A%2F%2Fgithub.com%2Ftestorg%2Ftestrepo.git%22%2C%22has_downloads%22%3Atrue%2C%22has_issues%22%3Atrue%2C%22has_pages%22%3Afalse%2C%22has_projects%22%3Atrue%2C%22has_wiki%22%3Atrue%2C%22homepage%22%3A%22%22%2C%22hooks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fhooks%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Ftestorg%2Ftestrepo%22%2C%22id%22%3A4567%2C%22is_template%22%3Afalse%2C%22issue_comment_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fissues%2Fcomments%7B%2Fnumber%7D%22%2C%22issue_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fissues%2Fevents%7B%2Fnumber%7D%22%2C%22issues_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fissues%7B%2Fnumber%7D%22%2C%22keys_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fkeys%7B%2Fkey_id%7D%22%2C%22labels_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Flabels%7B%2Fname%7D%22%2C%22language%22%3Anull%2C%22languages_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Flanguages%22%2C%22license%22%3Anull%2C%22merges_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fmerges%22%2C%22milestones_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fmilestones%7B%2Fnumber%7D%22%2C%22mirror_url%22%3Anull%2C%22name%22%3A%22testrepo%22%2C%22node_id%22%3A%22abcd%22%2C%22notifications_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%22%2C%22open_issues%22%3A27%2C%22open_issues_count%22%3A27%2C%22owner%22%3A%7B%22avatar_url%22%3A%22https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F1231%3Fv%3D4%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Fevents%7B%2Fprivacy%7D%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Fgists%7B%2Fgist_id%7D%22%2C%22gravatar_id%22%3A%22%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Ftestorg%22%2C%22id%22%3A4312013%2C%22login%22%3A%22testorg%22%2C%22node_id%22%3A%22abcd%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Forgs%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Freceived_events%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Frepos%22%2C%22site_admin%22%3Afalse%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Fsubscriptions%22%2C%22type%22%3A%22Organization%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%22%7D%2C%22private%22%3Atrue%2C%22pulls_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fpulls%7B%2Fnumber%7D%22%2C%22pushed_at%22%3A%222021-10-08T17%3A33%3A23Z%22%2C%22releases_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Freleases%7B%2Fid%7D%22%2C%22size%22%3A43%2C%22ssh_url%22%3A%22git%40github.com%3Atestorg%2Ftestrepo.git%22%2C%22stargazers_count%22%3A1%2C%22stargazers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fstargazers%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fstatuses%2F%7Bsha%7D%22%2C%22subscribers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fsubscribers%22%2C%22subscription_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fsubscription%22%2C%22svn_url%22%3A%22https%3A%2F%2Fgithub.com%2Ftestorg%2Ftestrepo%22%2C%22tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Ftags%22%2C%22teams_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fteams%22%2C%22topics%22%3A%5B%5D%2C%22trees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fgit%2Ftrees%7B%2Fsha%7D%22%2C%22updated_at%22%3A%222021-10-08T17%3A33%3A26Z%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%22%2C%22visibility%22%3A%22private%22%2C%22watchers%22%3A1%2C%22watchers_count%22%3A1%7D%2C%22sender%22%3A%7B%22avatar_url%22%3A%22https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F1385175%3Fv%3D4%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Fevents%7B%2Fprivacy%7D%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Fgists%7B%2Fgist_id%7D%22%2C%22gravatar_id%22%3A%22%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Ftestuser%22%2C%22id%22%3A1385175%2C%22login%22%3A%22testuser%22%2C%22node_id%22%3A%22abcd%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Forgs%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Freceived_events%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Frepos%22%2C%22site_admin%22%3Atrue%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Fsubscriptions%22%2C%22type%22%3A%22User%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%22%7D%2C%22zen%22%3A%22Responsive%2Bis%2Bbetter%2Bthan%2Bfast.%22%7D" + } + }, + "porter-author": { + "value": { + "email": "hubot@github.com", + "id": 2268557, + "import_url": "https://api.github.com/repos/octocat/socm/import", + "name": "Hubot", + "remote_id": "nobody@fc7da526-431c-80fe-3c8c-c148ff18d7ef", + "remote_name": "nobody", + "url": "https://api.github.com/repos/octocat/socm/import/authors/2268557" + } + }, + "porter-author-items": { + "value": [ + { + "email": "hubot@github.com", + "id": 2268557, + "import_url": "https://api.github.com/repos/octocat/socm/import", + "name": "Hubot", + "remote_id": "nobody@fc7da526-431c-80fe-3c8c-c148ff18d7ef", + "remote_name": "nobody", + "url": "https://api.github.com/repos/octocat/socm/import/authors/2268557" + }, + { + "email": "svner@fc7da526-431c-80fe-3c8c-c148ff18d7ef", + "id": 2268558, + "import_url": "https://api.github.com/repos/octocat/socm/import", + "name": "svner", + "remote_id": "svner@fc7da526-431c-80fe-3c8c-c148ff18d7ef", + "remote_name": "svner", + "url": "https://api.github.com/repos/octocat/socm/import/authors/2268558" + }, + { + "email": "svner@example.com@fc7da526-431c-80fe-3c8c-c148ff18d7ef", + "id": 2268559, + "import_url": "https://api.github.com/repos/octocat/socm/import", + "name": "svner@example.com", + "remote_id": "svner@example.com@fc7da526-431c-80fe-3c8c-c148ff18d7ef", + "remote_name": "svner@example.com", + "url": "https://api.github.com/repos/octocat/socm/import/authors/2268559" + } + ] + }, + "porter-large-file-items": { + "value": [ + { + "oid": "d3d9446802a44259755d38e6d163e820", + "path": "foo/bar/1", + "ref_name": "refs/heads/master", + "size": 10485760 + }, + { + "oid": "6512bd43d9caa6e02c990b0a82652dca", + "path": "foo/bar/2", + "ref_name": "refs/heads/master", + "size": 11534336 + }, + { + "oid": "c20ad4d76fe97759aa27a0c99bff6710", + "path": "foo/bar/3", + "ref_name": "refs/heads/master", + "size": 12582912 + } + ] + }, + "private-user": { + "value": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "bio": "There once was...", + "blog": "https://github.com/blog", + "collaborators": 8, + "company": "GitHub", + "created_at": "2008-01-14T04:33:35Z", + "disk_usage": 10000, + "email": "octocat@github.com", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers": 20, + "followers_url": "https://api.github.com/users/octocat/followers", + "following": 0, + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "hireable": false, + "html_url": "https://github.com/octocat", + "id": 1, + "location": "San Francisco", + "login": "octocat", + "name": "monalisa octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "owned_private_repos": 100, + "plan": { + "collaborators": 0, + "name": "Medium", + "private_repos": 20, + "space": 400 + }, + "private_gists": 81, + "public_gists": 1, + "public_repos": 2, + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "total_private_repos": 100, + "twitter_username": "monatheoctocat", + "two_factor_authentication": true, + "type": "User", + "updated_at": "2008-01-14T04:33:35Z", + "url": "https://api.github.com/users/octocat" + } + }, + "private-user-response-with-public-and-private-profile-information": { + "summary": "Response with public and private profile information", + "value": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "bio": "There once was...", + "blog": "https://github.com/blog", + "collaborators": 8, + "company": "GitHub", + "created_at": "2008-01-14T04:33:35Z", + "disk_usage": 10000, + "email": "octocat@github.com", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers": 20, + "followers_url": "https://api.github.com/users/octocat/followers", + "following": 0, + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "hireable": false, + "html_url": "https://github.com/octocat", + "id": 1, + "location": "San Francisco", + "login": "octocat", + "name": "monalisa octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "owned_private_repos": 100, + "plan": { + "collaborators": 0, + "name": "Medium", + "private_repos": 20, + "space": 400 + }, + "private_gists": 81, + "public_gists": 1, + "public_repos": 2, + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "total_private_repos": 100, + "twitter_username": "monatheoctocat", + "two_factor_authentication": true, + "type": "User", + "updated_at": "2008-01-14T04:33:35Z", + "url": "https://api.github.com/users/octocat" + } + }, + "private-user-response-with-public-profile-information": { + "summary": "Response with public profile information", + "value": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "bio": "There once was...", + "blog": "https://github.com/blog", + "company": "GitHub", + "created_at": "2008-01-14T04:33:35Z", + "email": "octocat@github.com", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers": 20, + "followers_url": "https://api.github.com/users/octocat/followers", + "following": 0, + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "hireable": false, + "html_url": "https://github.com/octocat", + "id": 1, + "location": "San Francisco", + "login": "octocat", + "name": "monalisa octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "public_gists": 1, + "public_repos": 2, + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "twitter_username": "monatheoctocat", + "type": "User", + "updated_at": "2008-01-14T04:33:35Z", + "url": "https://api.github.com/users/octocat" + } + }, + "project": { + "value": { + "body": "A board to manage my personal projects.", + "columns_url": "https://api.github.com/projects/1002603/columns", + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "html_url": "https://github.com/users/octocat/projects/1", + "id": 1002603, + "name": "My Projects", + "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", + "number": 1, + "owner_url": "https://api.github.com/users/octocat", + "state": "open", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/projects/1002603" + } + }, + "project-2": { + "value": { + "body": "High-level roadmap for the upcoming year.", + "columns_url": "https://api.github.com/projects/1002605/columns", + "created_at": "2011-04-11T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "html_url": "https://github.com/orgs/api-playground/projects/1", + "id": 1002605, + "name": "Organization Roadmap", + "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", + "number": 1, + "owner_url": "https://api.github.com/orgs/octocat", + "state": "open", + "updated_at": "2014-03-04T18:58:10Z", + "url": "https://api.github.com/projects/1002605" + } + }, + "project-3": { + "value": { + "body": "Developer documentation project for the developer site.", + "columns_url": "https://api.github.com/projects/1002604/columns", + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "html_url": "https://github.com/api-playground/projects-test/projects/1", + "id": 1002604, + "name": "Projects Documentation", + "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", + "number": 1, + "owner_url": "https://api.github.com/repos/api-playground/projects-test", + "state": "open", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/projects/1002604" + } + }, + "project-card": { + "value": { + "archived": false, + "column_url": "https://api.github.com/projects/columns/367", + "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", + "created_at": "2016-09-05T14:21:06Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "id": 1478, + "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", + "note": "Add payload for delete Project column", + "project_url": "https://api.github.com/projects/120", + "updated_at": "2016-09-05T14:20:22Z", + "url": "https://api.github.com/projects/columns/cards/1478" + } + }, + "project-card-items": { + "value": [ + { + "archived": false, + "column_url": "https://api.github.com/projects/columns/367", + "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", + "created_at": "2016-09-05T14:21:06Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "id": 1478, + "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", + "note": "Add payload for delete Project column", + "project_url": "https://api.github.com/projects/120", + "updated_at": "2016-09-05T14:20:22Z", + "url": "https://api.github.com/projects/columns/cards/1478" + } + ] + }, + "project-collaborator-permission": { + "value": { + "permission": "admin", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "project-column": { + "value": { + "cards_url": "https://api.github.com/projects/columns/367/cards", + "created_at": "2016-09-05T14:18:44Z", + "id": 367, + "name": "To Do", + "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", + "project_url": "https://api.github.com/projects/120", + "updated_at": "2016-09-05T14:22:28Z", + "url": "https://api.github.com/projects/columns/367" + } + }, + "project-column-items": { + "value": [ + { + "cards_url": "https://api.github.com/projects/columns/367/cards", + "created_at": "2016-09-05T14:18:44Z", + "id": 367, + "name": "To Do", + "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", + "project_url": "https://api.github.com/projects/120", + "updated_at": "2016-09-05T14:22:28Z", + "url": "https://api.github.com/projects/columns/367" + } + ] + }, + "project-items": { + "value": [ + { + "body": "High-level roadmap for the upcoming year.", + "columns_url": "https://api.github.com/projects/1002605/columns", + "created_at": "2011-04-11T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "html_url": "https://github.com/orgs/api-playground/projects/1", + "id": 1002605, + "name": "Organization Roadmap", + "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", + "number": 1, + "organization_permission": "write", + "owner_url": "https://api.github.com/orgs/octocat", + "private": true, + "state": "open", + "updated_at": "2014-03-04T18:58:10Z", + "url": "https://api.github.com/projects/1002605" + } + ] + }, + "project-items-2": { + "value": [ + { + "body": "Developer documentation project for the developer site.", + "columns_url": "https://api.github.com/projects/1002604/columns", + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "html_url": "https://github.com/api-playground/projects-test/projects/1", + "id": 1002604, + "name": "Projects Documentation", + "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", + "number": 1, + "owner_url": "https://api.github.com/repos/api-playground/projects-test", + "state": "open", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/projects/1002604" + } + ] + }, + "project-items-3": { + "value": [ + { + "body": "A board to manage my personal projects.", + "columns_url": "https://api.github.com/projects/1002603/columns", + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "html_url": "https://github.com/users/octocat/projects/1", + "id": 1002603, + "name": "My Projects", + "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", + "number": 1, + "owner_url": "https://api.github.com/users/octocat", + "state": "open", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/projects/1002603" + } + ] + }, + "protected-branch-admin-enforced": { + "value": { + "enabled": true, + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures" + } + }, + "protected-branch-admin-enforced-2": { + "value": { + "enabled": true, + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins" + } + }, + "protected-branch-pull-request-review": { + "value": { + "dismiss_stale_reviews": true, + "dismissal_restrictions": { + "apps": [ + { + "created_at": "2017-07-08T16:18:44-04:00", + "description": "", + "events": [ + "push", + "pull_request" + ], + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "id": 1, + "name": "Octocat App", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "id": 1, + "issues_url": "https://api.github.com/orgs/github/issues", + "login": "github", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "repos_url": "https://api.github.com/orgs/github/repos", + "url": "https://api.github.com/orgs/github" + }, + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read", + "single_file": "write" + }, + "slug": "octoapp", + "updated_at": "2017-07-08T16:18:44-04:00" + } + ], + "teams": [ + { + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "parent": null, + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "url": "https://api.github.com/teams/1" + } + ], + "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/teams", + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions", + "users": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + ], + "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/users" + }, + "require_code_owner_reviews": true, + "require_last_push_approval": true, + "required_approving_review_count": 2, + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews" + } + }, + "public-events-items": { + "value": [ + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-09T12:47:28Z", + "id": "22249084947", + "payload": { + "action": "started" + }, + "public": true, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "WatchEvent" + }, + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-07T07:50:26Z", + "id": "22249084964", + "payload": { + "before": "883efe034920928c47fe18598c01249d1a9fdabd", + "commits": [ + { + "author": { + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "distinct": true, + "message": "commit", + "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" + } + ], + "distinct_size": 1, + "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "push_id": 10115855396, + "ref": "refs/heads/master", + "size": 1 + }, + "public": true, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "PushEvent" + } + ] + }, + "public-org-events-items": { + "value": [ + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-08T23:29:25Z", + "id": "22237752260", + "payload": { + "action": "started" + }, + "public": true, + "repo": { + "id": 1296269, + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" + }, + "type": "WatchEvent" + }, + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-09T12:47:28Z", + "id": "22249084964", + "payload": { + "before": "883efe034920928c47fe18598c01249d1a9fdabd", + "commits": [ + { + "author": { + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "distinct": true, + "message": "commit", + "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "url": "https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" + } + ], + "distinct_size": 1, + "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "push_id": 10115855396, + "ref": "refs/heads/master", + "size": 1 + }, + "public": true, + "repo": { + "id": 1296269, + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/oct-repo" + }, + "type": "PushEvent" + } + ] + }, + "public-repo-events-items": { + "value": [ + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-09T12:47:28Z", + "id": "22249084964", + "payload": { + "before": "883efe034920928c47fe18598c01249d1a9fdabd", + "commits": [ + { + "author": { + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "distinct": true, + "message": "commit", + "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" + } + ], + "distinct_size": 1, + "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "push_id": 10115855396, + "ref": "refs/heads/master", + "size": 1 + }, + "public": true, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "PushEvent" + }, + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/rrubenich" + }, + "created_at": "2022-06-08T23:29:25Z", + "id": "22237752260", + "payload": { + "action": "started" + }, + "public": true, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "WatchEvent" + } + ] + }, + "public-repository-items": { + "value": [ + { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + } + ] + }, + "public-repository-paginated": { + "value": { + "repositories": [ + { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + } + ], + "total_count": 1 + } + }, + "public-user-default-response": { + "summary": "Default response", + "value": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "bio": "There once was...", + "blog": "https://github.com/blog", + "company": "GitHub", + "created_at": "2008-01-14T04:33:35Z", + "email": "octocat@github.com", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers": 20, + "followers_url": "https://api.github.com/users/octocat/followers", + "following": 0, + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "hireable": false, + "html_url": "https://github.com/octocat", + "id": 1, + "location": "San Francisco", + "login": "octocat", + "name": "monalisa octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "public_gists": 1, + "public_repos": 2, + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "twitter_username": "monatheoctocat", + "type": "User", + "updated_at": "2008-01-14T04:33:35Z", + "url": "https://api.github.com/users/octocat" + } + }, + "public-user-response-with-git-hub-plan-information": { + "summary": "Response with GitHub plan information", + "value": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "bio": "There once was...", + "blog": "https://github.com/blog", + "company": "GitHub", + "created_at": "2008-01-14T04:33:35Z", + "email": "octocat@github.com", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers": 20, + "followers_url": "https://api.github.com/users/octocat/followers", + "following": 0, + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "hireable": false, + "html_url": "https://github.com/octocat", + "id": 1, + "location": "San Francisco", + "login": "octocat", + "name": "monalisa octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "plan": { + "collaborators": 0, + "name": "pro", + "private_repos": 9999, + "space": 976562499 + }, + "public_gists": 1, + "public_repos": 2, + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "twitter_username": "monatheoctocat", + "type": "User", + "updated_at": "2008-01-14T04:33:35Z", + "url": "https://api.github.com/users/octocat" + } + }, + "pull-request": { + "value": { + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" + }, + "html": { + "href": "https://github.com/octocat/Hello-World/pull/1347" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" + }, + "self": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + }, + "active_lock_reason": "too heated", + "additions": 100, + "assignee": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "assignees": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + { + "avatar_url": "https://github.com/images/error/hubot_happy.gif", + "events_url": "https://api.github.com/users/hubot/events{/privacy}", + "followers_url": "https://api.github.com/users/hubot/followers", + "following_url": "https://api.github.com/users/hubot/following{/other_user}", + "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/hubot", + "id": 1, + "login": "hubot", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/hubot/orgs", + "received_events_url": "https://api.github.com/users/hubot/received_events", + "repos_url": "https://api.github.com/users/hubot/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hubot/subscriptions", + "type": "User", + "url": "https://api.github.com/users/hubot" + } + ], + "author_association": "OWNER", + "auto_merge": null, + "base": { + "label": "octocat:master", + "ref": "master", + "repo": { + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 123, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_discussions": false, + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 123, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "watchers": 123, + "watchers_count": 80 + }, + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + }, + "body": "Please pull these awesome changes in!", + "changed_files": 5, + "closed_at": "2011-01-26T19:01:12Z", + "comments": 10, + "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "commits": 3, + "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits", + "created_at": "2011-01-26T19:01:12Z", + "deletions": 3, + "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", + "draft": false, + "head": { + "label": "octocat:new-topic", + "ref": "new-topic", + "repo": { + "allow_forking": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 123, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_discussions": false, + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 123, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "watchers": 123, + "watchers_count": 80 + }, + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + }, + "html_url": "https://github.com/octocat/Hello-World/pull/1347", + "id": 1, + "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "labels": [ + { + "color": "f29513", + "default": true, + "description": "Something isn't working", + "id": 208045946, + "name": "bug", + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug" + } + ], + "locked": true, + "maintainer_can_modify": true, + "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6", + "mergeable": true, + "mergeable_state": "clean", + "merged": false, + "merged_at": "2011-01-26T19:01:12Z", + "merged_by": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "milestone": { + "closed_at": "2013-02-12T13:22:01Z", + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "id": 1002604, + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "open_issues": 4, + "state": "open", + "title": "v1.0", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==", + "number": 1347, + "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch", + "rebaseable": true, + "requested_reviewers": [ + { + "avatar_url": "https://github.com/images/error/other_user_happy.gif", + "events_url": "https://api.github.com/users/other_user/events{/privacy}", + "followers_url": "https://api.github.com/users/other_user/followers", + "following_url": "https://api.github.com/users/other_user/following{/other_user}", + "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/other_user", + "id": 1, + "login": "other_user", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/other_user/orgs", + "received_events_url": "https://api.github.com/users/other_user/received_events", + "repos_url": "https://api.github.com/users/other_user/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", + "type": "User", + "url": "https://api.github.com/users/other_user" + } + ], + "requested_teams": [ + { + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "url": "https://api.github.com/teams/1" + } + ], + "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}", + "review_comments": 0, + "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments", + "state": "open", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "title": "Amazing new feature", + "updated_at": "2011-01-26T19:01:12Z", + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "pull-request-merge-result-response-if-merge-was-successful": { + "value": { + "merged": true, + "message": "Pull Request successfully merged", + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + }, + "pull-request-review": { + "value": { + "_links": { + "html": { + "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + }, + "pull_request": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12" + } + }, + "author_association": "COLLABORATOR", + "body": "This is close to perfect! Please address the suggested inline change.", + "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091", + "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80", + "id": 80, + "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=", + "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12", + "state": "CHANGES_REQUESTED", + "submitted_at": "2019-11-17T17:43:43Z", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "pull-request-review-3": { + "value": { + "_links": { + "html": { + "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + }, + "pull_request": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12" + } + }, + "author_association": "COLLABORATOR", + "body": "Here is the body for the review.", + "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091", + "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80", + "id": 80, + "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=", + "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12", + "state": "DISMISSED", + "submitted_at": "2019-11-17T17:43:43Z", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "pull-request-review-4": { + "value": { + "_links": { + "html": { + "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + }, + "pull_request": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12" + } + }, + "author_association": "COLLABORATOR", + "body": "Here is the body for the review.", + "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091", + "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80", + "id": 80, + "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=", + "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12", + "state": "APPROVED", + "submitted_at": "2019-11-17T17:43:43Z", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "pull-request-review-5": { + "value": { + "_links": { + "html": { + "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + }, + "pull_request": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12" + } + }, + "author_association": "COLLABORATOR", + "body": "This is close to perfect! Please address the suggested inline change. And add more about this.", + "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091", + "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80", + "id": 80, + "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=", + "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12", + "state": "CHANGES_REQUESTED", + "submitted_at": "2019-11-17T17:43:43Z", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "pull-request-review-comment": { + "value": { + "_links": { + "html": { + "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + }, + "pull_request": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + }, + "self": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + } + }, + "author_association": "NONE", + "body": "Great stuff!", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...", + "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1", + "id": 10, + "in_reply_to_id": 426899381, + "line": 2, + "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw", + "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", + "original_line": 2, + "original_position": 4, + "original_start_line": 1, + "path": "file1.txt", + "position": 1, + "pull_request_review_id": 42, + "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1", + "side": "RIGHT", + "start_line": 1, + "start_side": "RIGHT", + "updated_at": "2011-04-14T16:00:49Z", + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "pull-request-review-comment-2": { + "value": { + "_links": { + "html": { + "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + }, + "pull_request": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + }, + "self": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + } + }, + "author_association": "NONE", + "body": "Great stuff!", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...", + "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1", + "id": 10, + "in_reply_to_id": 8, + "line": 2, + "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw", + "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", + "original_line": 2, + "original_position": 4, + "original_start_line": 1, + "path": "file1.txt", + "position": 1, + "pull_request_review_id": 42, + "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1", + "side": "RIGHT", + "start_line": 1, + "start_side": "RIGHT", + "updated_at": "2011-04-14T16:00:49Z", + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "pull-request-review-comment-example-for-a-multi-line-comment": { + "value": { + "_links": { + "html": { + "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + }, + "pull_request": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + }, + "self": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + } + }, + "author_association": "NONE", + "body": "Great stuff!", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...", + "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1", + "id": 10, + "in_reply_to_id": 8, + "line": 2, + "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw", + "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", + "original_line": 2, + "original_position": 4, + "original_start_line": 1, + "path": "file1.txt", + "position": 1, + "pull_request_review_id": 42, + "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1", + "side": "RIGHT", + "start_line": 1, + "start_side": "RIGHT", + "updated_at": "2011-04-14T16:00:49Z", + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "pull-request-review-comment-items": { + "value": [ + { + "_links": { + "html": { + "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + }, + "pull_request": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + }, + "self": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + } + }, + "author_association": "NONE", + "body": "Great stuff!", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...", + "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1", + "id": 10, + "in_reply_to_id": 8, + "line": 2, + "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw", + "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", + "original_line": 2, + "original_position": 4, + "original_start_line": 1, + "path": "file1.txt", + "position": 1, + "pull_request_review_id": 42, + "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1", + "side": "RIGHT", + "start_line": 1, + "start_side": "RIGHT", + "updated_at": "2011-04-14T16:00:49Z", + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + ] + }, + "pull-request-review-items": { + "value": [ + { + "_links": { + "html": { + "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + }, + "pull_request": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12" + } + }, + "author_association": "COLLABORATOR", + "body": "Here is the body for the review.", + "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091", + "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80", + "id": 80, + "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=", + "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12", + "state": "APPROVED", + "submitted_at": "2019-11-17T17:43:43Z", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + ] + }, + "pull-request-review-request": { + "value": { + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" + }, + "html": { + "href": "https://github.com/octocat/Hello-World/pull/1347" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" + }, + "self": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + }, + "active_lock_reason": "too heated", + "assignee": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "assignees": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + { + "avatar_url": "https://github.com/images/error/hubot_happy.gif", + "events_url": "https://api.github.com/users/hubot/events{/privacy}", + "followers_url": "https://api.github.com/users/hubot/followers", + "following_url": "https://api.github.com/users/hubot/following{/other_user}", + "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/hubot", + "id": 1, + "login": "hubot", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/hubot/orgs", + "received_events_url": "https://api.github.com/users/hubot/received_events", + "repos_url": "https://api.github.com/users/hubot/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hubot/subscriptions", + "type": "User", + "url": "https://api.github.com/users/hubot" + } + ], + "author_association": "OWNER", + "auto_merge": null, + "base": { + "label": "octocat:master", + "ref": "master", + "repo": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + }, + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + }, + "body": "Please pull these awesome changes in!", + "closed_at": "2011-01-26T19:01:12Z", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits", + "created_at": "2011-01-26T19:01:12Z", + "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", + "draft": false, + "head": { + "label": "octocat:new-topic", + "ref": "new-topic", + "repo": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + }, + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + }, + "html_url": "https://github.com/octocat/Hello-World/pull/1347", + "id": 1, + "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "labels": [ + { + "color": "f29513", + "default": true, + "description": "Something isn't working", + "id": 208045946, + "name": "bug", + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug" + } + ], + "locked": true, + "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6", + "merged_at": "2011-01-26T19:01:12Z", + "milestone": { + "closed_at": "2013-02-12T13:22:01Z", + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "id": 1002604, + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "open_issues": 4, + "state": "open", + "title": "v1.0", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==", + "number": 1347, + "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch", + "requested_reviewers": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + { + "avatar_url": "https://github.com/images/error/hubot_happy.gif", + "events_url": "https://api.github.com/users/hubot/events{/privacy}", + "followers_url": "https://api.github.com/users/hubot/followers", + "following_url": "https://api.github.com/users/hubot/following{/other_user}", + "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/hubot", + "id": 1, + "login": "hubot", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/hubot/orgs", + "received_events_url": "https://api.github.com/users/hubot/received_events", + "repos_url": "https://api.github.com/users/hubot/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hubot/subscriptions", + "type": "User", + "url": "https://api.github.com/users/hubot" + }, + { + "avatar_url": "https://github.com/images/error/other_user_happy.gif", + "events_url": "https://api.github.com/users/other_user/events{/privacy}", + "followers_url": "https://api.github.com/users/other_user/followers", + "following_url": "https://api.github.com/users/other_user/following{/other_user}", + "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/other_user", + "id": 1, + "login": "other_user", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/other_user/orgs", + "received_events_url": "https://api.github.com/users/other_user/received_events", + "repos_url": "https://api.github.com/users/other_user/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", + "type": "User", + "url": "https://api.github.com/users/other_user" + } + ], + "requested_teams": [ + { + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "parent": null, + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "url": "https://api.github.com/teams/1" + } + ], + "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments", + "state": "open", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "title": "Amazing new feature", + "updated_at": "2011-01-26T19:01:12Z", + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "pull-request-simple": { + "value": { + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" + }, + "html": { + "href": "https://github.com/octocat/Hello-World/pull/1347" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" + }, + "self": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + }, + "active_lock_reason": "too heated", + "assignee": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "assignees": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + { + "avatar_url": "https://github.com/images/error/hubot_happy.gif", + "events_url": "https://api.github.com/users/hubot/events{/privacy}", + "followers_url": "https://api.github.com/users/hubot/followers", + "following_url": "https://api.github.com/users/hubot/following{/other_user}", + "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/hubot", + "id": 1, + "login": "hubot", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/hubot/orgs", + "received_events_url": "https://api.github.com/users/hubot/received_events", + "repos_url": "https://api.github.com/users/hubot/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hubot/subscriptions", + "type": "User", + "url": "https://api.github.com/users/hubot" + } + ], + "author_association": "OWNER", + "auto_merge": null, + "base": { + "label": "octocat:master", + "ref": "master", + "repo": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + }, + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + }, + "body": "Please pull these awesome changes in!", + "closed_at": "2011-01-26T19:01:12Z", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits", + "created_at": "2011-01-26T19:01:12Z", + "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", + "draft": false, + "head": { + "label": "octocat:new-topic", + "ref": "new-topic", + "repo": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + }, + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + }, + "html_url": "https://github.com/octocat/Hello-World/pull/1347", + "id": 1, + "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "labels": [ + { + "color": "f29513", + "default": true, + "description": "Something isn't working", + "id": 208045946, + "name": "bug", + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug" + } + ], + "locked": true, + "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6", + "merged_at": "2011-01-26T19:01:12Z", + "milestone": { + "closed_at": "2013-02-12T13:22:01Z", + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "id": 1002604, + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "open_issues": 4, + "state": "open", + "title": "v1.0", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==", + "number": 1347, + "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch", + "requested_reviewers": [ + { + "avatar_url": "https://github.com/images/error/other_user_happy.gif", + "events_url": "https://api.github.com/users/other_user/events{/privacy}", + "followers_url": "https://api.github.com/users/other_user/followers", + "following_url": "https://api.github.com/users/other_user/following{/other_user}", + "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/other_user", + "id": 1, + "login": "other_user", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/other_user/orgs", + "received_events_url": "https://api.github.com/users/other_user/received_events", + "repos_url": "https://api.github.com/users/other_user/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", + "type": "User", + "url": "https://api.github.com/users/other_user" + } + ], + "requested_teams": [ + { + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "parent": null, + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "url": "https://api.github.com/teams/1" + } + ], + "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments", + "state": "open", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "title": "Amazing new feature", + "updated_at": "2011-01-26T19:01:12Z", + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "pull-request-simple-items": { + "value": [ + { + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" + }, + "html": { + "href": "https://github.com/octocat/Hello-World/pull/1347" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" + }, + "self": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + }, + "active_lock_reason": "too heated", + "assignee": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "assignees": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + { + "avatar_url": "https://github.com/images/error/hubot_happy.gif", + "events_url": "https://api.github.com/users/hubot/events{/privacy}", + "followers_url": "https://api.github.com/users/hubot/followers", + "following_url": "https://api.github.com/users/hubot/following{/other_user}", + "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/hubot", + "id": 1, + "login": "hubot", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/hubot/orgs", + "received_events_url": "https://api.github.com/users/hubot/received_events", + "repos_url": "https://api.github.com/users/hubot/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hubot/subscriptions", + "type": "User", + "url": "https://api.github.com/users/hubot" + } + ], + "author_association": "OWNER", + "auto_merge": null, + "base": { + "label": "octocat:master", + "ref": "master", + "repo": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + }, + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + }, + "body": "Please pull these awesome changes in!", + "closed_at": "2011-01-26T19:01:12Z", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits", + "created_at": "2011-01-26T19:01:12Z", + "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", + "draft": false, + "head": { + "label": "octocat:new-topic", + "ref": "new-topic", + "repo": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + }, + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + }, + "html_url": "https://github.com/octocat/Hello-World/pull/1347", + "id": 1, + "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "labels": [ + { + "color": "f29513", + "default": true, + "description": "Something isn't working", + "id": 208045946, + "name": "bug", + "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", + "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug" + } + ], + "locked": true, + "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6", + "merged_at": "2011-01-26T19:01:12Z", + "milestone": { + "closed_at": "2013-02-12T13:22:01Z", + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "id": 1002604, + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "open_issues": 4, + "state": "open", + "title": "v1.0", + "updated_at": "2014-03-03T18:58:10Z", + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==", + "number": 1347, + "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch", + "requested_reviewers": [ + { + "avatar_url": "https://github.com/images/error/other_user_happy.gif", + "events_url": "https://api.github.com/users/other_user/events{/privacy}", + "followers_url": "https://api.github.com/users/other_user/followers", + "following_url": "https://api.github.com/users/other_user/following{/other_user}", + "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/other_user", + "id": 1, + "login": "other_user", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/other_user/orgs", + "received_events_url": "https://api.github.com/users/other_user/received_events", + "repos_url": "https://api.github.com/users/other_user/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", + "type": "User", + "url": "https://api.github.com/users/other_user" + } + ], + "requested_teams": [ + { + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "parent": null, + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "url": "https://api.github.com/teams/1" + } + ], + "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments", + "state": "open", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "title": "Amazing new feature", + "updated_at": "2011-01-26T19:01:12Z", + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + ] + }, + "rate-limit-overview": { + "value": { + "rate": { + "limit": 5000, + "remaining": 4999, + "reset": 1372700873, + "used": 1 + }, + "resources": { + "code_scanning_upload": { + "limit": 500, + "remaining": 499, + "reset": 1551806725, + "used": 1 + }, + "core": { + "limit": 5000, + "remaining": 4999, + "reset": 1372700873, + "used": 1 + }, + "graphql": { + "limit": 5000, + "remaining": 4993, + "reset": 1372700389, + "used": 7 + }, + "integration_manifest": { + "limit": 5000, + "remaining": 4999, + "reset": 1551806725, + "used": 1 + }, + "search": { + "limit": 30, + "remaining": 18, + "reset": 1372697452, + "used": 12 + } + } + } + }, + "reaction": { + "value": { + "content": "heart", + "created_at": "2016-05-20T20:09:31Z", + "id": 1, + "node_id": "MDg6UmVhY3Rpb24x", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "reaction-items": { + "value": [ + { + "content": "heart", + "created_at": "2016-05-20T20:09:31Z", + "id": 1, + "node_id": "MDg6UmVhY3Rpb24x", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + ] + }, + "referrer-traffic-items": { + "value": [ + { + "count": 4, + "referrer": "Google", + "uniques": 3 + }, + { + "count": 2, + "referrer": "stackoverflow.com", + "uniques": 2 + }, + { + "count": 1, + "referrer": "eggsonbread.com", + "uniques": 1 + }, + { + "count": 1, + "referrer": "yandex.ru", + "uniques": 1 + } + ] + }, + "release": { + "value": { + "assets": [ + { + "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip", + "content_type": "application/zip", + "created_at": "2013-02-27T19:35:32Z", + "download_count": 42, + "id": 1, + "label": "short description", + "name": "example.zip", + "node_id": "MDEyOlJlbGVhc2VBc3NldDE=", + "size": 1024, + "state": "uploaded", + "updated_at": "2013-02-27T19:35:32Z", + "uploader": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1" + } + ], + "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets", + "author": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "body": "Description of the release", + "created_at": "2013-02-27T19:35:32Z", + "discussion_url": "https://github.com/octocat/Hello-World/discussions/90", + "draft": false, + "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0", + "id": 1, + "name": "v1.0.0", + "node_id": "MDc6UmVsZWFzZTE=", + "prerelease": false, + "published_at": "2013-02-27T19:35:32Z", + "tag_name": "v1.0.0", + "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0", + "target_commitish": "master", + "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}", + "url": "https://api.github.com/repos/octocat/Hello-World/releases/1", + "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0" + } + }, + "release-asset": { + "value": { + "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip", + "content_type": "application/zip", + "created_at": "2013-02-27T19:35:32Z", + "download_count": 42, + "id": 1, + "label": "short description", + "name": "example.zip", + "node_id": "MDEyOlJlbGVhc2VBc3NldDE=", + "size": 1024, + "state": "uploaded", + "updated_at": "2013-02-27T19:35:32Z", + "uploader": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1" + } + }, + "release-asset-items": { + "value": [ + { + "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip", + "content_type": "application/zip", + "created_at": "2013-02-27T19:35:32Z", + "download_count": 42, + "id": 1, + "label": "short description", + "name": "example.zip", + "node_id": "MDEyOlJlbGVhc2VBc3NldDE=", + "size": 1024, + "state": "uploaded", + "updated_at": "2013-02-27T19:35:32Z", + "uploader": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1" + } + ] + }, + "release-asset-response-for-successful-upload": { + "value": { + "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip", + "content_type": "application/zip", + "created_at": "2013-02-27T19:35:32Z", + "download_count": 42, + "id": 1, + "label": "short description", + "name": "example.zip", + "node_id": "MDEyOlJlbGVhc2VBc3NldDE=", + "size": 1024, + "state": "uploaded", + "updated_at": "2013-02-27T19:35:32Z", + "uploader": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1" + } + }, + "release-items": { + "value": [ + { + "assets": [ + { + "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip", + "content_type": "application/zip", + "created_at": "2013-02-27T19:35:32Z", + "download_count": 42, + "id": 1, + "label": "short description", + "name": "example.zip", + "node_id": "MDEyOlJlbGVhc2VBc3NldDE=", + "size": 1024, + "state": "uploaded", + "updated_at": "2013-02-27T19:35:32Z", + "uploader": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1" + } + ], + "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets", + "author": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "body": "Description of the release", + "created_at": "2013-02-27T19:35:32Z", + "draft": false, + "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0", + "id": 1, + "name": "v1.0.0", + "node_id": "MDc6UmVsZWFzZTE=", + "prerelease": false, + "published_at": "2013-02-27T19:35:32Z", + "tag_name": "v1.0.0", + "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0", + "target_commitish": "master", + "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}", + "url": "https://api.github.com/repos/octocat/Hello-World/releases/1", + "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0" + } + ] + }, + "release-notes-content": { + "value": { + "body": "##Changes in Release v1.0.0 ... ##Contributors @monalisa", + "name": "Release v1.0.0 is now available!" + } + }, + "rename-gist-file": { + "value": { + "comments": 0, + "comments_url": "https://api.github.com/gists/2decf6c462d9b4418f2/comments", + "commits_url": "https://api.github.com/gists/2decf6c462d9b4418f2/commits", + "created_at": "2022-09-20T12:11:58Z", + "description": "A gist description.", + "files": { + "goodbye.py": { + "content": "# Hello world", + "filename": "goodbye.py", + "language": "Python", + "raw_url": "https://gist.githubusercontent.com/monalisa/8481a81af6b7a2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/goodbye.py", + "size": 4, + "truncated": false, + "type": "application/x-python" + } + }, + "forks": [], + "forks_url": "https://api.github.com/gists/2decf6c462d9b4418f2/forks", + "git_pull_url": "https://gist.github.com/2decf6c462d9b4418f2.git", + "git_push_url": "https://gist.github.com/2decf6c462d9b4418f2.git", + "history": [ + { + "change_status": { + "additions": 0, + "deletions": 0, + "total": 0 + }, + "committed_at": "2022-09-21T10:28:06Z", + "url": "https://api.github.com/gists/8481a81af6b7a2d418f2/468aac8caed5f0c3b859b8286968", + "user": { + "avatar_url": "https://avatars.githubusercontent.com/u/104456405?v=4", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/monalisa", + "id": 104456405, + "login": "monalisa", + "node_id": "U_kgyLQ", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "repos_url": "https://api.github.com/users/monalisa/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "type": "User", + "url": "https://api.github.com/users/monalisa" + }, + "version": "468aac8caed5f0c3b859b8286968" + } + ], + "html_url": "https://gist.github.com/2decf6c462d9b4418f2", + "id": "2decf6c462d9b4418f2", + "node_id": "G_kwDOBhHyLdoAIDg0ODFZDliNDQxOGYy", + "owner": { + "avatar_url": "https://avatars.githubusercontent.com/u/104456405?v=4", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/monalisa", + "id": 104456405, + "login": "monalisa", + "node_id": "U_kgDOBhHyLQ", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "repos_url": "https://api.github.com/users/monalisa/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "type": "User", + "url": "https://api.github.com/users/monalisa" + }, + "public": true, + "truncated": false, + "updated_at": "2022-09-21T10:28:06Z", + "url": "https://api.github.com/gists/2decf6c462d9b4418f2", + "user": null + } + }, + "repo-codespaces-secret": { + "value": { + "created_at": "2019-08-10T14:59:22Z", + "name": "GH_TOKEN", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "all" + } + }, + "repo-codespaces-secret-paginated": { + "value": { + "secrets": [ + { + "created_at": "2019-08-10T14:59:22Z", + "name": "GH_TOKEN", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "all" + }, + { + "created_at": "2020-01-10T10:59:22Z", + "name": "GIST_ID", + "updated_at": "2020-01-11T11:59:22Z", + "visibility": "all" + } + ], + "total_count": 2 + } + }, + "repo-events-items": { + "value": [ + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-09T12:47:28Z", + "id": "22249084964", + "payload": { + "before": "883efe034920928c47fe18598c01249d1a9fdabd", + "commits": [ + { + "author": { + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "distinct": true, + "message": "commit", + "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" + } + ], + "distinct_size": 1, + "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "push_id": 10115855396, + "ref": "refs/heads/master", + "size": 1 + }, + "public": true, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "PushEvent" + }, + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-08T23:29:25Z", + "id": "22237752260", + "payload": { + "action": "started" + }, + "public": true, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "WatchEvent" + } + ] + }, + "repo-required-workflow": { + "value": { + "badge_url": "https://github.com/octo-org/octo-repo/workflows/required/octo-org/hello-world/.github/workflows/required_ci.yaml/badge.svg", + "created_at": "2020-01-08T23:48:37.000-08:00", + "html_url": "https://github.com/octo-org/octo-repo/blob/master/octo-org/hello-world/.github/workflows/required_ci.yaml", + "id": 161335, + "name": "RequiredCI", + "node_id": "MDg6V29ya2Zsb3cxNjEzMzU=", + "path": ".github/workflows/required_ci.yaml", + "source_repository": { + "archive_url": "https://api.github.com/repos/octo-org/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octo-org/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octo-org/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octo-org/Hello-World/forks", + "full_name": "octo-org/Hello-World", + "git_commits_url": "https://api.github.com/repos/octo-org/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octo-org/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octo-org/Hello-World/hooks", + "html_url": "https://github.com/octo-org/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octo-org/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octo-org/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octo-org/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octo-org/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octo-org_happy.gif", + "events_url": "https://api.github.com/users/octo-org/events{/privacy}", + "followers_url": "https://api.github.com/users/octo-org/followers", + "following_url": "https://api.github.com/users/octo-org/following{/other_user}", + "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octo-org", + "id": 1, + "login": "octo-org", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octo-org/orgs", + "received_events_url": "https://api.github.com/users/octo-org/received_events", + "repos_url": "https://api.github.com/users/octo-org/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octo-org" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octo-org/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octo-org/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octo-org/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octo-org/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octo-org/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octo-org/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octo-org/Hello-World" + }, + "state": "active", + "updated_at": "2020-01-08T23:50:21.000-08:00", + "url": "https://api.github.com/repos/octo-org/octo-repo/actions/required_workflows/161335" + } + }, + "repo-required-workflow-paginated": { + "value": { + "required_workflows": [ + { + "badge_url": "https://github.com/octo-org/octo-repo/workflows/required/octo-org/hello-world/.github/workflows/required_ci.yaml/badge.svg", + "created_at": "2020-01-08T23:48:37.000-08:00", + "html_url": "https://github.com/octo-org/octo-repo/blob/master/octo-org/hello-world/.github/workflows/required_ci.yaml", + "id": 161335, + "name": "RequiredCI", + "node_id": "MDg6V29ya2Zsb3cxNjEzMzU=", + "path": ".github/workflows/required_ci.yaml", + "source_repository": { + "archive_url": "https://api.github.com/repos/octo-org/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octo-org/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octo-org/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octo-org/Hello-World/forks", + "full_name": "octo-org/Hello-World", + "git_commits_url": "https://api.github.com/repos/octo-org/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octo-org/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octo-org/Hello-World/hooks", + "html_url": "https://github.com/octo-org/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octo-org/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octo-org/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octo-org/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octo-org/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octo-org_happy.gif", + "events_url": "https://api.github.com/users/octo-org/events{/privacy}", + "followers_url": "https://api.github.com/users/octo-org/followers", + "following_url": "https://api.github.com/users/octo-org/following{/other_user}", + "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octo-org", + "id": 1, + "login": "octo-org", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octo-org/orgs", + "received_events_url": "https://api.github.com/users/octo-org/received_events", + "repos_url": "https://api.github.com/users/octo-org/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octo-org" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octo-org/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octo-org/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octo-org/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octo-org/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octo-org/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octo-org/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octo-org/Hello-World" + }, + "state": "active", + "updated_at": "2020-01-08T23:50:21.000-08:00", + "url": "https://api.github.com/repos/octo-org/octo-repo/actions/required_workflows/161335" + } + ], + "total_count": 1 + } + }, + "repo-search-result-item-paginated": { + "value": { + "incomplete_results": false, + "items": [ + { + "archive_url": "https://api.github.com/repos/dtrupenn/Tetris/{archive_format}{/ref}", + "archived": true, + "assignees_url": "https://api.github.com/repos/dtrupenn/Tetris/assignees{/user}", + "blobs_url": "https://api.github.com/repos/dtrupenn/Tetris/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/dtrupenn/Tetris/branches{/branch}", + "clone_url": "https://github.com/dtrupenn/Tetris.git", + "collaborators_url": "https://api.github.com/repos/dtrupenn/Tetris/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/dtrupenn/Tetris/comments{/number}", + "commits_url": "https://api.github.com/repos/dtrupenn/Tetris/commits{/sha}", + "compare_url": "https://api.github.com/repos/dtrupenn/Tetris/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/dtrupenn/Tetris/contents/{+path}", + "contributors_url": "https://api.github.com/repos/dtrupenn/Tetris/contributors", + "created_at": "2012-01-01T00:31:50Z", + "default_branch": "master", + "deployments_url": "https://api.github.com/repos/dtrupenn/Tetris/deployments", + "description": "A C implementation of Tetris using Pennsim through LC4", + "disabled": true, + "downloads_url": "https://api.github.com/repos/dtrupenn/Tetris/downloads", + "events_url": "https://api.github.com/repos/dtrupenn/Tetris/events", + "fork": false, + "forks": 1, + "forks_count": 0, + "forks_url": "https://api.github.com/repos/dtrupenn/Tetris/forks", + "full_name": "dtrupenn/Tetris", + "git_commits_url": "https://api.github.com/repos/dtrupenn/Tetris/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/dtrupenn/Tetris/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/dtrupenn/Tetris/git/tags{/sha}", + "git_url": "git:github.com/dtrupenn/Tetris.git", + "has_downloads": true, + "has_issues": true, + "has_pages": true, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/dtrupenn/Tetris/hooks", + "html_url": "https://github.com/dtrupenn/Tetris", + "id": 3081286, + "issue_comment_url": "https://api.github.com/repos/dtrupenn/Tetris/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/dtrupenn/Tetris/issues/events{/number}", + "issues_url": "https://api.github.com/repos/dtrupenn/Tetris/issues{/number}", + "keys_url": "https://api.github.com/repos/dtrupenn/Tetris/keys{/key_id}", + "labels_url": "https://api.github.com/repos/dtrupenn/Tetris/labels{/name}", + "language": "Assembly", + "languages_url": "https://api.github.com/repos/dtrupenn/Tetris/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "master_branch": "master", + "merges_url": "https://api.github.com/repos/dtrupenn/Tetris/merges", + "milestones_url": "https://api.github.com/repos/dtrupenn/Tetris/milestones{/number}", + "mirror_url": "git:git.example.com/dtrupenn/Tetris", + "name": "Tetris", + "node_id": "MDEwOlJlcG9zaXRvcnkzMDgxMjg2", + "notifications_url": "https://api.github.com/repos/dtrupenn/Tetris/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://secure.gravatar.com/avatar/e7956084e75f239de85d3a31bc172ace?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 872147, + "login": "dtrupenn", + "node_id": "MDQ6VXNlcjg3MjE0Nw==", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/dtrupenn/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/dtrupenn" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/dtrupenn/Tetris/pulls{/number}", + "pushed_at": "2012-01-01T00:37:02Z", + "releases_url": "https://api.github.com/repos/dtrupenn/Tetris/releases{/id}", + "score": 1, + "size": 524, + "ssh_url": "git@github.com:dtrupenn/Tetris.git", + "stargazers_count": 1, + "stargazers_url": "https://api.github.com/repos/dtrupenn/Tetris/stargazers", + "statuses_url": "https://api.github.com/repos/dtrupenn/Tetris/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/dtrupenn/Tetris/subscribers", + "subscription_url": "https://api.github.com/repos/dtrupenn/Tetris/subscription", + "svn_url": "https://svn.github.com/dtrupenn/Tetris", + "tags_url": "https://api.github.com/repos/dtrupenn/Tetris/tags", + "teams_url": "https://api.github.com/repos/dtrupenn/Tetris/teams", + "trees_url": "https://api.github.com/repos/dtrupenn/Tetris/git/trees{/sha}", + "updated_at": "2013-01-05T17:58:47Z", + "url": "https://api.github.com/repos/dtrupenn/Tetris", + "visibility": "private", + "watchers": 1, + "watchers_count": 1 + } + ], + "total_count": 40 + } + }, + "repository": { + "value": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 9, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "organization": null, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 80, + "watchers_count": 80 + } + }, + "repository-3": { + "value": { + "allow_auto_merge": false, + "allow_rebase_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 9, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 80, + "watchers_count": 80 + } + }, + "repository-collaborator-permission-response-if-user-has-admin-permissions": { + "value": { + "permission": "admin", + "role_name": "admin", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "repository-invitation": { + "value": { + "created_at": "2016-06-13T14:52:50-05:00", + "expired": false, + "html_url": "https://github.com/octocat/Hello-World/invitations", + "id": 1, + "invitee": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "inviter": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "permissions": "write", + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "url": "https://api.github.com/user/repository_invitations/1296269" + } + }, + "repository-invitation-items": { + "value": [ + { + "created_at": "2016-06-13T14:52:50-05:00", + "html_url": "https://github.com/octocat/Hello-World/invitations", + "id": 1, + "invitee": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "inviter": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "node_id": "MDQ6VXNlcjE=", + "permissions": "write", + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "url": "https://api.github.com/user/repository_invitations/1296269" + } + ] + }, + "repository-invitation-response-when-a-new-invitation-is-created": { + "value": { + "created_at": "2016-06-13T14:52:50-05:00", + "html_url": "https://github.com/octocat/Hello-World/invitations", + "id": 1, + "invitee": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "inviter": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "permissions": "write", + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "url": "https://api.github.com/user/repository_invitations/1296269" + } + }, + "repository-items-default-response": { + "summary": "Default response", + "value": [ + { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + } + ] + }, + "repository-paginated": { + "value": { + "repositories": [ + { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + } + ], + "total_count": 1 + } + }, + "repository-paginated-2": { + "value": { + "repositories": [ + { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + } + ], + "total_count": 1 + } + }, + "repository-subscription": { + "value": { + "created_at": "2012-10-06T21:34:12Z", + "ignored": false, + "reason": null, + "repository_url": "https://api.github.com/repos/octocat/example", + "subscribed": true, + "url": "https://api.github.com/repos/octocat/example/subscription" + } + }, + "repository-subscription-response-if-you-subscribe-to-the-repository": { + "value": { + "created_at": "2012-10-06T21:34:12Z", + "ignored": false, + "reason": null, + "repository_url": "https://api.github.com/repos/octocat/example", + "subscribed": true, + "url": "https://api.github.com/repos/octocat/example/subscription" + } + }, + "required-workflow": { + "value": { + "created_at": "2020-01-22T19:33:08Z", + "id": 30433642, + "name": "Required CI", + "path": ".github/workflows/ci.yml", + "ref": "refs/head/main", + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "scope": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/required_workflows/1/repositories", + "state": "active", + "updated_at": "2020-01-22T19:33:08Z" + } + }, + "required-workflows-paginated": { + "value": { + "required_workflows": [ + { + "created_at": "2020-01-22T19:33:08Z", + "id": 30433642, + "name": "Required CI", + "path": ".github/workflows/ci.yml", + "ref": "refs/head/main", + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "scope": "selected", + "selected_repositories_url": "https://api.github.com/organizations/org/actions/required_workflows/1/repositories", + "state": "active", + "updated_at": "2020-01-22T19:33:08Z" + }, + { + "created_at": "2020-01-22T19:33:08Z", + "id": 30433643, + "name": "Required Linter", + "path": ".github/workflows/lint.yml", + "ref": "refs/head/main", + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "scope": "all", + "state": "active", + "updated_at": "2020-01-22T19:33:08Z" + } + ], + "total_count": 2 + } + }, + "review-comment-items": { + "value": [ + { + "_links": { + "html": { + "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + }, + "pull_request": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + }, + "self": { + "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + } + }, + "author_association": "NONE", + "body": "Great stuff!", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "created_at": "2011-04-14T16:00:49Z", + "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...", + "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1", + "id": 10, + "in_reply_to_id": 8, + "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw", + "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", + "original_position": 4, + "path": "file1.txt", + "position": 1, + "pull_request_review_id": 42, + "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1", + "updated_at": "2011-04-14T16:00:49Z", + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + ] + }, + "root": { + "value": { + "authorizations_url": "https://api.github.com/authorizations", + "code_search_url": "https://api.github.com/search/code?q={query}{&page,per_page,sort,order}", + "commit_search_url": "https://api.github.com/search/commits?q={query}{&page,per_page,sort,order}", + "current_user_authorizations_html_url": "https://github.com/settings/connections/applications{/client_id}", + "current_user_repositories_url": "https://api.github.com/user/repos{?type,page,per_page,sort}", + "current_user_url": "https://api.github.com/user", + "emails_url": "https://api.github.com/user/emails", + "emojis_url": "https://api.github.com/emojis", + "events_url": "https://api.github.com/events", + "feeds_url": "https://api.github.com/feeds", + "followers_url": "https://api.github.com/user/followers", + "following_url": "https://api.github.com/user/following{/target}", + "gists_url": "https://api.github.com/gists{/gist_id}", + "hub_url": "https://api.github.com/hub", + "issue_search_url": "https://api.github.com/search/issues?q={query}{&page,per_page,sort,order}", + "issues_url": "https://api.github.com/issues", + "keys_url": "https://api.github.com/user/keys", + "label_search_url": "https://api.github.com/search/labels?q={query}&repository_id={repository_id}{&page,per_page}", + "notifications_url": "https://api.github.com/notifications", + "organization_repositories_url": "https://api.github.com/orgs/{org}/repos{?type,page,per_page,sort}", + "organization_teams_url": "https://api.github.com/orgs/{org}/teams", + "organization_url": "https://api.github.com/orgs/{org}", + "public_gists_url": "https://api.github.com/gists/public", + "rate_limit_url": "https://api.github.com/rate_limit", + "repository_search_url": "https://api.github.com/search/repositories?q={query}{&page,per_page,sort,order}", + "repository_url": "https://api.github.com/repos/{owner}/{repo}", + "starred_gists_url": "https://api.github.com/gists/starred", + "starred_url": "https://api.github.com/user/starred{/owner}{/repo}", + "topic_search_url": "https://api.github.com/search/topics?q={query}{&page,per_page}", + "user_organizations_url": "https://api.github.com/user/orgs", + "user_repositories_url": "https://api.github.com/users/{user}/repos{?type,page,per_page,sort}", + "user_search_url": "https://api.github.com/search/users?q={query}{&page,per_page,sort,order}", + "user_url": "https://api.github.com/users/{user}" + } + }, + "runner": { + "value": { + "busy": true, + "id": 23, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ], + "name": "MBP", + "os": "macos", + "status": "online" + } + }, + "runner-application-items": { + "value": [ + { + "architecture": "x64", + "download_url": "https://github.com/actions/runner/releases/download/v2.164.0/actions-runner-osx-x64-2.164.0.tar.gz", + "filename": "actions-runner-osx-x64-2.164.0.tar.gz", + "os": "osx" + }, + { + "architecture": "x64", + "download_url": "https://github.com/actions/runner/releases/download/v2.164.0/actions-runner-linux-x64-2.164.0.tar.gz", + "filename": "actions-runner-linux-x64-2.164.0.tar.gz", + "os": "linux" + }, + { + "architecture": "arm", + "download_url": "https://github.com/actions/runner/releases/download/v2.164.0/actions-runner-linux-arm-2.164.0.tar.gz", + "filename": "actions-runner-linux-arm-2.164.0.tar.gz", + "os": "linux" + }, + { + "architecture": "x64", + "download_url": "https://github.com/actions/runner/releases/download/v2.164.0/actions-runner-win-x64-2.164.0.zip", + "filename": "actions-runner-win-x64-2.164.0.zip", + "os": "win" + }, + { + "architecture": "arm64", + "download_url": "https://github.com/actions/runner/releases/download/v2.164.0/actions-runner-linux-arm64-2.164.0.tar.gz", + "filename": "actions-runner-linux-arm64-2.164.0.tar.gz", + "os": "linux" + } + ] + }, + "runner-labels": { + "value": { + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ], + "total_count": 4 + } + }, + "runner-labels-readonly": { + "value": { + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + } + ], + "total_count": 3 + } + }, + "runner-paginated": { + "value": { + "runners": [ + { + "busy": true, + "id": 23, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 11, + "name": "Linux", + "type": "read-only" + } + ], + "name": "linux_runner", + "os": "linux", + "status": "online" + }, + { + "busy": false, + "id": 24, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ], + "name": "mac_runner", + "os": "macos", + "status": "offline" + } + ], + "total_count": 2 + } + }, + "scope-token": { + "value": { + "app": { + "client_id": "Iv1.8a61f9b3a7aba766", + "name": "my github app", + "url": "http://my-github-app.com" + }, + "created_at": "2011-09-06T17:26:27Z", + "expires_at": "2011-09-08T17:26:27Z", + "fingerprint": "jklmnop12345678", + "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 1, + "installation": { + "account": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "has_multiple_single_files": false, + "permissions": { + "contents": "read", + "issues": "write", + "metadata": "read" + }, + "repositories_url": "https://api.github.com/user/repos", + "repository_selection": "selected", + "single_file_name": ".github/workflow.yml", + "single_file_paths": [] + }, + "note": "optional note", + "note_url": "http://optional/note/url", + "scopes": [], + "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", + "token_last_eight": "Ae178B4a", + "updated_at": "2011-09-06T20:39:23Z", + "url": "https://api.github.com/authorizations/1", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "secret-scanning-alert-list": { + "value": [ + { + "created_at": "2020-11-06T18:48:51Z", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "number": 2, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypassed_by": { + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/monalisa", + "id": 2, + "login": "monalisa", + "node_id": "MDQ6VXNlcjI=", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "repos_url": "https://api.github.com/users/monalisa/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "type": "User", + "url": "https://api.github.com/users/monalisa" + }, + "resolution": "false_positive", + "resolution_comment": "Example comment", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/monalisa", + "id": 2, + "login": "monalisa", + "node_id": "MDQ6VXNlcjI=", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "repos_url": "https://api.github.com/users/monalisa/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "type": "User", + "url": "https://api.github.com/users/monalisa" + }, + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "state": "resolved", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2" + }, + { + "created_at": "2020-11-06T18:18:30Z", + "html_url": "https://github.com/owner/repo/security/secret-scanning/1", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/1/locations", + "number": 1, + "push_protection_bypassed": false, + "push_protection_bypassed_at": null, + "push_protection_bypassed_by": null, + "resolution": null, + "resolution_comment": null, + "resolved_at": null, + "resolved_by": null, + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "secret_type": "mailchimp_api_key", + "secret_type_display_name": "Mailchimp API Key", + "state": "open", + "url": "https://api.github.com/repos/owner/repo/secret-scanning/alerts/1" + } + ] + }, + "secret-scanning-alert-location-created": { + "value": { + "action": "created", + "alert": { + "created_at": "2020-11-06T18:18:30Z", + "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42", + "locations_url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations", + "number": 42, + "resolution": null, + "resolved_at": null, + "resolved_by": null, + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "secret_type": "mailchimp_api_key", + "state": "open", + "updated_at": "2020-11-06T18:18:30Z", + "url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42" + }, + "location": { + "details": { + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b", + "end_column": 64, + "end_line": 1, + "path": "/example/secrets.txt", + "start_column": 1, + "start_line": 1 + }, + "type": "commit" + }, + "repository": { + "archive_url": "https://api.github.com/repos/octocat-repo/hello-world/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat-repo/hello-world/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat-repo/hello-world/branches{/branch}", + "clone_url": "https://github.com/octocat-repo/hello-world.git", + "collaborators_url": "https://api.github.com/repos/octocat-repo/hello-world/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat-repo/hello-world/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat-repo/hello-world/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat-repo/hello-world/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat-repo/hello-world/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat-repo/hello-world/contributors", + "created_at": "2019-05-15T15:19:25Z", + "default_branch": "master", + "deployments_url": "https://api.github.com/repos/octocat-repo/hello-world/deployments", + "description": null, + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat-repo/hello-world/downloads", + "events_url": "https://api.github.com/repos/octocat-repo/hello-world/events", + "fork": false, + "forks": 1, + "forks_count": 1, + "forks_url": "https://api.github.com/repos/octocat-repo/hello-world/forks", + "full_name": "octocat-repo/hello-world", + "git_commits_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat-repo/hello-world/git/tags{/sha}", + "git_url": "git://github.com/octocat-repo/hello-world.git", + "has_downloads": true, + "has_issues": true, + "has_pages": true, + "has_projects": true, + "has_wiki": true, + "homepage": null, + "hooks_url": "https://api.github.com/repos/octocat-repo/hello-world/hooks", + "html_url": "https://github.com/octocat-repo/hello-world", + "id": 186853002, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat-repo/hello-world/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat-repo/hello-world/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat-repo/hello-world/labels{/name}", + "language": "Ruby", + "languages_url": "https://api.github.com/repos/octocat-repo/hello-world/languages", + "license": null, + "merges_url": "https://api.github.com/repos/octocat-repo/hello-world/merges", + "milestones_url": "https://api.github.com/repos/octocat-repo/hello-world/milestones{/number}", + "mirror_url": null, + "name": "hello-world", + "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", + "notifications_url": "https://api.github.com/repos/octocat-repo/hello-world/notifications{?since,all,participating}", + "open_issues": 2, + "open_issues_count": 2, + "owner": { + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 21031067, + "login": "octocat", + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat-repo/hello-world/pulls{/number}", + "pushed_at": "2019-05-15T15:20:57Z", + "releases_url": "https://api.github.com/repos/octocat-repo/hello-world/releases{/id}", + "size": 0, + "ssh_url": "git@github.com:octocat-repo/hello-world.git", + "stargazers_count": 0, + "stargazers_url": "https://api.github.com/repos/octocat-repo/hello-world/stargazers", + "statuses_url": "https://api.github.com/repos/octocat-repo/hello-world/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat-repo/hello-world/subscribers", + "subscription_url": "https://api.github.com/repos/octocat-repo/hello-world/subscription", + "svn_url": "https://github.com/octocat-repo/hello-world", + "tags_url": "https://api.github.com/repos/octocat-repo/hello-world/tags", + "teams_url": "https://api.github.com/repos/octocat-repo/hello-world/teams", + "trees_url": "https://api.github.com/repos/octocat-repo/hello-world/git/trees{/sha}", + "updated_at": "2019-05-15T15:21:03Z", + "url": "https://api.github.com/repos/octocat-repo/hello-world", + "watchers": 0, + "watchers_count": 0 + }, + "sender": { + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 21031067, + "login": "octocat", + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + }, + "secret-scanning-alert-location-created-form-encoded": { + "value": { + "payload": "action%3A%20created%0A%20%20alert%3A%0A%20%20%20%20number%3A%2042%0A%20%20%20%20created_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20updated_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%2Fsecurity%2Fsecret-scanning%2F42%0A%20%20%20%20locations_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%2Flocations%0A%20%20%20%20state%3A%20open%0A%20%20%20%20resolution%3A%20null%0A%20%20%20%20resolved_at%3A%20null%0A%20%20%20%20resolved_by%3A%20null%0A%20%20%20%20secret_type%3A%20mailchimp_api_key%0A%20%20%20%20secret%3A%20XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2%0A%20%20location%3A%0A%20%20%20%20type%3A%20commit%0A%20%20%20%20details%3A%0A%20%20%20%20%20%20path%3A%20%27%2Fexample%2Fsecrets.txt%27%0A%20%20%20%20%20%20start_line%3A%201%0A%20%20%20%20%20%20end_line%3A%201%0A%20%20%20%20%20%20start_column%3A%201%0A%20%20%20%20%20%20end_column%3A%2064%0A%20%20%20%20%20%20blob_sha%3A%20af5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20blob_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%2Faf5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20commit_sha%3A%20f14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20%20%20%20%20commit_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%2Ff14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20repository%3A%0A%20%20%20%20id%3A%20186853002%0A%20%20%20%20node_id%3A%20MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%0A%20%20%20%20name%3A%20hello-world%0A%20%20%20%20full_name%3A%20octocat-repo%2Fhello-world%0A%20%20%20%20private%3A%20false%0A%20%20%20%20owner%3A%0A%20%20%20%20%20%20login%3A%20octocat%0A%20%20%20%20%20%20id%3A%2021031067%0A%20%20%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20%20%20type%3A%20User%0A%20%20%20%20%20%20site_admin%3A%20false%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20description%3A%0A%20%20%20%20fork%3A%20false%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%0A%20%20%20%20forks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fforks%0A%20%20%20%20keys_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fkeys%7B%2Fkey_id%7D%0A%20%20%20%20collaborators_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcollaborators%7B%2Fcollaborator%7D%0A%20%20%20%20teams_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fteams%0A%20%20%20%20hooks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fhooks%0A%20%20%20%20issue_events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fevents%7B%2Fnumber%7D%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fevents%0A%20%20%20%20assignees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fassignees%7B%2Fuser%7D%0A%20%20%20%20branches_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fbranches%7B%2Fbranch%7D%0A%20%20%20%20tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Ftags%0A%20%20%20%20blobs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%7B%2Fsha%7D%0A%20%20%20%20git_tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftags%7B%2Fsha%7D%0A%20%20%20%20git_refs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Frefs%7B%2Fsha%7D%0A%20%20%20%20trees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftrees%7B%2Fsha%7D%0A%20%20%20%20statuses_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstatuses%2F%7Bsha%7D%0A%20%20%20%20languages_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flanguages%0A%20%20%20%20stargazers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstargazers%0A%20%20%20%20contributors_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontributors%0A%20%20%20%20subscribers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscribers%0A%20%20%20%20subscription_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscription%0A%20%20%20%20commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20git_commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20comments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20issue_comment_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20contents_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontents%2F%7B%2Bpath%7D%0A%20%20%20%20compare_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%0A%20%20%20%20merges_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmerges%0A%20%20%20%20archive_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2F%7Barchive_format%7D%7B%2Fref%7D%0A%20%20%20%20downloads_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdownloads%0A%20%20%20%20issues_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%7B%2Fnumber%7D%0A%20%20%20%20pulls_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fpulls%7B%2Fnumber%7D%0A%20%20%20%20milestones_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmilestones%7B%2Fnumber%7D%0A%20%20%20%20notifications_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%0A%20%20%20%20labels_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flabels%7B%2Fname%7D%0A%20%20%20%20releases_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Freleases%7B%2Fid%7D%0A%20%20%20%20deployments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdeployments%0A%20%20%20%20created_at%3A%20%272019-05-15T15%3A19%3A25Z%27%0A%20%20%20%20updated_at%3A%20%272019-05-15T15%3A21%3A03Z%27%0A%20%20%20%20pushed_at%3A%20%272019-05-15T15%3A20%3A57Z%27%0A%20%20%20%20git_url%3A%20git%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20ssh_url%3A%20git%40github.com%3Aoctocat-repo%2Fhello-world.git%0A%20%20%20%20clone_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20svn_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20homepage%3A%0A%20%20%20%20size%3A%200%0A%20%20%20%20stargazers_count%3A%200%0A%20%20%20%20watchers_count%3A%200%0A%20%20%20%20language%3A%20Ruby%0A%20%20%20%20has_issues%3A%20true%0A%20%20%20%20has_projects%3A%20true%0A%20%20%20%20has_downloads%3A%20true%0A%20%20%20%20has_wiki%3A%20true%0A%20%20%20%20has_pages%3A%20true%0A%20%20%20%20forks_count%3A%201%0A%20%20%20%20mirror_url%3A%0A%20%20%20%20archived%3A%20false%0A%20%20%20%20disabled%3A%20false%0A%20%20%20%20open_issues_count%3A%202%0A%20%20%20%20license%3A%0A%20%20%20%20forks%3A%201%0A%20%20%20%20open_issues%3A%202%0A%20%20%20%20watchers%3A%200%0A%20%20%20%20default_branch%3A%20master%0A%20%20%20%20is_template%3A%20false%0A%20%20sender%3A%0A%20%20%20%20login%3A%20octocat%0A%20%20%20%20id%3A%2021031067%0A%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20type%3A%20User%0A%20%20%20%20site_admin%3A%20false%0A" + } + }, + "secret-scanning-alert-open": { + "value": { + "created_at": "2020-11-06T18:18:30Z", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", + "number": 42, + "push_protection_bypassed": false, + "push_protection_bypassed_at": null, + "push_protection_bypassed_by": null, + "resolution": null, + "resolution_comment": null, + "resolved_at": null, + "resolved_by": null, + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "secret_type": "mailchimp_api_key", + "secret_type_display_name": "Mailchimp API Key", + "state": "open", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42" + } + }, + "secret-scanning-alert-resolved": { + "value": { + "created_at": "2020-11-06T18:18:30Z", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", + "number": 42, + "push_protection_bypassed": false, + "push_protection_bypassed_at": null, + "push_protection_bypassed_by": null, + "resolution": "used_in_tests", + "resolution_comment": "Example comment", + "resolved_at": "2020-11-16T22:42:07Z", + "resolved_by": { + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/monalisa", + "id": 2, + "login": "monalisa", + "node_id": "MDQ6VXNlcjI=", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "repos_url": "https://api.github.com/users/monalisa/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "type": "User", + "url": "https://api.github.com/users/monalisa" + }, + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "secret_type": "mailchimp_api_key", + "secret_type_display_name": "Mailchimp API Key", + "state": "resolved", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42" + } + }, + "secret-scanning-location-list": { + "value": [ + { + "details": { + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b", + "end_column": 64, + "end_line": 1, + "path": "/example/secrets.txt", + "start_column": 1, + "start_line": 1 + }, + "type": "commit" + }, + { + "details": { + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "type": "issue_title" + }, + { + "details": { + "issue_body_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "type": "issue_body" + }, + { + "details": { + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + }, + "type": "issue_comment" + } + ] + }, + "selected-actions": { + "value": { + "github_owned_allowed": true, + "patterns_allowed": [ + "monalisa/octocat@*", + "docker/*" + ], + "verified_allowed": false + } + }, + "short-blob": { + "value": { + "sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15", + "url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" + } + }, + "short-branch-with-protection-items": { + "value": [ + { + "commit": { + "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" + }, + "name": "master", + "protected": true, + "protection": { + "required_status_checks": { + "contexts": [ + "ci-test", + "linter" + ], + "enforcement_level": "non_admins" + } + }, + "protection_url": "https://api.github.com/repos/octocat/hello-world/branches/master/protection" + } + ] + }, + "simple-pull-request-review-request": { + "value": { + "teams": [ + { + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "parent": null, + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "url": "https://api.github.com/teams/1" + } + ], + "users": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + ] + } + }, + "simple-user-items": { + "value": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + ] + }, + "simple-user-items-default-response": { + "summary": "Default response", + "value": [ + { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + ] + }, + "ssh-signing-key": { + "value": { + "created_at": "2020-06-11T21:31:57Z", + "id": 2, + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", + "title": "ssh-rsa AAAAB3NzaC1yc2EAAA", + "url": "https://api.github.com/user/keys/2" + } + }, + "ssh-signing-key-items": { + "value": [ + { + "created_at": "2020-06-11T21:31:57Z", + "id": 2, + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", + "title": "ssh-rsa AAAAB3NzaC1yc2EAAA", + "url": "https://api.github.com/user/keys/2" + }, + { + "created_at": "2020-07-11T21:31:57Z", + "id": 3, + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJy931234", + "title": "ssh-rsa AAAAB3NzaC1yc2EAAB", + "url": "https://api.github.com/user/keys/3" + } + ] + }, + "stargazer-items-alternative-response-with-star-creation-timestamps": { + "summary": "Alternative response with star creation timestamps", + "value": [ + { + "starred_at": "2011-01-16T19:06:43Z", + "user": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + ] + }, + "starred-repository-items-alternative-response-with-star-creation-timestamps": { + "summary": "Alternative response with star creation timestamps", + "value": [ + { + "repo": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "pull": true, + "push": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + }, + "starred_at": "2011-01-16T19:06:43Z" + } + ] + }, + "status": { + "value": { + "avatar_url": "https://github.com/images/error/hubot_happy.gif", + "context": "continuous-integration/jenkins", + "created_at": "2012-07-20T01:19:13Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Build has completed successfully", + "id": 1, + "node_id": "MDY6U3RhdHVzMQ==", + "state": "success", + "target_url": "https://ci.example.com/1000/output", + "updated_at": "2012-07-20T01:19:13Z", + "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + }, + "status-check-policy": { + "value": { + "contexts": [ + "continuous-integration/travis-ci" + ], + "contexts_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts", + "strict": true, + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks" + } + }, + "status-items": { + "value": [ + { + "avatar_url": "https://github.com/images/error/hubot_happy.gif", + "context": "continuous-integration/jenkins", + "created_at": "2012-07-20T01:19:13Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "description": "Build has completed successfully", + "id": 1, + "node_id": "MDY6U3RhdHVzMQ==", + "state": "success", + "target_url": "https://ci.example.com/1000/output", + "updated_at": "2012-07-20T01:19:13Z", + "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" + } + ] + }, + "tag-items": { + "value": [ + { + "commit": { + "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" + }, + "name": "v0.1", + "node_id": "MDQ6VXNlcjE=", + "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1", + "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1" + } + ] + }, + "tag-protection": { + "value": { + "enabled": true + } + }, + "tag-protection-items": { + "value": [ + { + "id": 2, + "pattern": "v1.*" + } + ] + }, + "team-discussion": { + "value": { + "author": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "body": "Hi! This is an area for us to collaborate as a team.", + "body_html": "

Hi! This is an area for us to collaborate as a team

", + "body_version": "0d495416a700fb06133c612575d92bfb", + "comments_count": 0, + "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments", + "created_at": "2018-01-25T18:56:31Z", + "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1", + "last_edited_at": null, + "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==", + "number": 1, + "pinned": false, + "private": false, + "reactions": { + "+1": 3, + "-1": 1, + "confused": 0, + "eyes": 1, + "heart": 1, + "hooray": 0, + "laugh": 0, + "rocket": 1, + "total_count": 5, + "url": "https://api.github.com/teams/2343027/discussions/1/reactions" + }, + "team_url": "https://api.github.com/teams/2343027", + "title": "Our first team post", + "updated_at": "2018-01-25T18:56:31Z", + "url": "https://api.github.com/teams/2343027/discussions/1" + } + }, + "team-discussion-2": { + "value": { + "author": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "body": "Hi! This is an area for us to collaborate as a team.", + "body_html": "

Hi! This is an area for us to collaborate as a team

", + "body_version": "0d495416a700fb06133c612575d92bfb", + "comments_count": 1, + "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments", + "created_at": "2018-01-25T18:56:31Z", + "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1", + "last_edited_at": "2018-01-26T18:22:20Z", + "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==", + "number": 1, + "pinned": false, + "private": false, + "reactions": { + "+1": 3, + "-1": 1, + "confused": 0, + "eyes": 1, + "heart": 1, + "hooray": 0, + "laugh": 0, + "rocket": 1, + "total_count": 5, + "url": "https://api.github.com/teams/2343027/discussions/1/reactions" + }, + "team_url": "https://api.github.com/teams/2343027", + "title": "Welcome to our first team post", + "updated_at": "2018-01-26T18:22:20Z", + "url": "https://api.github.com/teams/2343027/discussions/1" + } + }, + "team-discussion-comment": { + "value": { + "author": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "body": "Do you like apples?", + "body_html": "

Do you like apples?

", + "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51", + "created_at": "2018-01-15T23:53:58Z", + "discussion_url": "https://api.github.com/teams/2403582/discussions/1", + "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1", + "last_edited_at": null, + "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=", + "number": 1, + "reactions": { + "+1": 3, + "-1": 1, + "confused": 0, + "eyes": 1, + "heart": 1, + "hooray": 0, + "laugh": 0, + "rocket": 1, + "total_count": 5, + "url": "https://api.github.com/teams/2403582/discussions/1/reactions" + }, + "updated_at": "2018-01-15T23:53:58Z", + "url": "https://api.github.com/teams/2403582/discussions/1/comments/1" + } + }, + "team-discussion-comment-2": { + "value": { + "author": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "body": "Do you like pineapples?", + "body_html": "

Do you like pineapples?

", + "body_version": "e6907b24d9c93cc0c5024a7af5888116", + "created_at": "2018-01-15T23:53:58Z", + "discussion_url": "https://api.github.com/teams/2403582/discussions/1", + "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1", + "last_edited_at": "2018-01-26T18:22:20Z", + "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=", + "number": 1, + "reactions": { + "+1": 3, + "-1": 1, + "confused": 0, + "eyes": 1, + "heart": 1, + "hooray": 0, + "laugh": 0, + "rocket": 1, + "total_count": 5, + "url": "https://api.github.com/teams/2403582/discussions/1/reactions" + }, + "updated_at": "2018-01-26T18:22:20Z", + "url": "https://api.github.com/teams/2403582/discussions/1/comments/1" + } + }, + "team-discussion-comment-items": { + "value": [ + { + "author": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "body": "Do you like apples?", + "body_html": "

Do you like apples?

", + "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51", + "created_at": "2018-01-15T23:53:58Z", + "discussion_url": "https://api.github.com/teams/2403582/discussions/1", + "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1", + "last_edited_at": null, + "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=", + "number": 1, + "reactions": { + "+1": 3, + "-1": 1, + "confused": 0, + "eyes": 1, + "heart": 1, + "hooray": 0, + "laugh": 0, + "rocket": 1, + "total_count": 5, + "url": "https://api.github.com/teams/2403582/discussions/1/reactions" + }, + "updated_at": "2018-01-15T23:53:58Z", + "url": "https://api.github.com/teams/2403582/discussions/1/comments/1" + } + ] + }, + "team-discussion-items": { + "value": [ + { + "author": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "body": "Hi! This is an area for us to collaborate as a team.", + "body_html": "

Hi! This is an area for us to collaborate as a team

", + "body_version": "0d495416a700fb06133c612575d92bfb", + "comments_count": 0, + "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments", + "created_at": "2018-01-25T18:56:31Z", + "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1", + "last_edited_at": null, + "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==", + "number": 1, + "pinned": false, + "private": false, + "reactions": { + "+1": 3, + "-1": 1, + "confused": 0, + "eyes": 1, + "heart": 1, + "hooray": 0, + "laugh": 0, + "rocket": 1, + "total_count": 5, + "url": "https://api.github.com/teams/2343027/discussions/1/reactions" + }, + "team_url": "https://api.github.com/teams/2343027", + "title": "Our first team post", + "updated_at": "2018-01-25T18:56:31Z", + "url": "https://api.github.com/teams/2343027/discussions/1" + } + ] + }, + "team-full": { + "value": { + "created_at": "2017-07-14T16:53:42Z", + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_count": 3, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "organization": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "blog": "https://github.com/blog", + "company": "GitHub", + "created_at": "2008-01-14T04:33:35Z", + "description": "A great organization", + "email": "octocat@github.com", + "events_url": "https://api.github.com/orgs/github/events", + "followers": 20, + "following": 0, + "has_organization_projects": true, + "has_repository_projects": true, + "hooks_url": "https://api.github.com/orgs/github/hooks", + "html_url": "https://github.com/octocat", + "id": 1, + "is_verified": true, + "issues_url": "https://api.github.com/orgs/github/issues", + "location": "San Francisco", + "login": "github", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "name": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "public_gists": 1, + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "public_repos": 2, + "repos_url": "https://api.github.com/orgs/github/repos", + "type": "Organization", + "updated_at": "2017-08-17T12:37:15Z", + "url": "https://api.github.com/orgs/github" + }, + "parent": null, + "permission": "admin", + "privacy": "closed", + "repos_count": 10, + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "updated_at": "2017-08-17T12:37:15Z", + "url": "https://api.github.com/teams/1" + } + }, + "team-full-items": { + "value": [ + { + "created_at": "2017-07-14T16:53:42Z", + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_count": 3, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "organization": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "blog": "https://github.com/blog", + "company": "GitHub", + "created_at": "2008-01-14T04:33:35Z", + "description": "A great organization", + "email": "octocat@github.com", + "events_url": "https://api.github.com/orgs/github/events", + "followers": 20, + "following": 0, + "has_organization_projects": true, + "has_repository_projects": true, + "hooks_url": "https://api.github.com/orgs/github/hooks", + "html_url": "https://github.com/octocat", + "id": 1, + "is_verified": true, + "issues_url": "https://api.github.com/orgs/github/issues", + "location": "San Francisco", + "login": "github", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "name": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "public_gists": 1, + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "public_repos": 2, + "repos_url": "https://api.github.com/orgs/github/repos", + "type": "Organization", + "updated_at": "2017-08-17T12:37:15Z", + "url": "https://api.github.com/orgs/github" + }, + "parent": null, + "permission": "admin", + "privacy": "closed", + "repos_count": 10, + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "updated_at": "2017-08-17T12:37:15Z", + "url": "https://api.github.com/teams/1" + } + ] + }, + "team-items": { + "value": [ + { + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "parent": null, + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "url": "https://api.github.com/teams/1" + } + ] + }, + "team-items-response-if-child-teams-exist": { + "value": [ + { + "description": "Started it all.", + "html_url": "https://github.com/orgs/rails/teams/core", + "id": 2, + "members_url": "https://api.github.com/teams/2/members{/member}", + "name": "Original Roster", + "node_id": "MDQ6VGVhbTI=", + "parent": { + "description": "A great team.", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "id": 1, + "members_url": "https://api.github.com/teams/1/members{/member}", + "name": "Justice League", + "node_id": "MDQ6VGVhbTE=", + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/1/repos", + "slug": "justice-league", + "url": "https://api.github.com/teams/1" + }, + "permission": "admin", + "privacy": "closed", + "repositories_url": "https://api.github.com/teams/2/repos", + "slug": "original-roster", + "url": "https://api.github.com/teams/2" + } + ] + }, + "team-membership-response-if-user-is-a-team-maintainer": { + "summary": "Response if user is a team maintainer", + "value": { + "role": "maintainer", + "state": "active", + "url": "https://api.github.com/teams/1/memberships/octocat" + } + }, + "team-membership-response-if-users-membership-with-team-is-now-pending": { + "summary": "Response if user's membership with team is now pending", + "value": { + "role": "member", + "state": "pending", + "url": "https://api.github.com/teams/1/memberships/octocat" + } + }, + "team-project": { + "value": { + "body": "High-level roadmap for the upcoming year.", + "columns_url": "https://api.github.com/projects/1002605/columns", + "created_at": "2011-04-11T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "html_url": "https://github.com/orgs/api-playground/projects/1", + "id": 1002605, + "name": "Organization Roadmap", + "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", + "number": 1, + "organization_permission": "write", + "owner_url": "https://api.github.com/orgs/octocat", + "permissions": { + "admin": false, + "read": true, + "write": true + }, + "private": false, + "state": "open", + "updated_at": "2014-03-04T18:58:10Z", + "url": "https://api.github.com/projects/1002605" + } + }, + "team-project-items": { + "value": [ + { + "body": "High-level roadmap for the upcoming year.", + "columns_url": "https://api.github.com/projects/1002605/columns", + "created_at": "2011-04-11T20:09:31Z", + "creator": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "html_url": "https://github.com/orgs/api-playground/projects/1", + "id": 1002605, + "name": "Organization Roadmap", + "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", + "number": 1, + "organization_permission": "write", + "owner_url": "https://api.github.com/orgs/octocat", + "permissions": { + "admin": false, + "read": true, + "write": true + }, + "private": false, + "state": "open", + "updated_at": "2014-03-04T18:58:10Z", + "url": "https://api.github.com/projects/1002605" + } + ] + }, + "team-repository-alternative-response-with-extra-repository-information": { + "value": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "maintain": false, + "pull": true, + "push": false, + "triage": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "role_name": "read", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World-Template.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World-Template/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World-Template/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World-Template/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World-Template/events", + "fork": false, + "forks": 9, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World-Template/forks", + "full_name": "octocat/Hello-World-Template", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World-Template.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World-Template/hooks", + "html_url": "https://github.com/octocat/Hello-World-Template", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World-Template/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World-Template/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World-Template", + "name": "Hello-World-Template", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "maintain": false, + "pull": true, + "push": false, + "triage": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World-Template.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World-Template/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World-Template", + "tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World-Template/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World-Template", + "visibility": "public", + "watchers": 80, + "watchers_count": 80 + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + } + }, + "team-repository-alternative-response-with-repository-permissions": { + "value": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks": 1, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "name": "Hello-World", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "open_issues": 1, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "maintain": false, + "pull": true, + "push": false, + "triage": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "role_name": "read", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": { + "allow_auto_merge": false, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_squash_merge": true, + "archive_url": "https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}", + "clone_url": "https://github.com/octocat/Hello-World-Template.git", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World-Template/contributors", + "created_at": "2011-01-26T19:01:12Z", + "default_branch": "master", + "delete_branch_on_merge": true, + "deployments_url": "https://api.github.com/repos/octocat/Hello-World-Template/deployments", + "description": "This your first repo!", + "disabled": false, + "downloads_url": "https://api.github.com/repos/octocat/Hello-World-Template/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World-Template/events", + "fork": false, + "forks": 9, + "forks_count": 9, + "forks_url": "https://api.github.com/repos/octocat/Hello-World-Template/forks", + "full_name": "octocat/Hello-World-Template", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World-Template.git", + "has_downloads": true, + "has_issues": true, + "has_pages": false, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github.com", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World-Template/hooks", + "html_url": "https://github.com/octocat/Hello-World-Template", + "id": 1296269, + "is_template": true, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}", + "language": null, + "languages_url": "https://api.github.com/repos/octocat/Hello-World-Template/languages", + "license": { + "html_url": "https://api.github.com/licenses/mit", + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZW1pdA==", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/octocat/Hello-World-Template/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}", + "mirror_url": "git:git.example.com/octocat/Hello-World-Template", + "name": "Hello-World-Template", + "network_count": 0, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}", + "open_issues": 0, + "open_issues_count": 0, + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "permissions": { + "admin": false, + "maintain": false, + "pull": true, + "push": false, + "triage": false + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}", + "pushed_at": "2011-01-26T19:06:43Z", + "releases_url": "https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}", + "size": 108, + "ssh_url": "git@github.com:octocat/Hello-World-Template.git", + "stargazers_count": 80, + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World-Template/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}", + "subscribers_count": 42, + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscription", + "svn_url": "https://svn.github.com/octocat/Hello-World-Template", + "tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World-Template/teams", + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World-Template", + "visibility": "public", + "watchers": 80, + "watchers_count": 80 + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "updated_at": "2011-01-26T19:14:43Z", + "url": "https://api.github.com/repos/octocat/Hello-World", + "visibility": "public", + "watchers": 1, + "watchers_count": 80 + } + }, + "thread": { + "value": { + "id": "1", + "last_read_at": "2014-11-07T22:01:45Z", + "reason": "subscribed", + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "subject": { + "latest_comment_url": "https://api.github.com/repos/octokit/octokit.rb/issues/comments/123", + "title": "Greetings", + "type": "Issue", + "url": "https://api.github.com/repos/octokit/octokit.rb/issues/123" + }, + "subscription_url": "https://api.github.com/notifications/threads/1/subscription", + "unread": true, + "updated_at": "2014-11-07T22:01:45Z", + "url": "https://api.github.com/notifications/threads/1" + } + }, + "thread-items": { + "value": [ + { + "id": "1", + "last_read_at": "2014-11-07T22:01:45Z", + "reason": "subscribed", + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "subject": { + "latest_comment_url": "https://api.github.com/repos/octokit/octokit.rb/issues/comments/123", + "title": "Greetings", + "type": "Issue", + "url": "https://api.github.com/repos/octokit/octokit.rb/issues/123" + }, + "subscription_url": "https://api.github.com/notifications/threads/1/subscription", + "unread": true, + "updated_at": "2014-11-07T22:01:45Z", + "url": "https://api.github.com/notifications/threads/1" + } + ] + }, + "thread-subscription": { + "value": { + "created_at": "2012-10-06T21:34:12Z", + "ignored": false, + "reason": null, + "subscribed": true, + "thread_url": "https://api.github.com/notifications/threads/1", + "url": "https://api.github.com/notifications/threads/1/subscription" + } + }, + "timeline-issue-events": { + "value": [ + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "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}", + "gravatar_id": "", + "html_url": "https://github.com/github", + "id": 9919, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "organizations_url": "https://api.github.com/users/github/orgs", + "received_events_url": "https://api.github.com/users/github/received_events", + "repos_url": "https://api.github.com/users/github/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/github" + }, + "commit_id": null, + "commit_url": null, + "created_at": "2022-04-13T20:49:13Z", + "event": "locked", + "id": 6430295168, + "lock_reason": null, + "node_id": "LOE_lADODwFebM5HwC0kzwAAAAF_RoSA", + "performed_via_github_app": null, + "url": "https://api.github.com/repos/github/roadmap/issues/events/6430295168" + }, + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/67656570?v=4", + "events_url": "https://api.github.com/users/github-product-roadmap/events{/privacy}", + "followers_url": "https://api.github.com/users/github-product-roadmap/followers", + "following_url": "https://api.github.com/users/github-product-roadmap/following{/other_user}", + "gists_url": "https://api.github.com/users/github-product-roadmap/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/github-product-roadmap", + "id": 67656570, + "login": "github-product-roadmap", + "node_id": "MDQ6VXNlcjY3NjU2NTcw", + "organizations_url": "https://api.github.com/users/github-product-roadmap/orgs", + "received_events_url": "https://api.github.com/users/github-product-roadmap/received_events", + "repos_url": "https://api.github.com/users/github-product-roadmap/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/github-product-roadmap/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-product-roadmap/subscriptions", + "type": "User", + "url": "https://api.github.com/users/github-product-roadmap" + }, + "commit_id": null, + "commit_url": null, + "created_at": "2022-04-13T20:49:34Z", + "event": "labeled", + "id": 6430296748, + "label": { + "color": "99dd88", + "name": "beta" + }, + "node_id": "LE_lADODwFebM5HwC0kzwAAAAF_Roqs", + "performed_via_github_app": null, + "url": "https://api.github.com/repos/github/roadmap/issues/events/6430296748" + }, + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/67656570?v=4", + "events_url": "https://api.github.com/users/github-product-roadmap/events{/privacy}", + "followers_url": "https://api.github.com/users/github-product-roadmap/followers", + "following_url": "https://api.github.com/users/github-product-roadmap/following{/other_user}", + "gists_url": "https://api.github.com/users/github-product-roadmap/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/github-product-roadmap", + "id": 67656570, + "login": "github-product-roadmap", + "node_id": "MDQ6VXNlcjY3NjU2NTcw", + "organizations_url": "https://api.github.com/users/github-product-roadmap/orgs", + "received_events_url": "https://api.github.com/users/github-product-roadmap/received_events", + "repos_url": "https://api.github.com/users/github-product-roadmap/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/github-product-roadmap/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github-product-roadmap/subscriptions", + "type": "User", + "url": "https://api.github.com/users/github-product-roadmap" + }, + "commit_id": null, + "commit_url": null, + "created_at": "2022-05-18T19:29:01Z", + "event": "renamed", + "id": 6635165802, + "node_id": "RTE_lADODwFebM5HwC0kzwAAAAGLfJhq", + "performed_via_github_app": null, + "rename": { + "from": "Secret scanning: dry-runs for enterprise-level custom patterns (cloud)", + "to": "Secret scanning: dry-runs for enterprise-level custom patterns" + }, + "url": "https://api.github.com/repos/github/roadmap/issues/events/6635165802" + }, + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/94867353?v=4", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 94867353, + "login": "octocat", + "node_id": "U_kgDOBaePmQ", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "author_association": "COLLABORATOR", + "body": "🚢 Shipped to the cloud: https://github.blog/changelog/2022-05-12-secret-scanning-dry-runs-for-enterprise-level-custom-patterns/", + "created_at": "2022-05-19T00:52:15Z", + "event": "commented", + "html_url": "https://github.com/github/roadmap/issues/493#issuecomment-1130876857", + "id": 1130876857, + "issue_url": "https://api.github.com/repos/github/roadmap/issues/493", + "node_id": "IC_kwDODwFebM5DZ8-5", + "performed_via_github_app": null, + "reactions": { + "+1": 0, + "-1": 0, + "confused": 0, + "eyes": 0, + "heart": 0, + "hooray": 0, + "laugh": 0, + "rocket": 0, + "total_count": 0, + "url": "https://api.github.com/repos/github/roadmap/issues/comments/1130876857/reactions" + }, + "updated_at": "2022-05-19T00:52:15Z", + "url": "https://api.github.com/repos/github/roadmap/issues/comments/1130876857", + "user": { + "avatar_url": "https://avatars.githubusercontent.com/u/94867353?v=4", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 94867353, + "login": "octocat", + "node_id": "U_kgDOBaePmQ", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": true, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + } + } + ] + }, + "topic": { + "value": { + "names": [ + "octocat", + "atom", + "electron", + "api" + ] + } + }, + "topic-search-result-item-paginated": { + "value": { + "incomplete_results": false, + "items": [ + { + "created_at": "2016-11-28T22:03:59Z", + "created_by": "Yukihiro Matsumoto", + "curated": true, + "description": "Ruby was developed by Yukihiro \"Matz\" Matsumoto in 1995 with the intent of having an easily readable programming language. It is integrated with the Rails framework to create dynamic web-applications. Ruby's syntax is similar to that of Perl and Python.", + "display_name": "Ruby", + "featured": true, + "name": "ruby", + "released": "December 21, 1995", + "score": 1, + "short_description": "Ruby is a scripting language designed for simplified object-oriented programming.", + "updated_at": "2017-10-30T18:16:32Z" + }, + { + "created_at": "2016-12-09T17:03:50Z", + "created_by": "David Heinemeier Hansson", + "curated": true, + "description": "Ruby on Rails (Rails) is a web application framework written in Ruby. It is meant to help simplify the building of complex websites.", + "display_name": "Rails", + "featured": true, + "name": "rails", + "released": "December 13 2005", + "score": 1, + "short_description": "Ruby on Rails (Rails) is a web application framework written in Ruby.", + "updated_at": "2017-10-30T16:20:19Z" + }, + { + "created_at": "2016-12-07T00:07:02Z", + "created_by": "Guido van Rossum", + "curated": true, + "description": "Python is a dynamically typed programming language designed by Guido Van Rossum. Much like the programming language Ruby, Python was designed to be easily read by programmers. Because of its large following and many libraries, Python can be implemented and used to do anything from webpages to scientific research.", + "display_name": "Python", + "featured": true, + "name": "python", + "released": "February 20, 1991", + "score": 1, + "short_description": "Python is a dynamically typed programming language.", + "updated_at": "2017-10-27T22:45:43Z" + }, + { + "created_at": "2016-12-16T21:53:08Z", + "created_by": "Tom Preston-Werner", + "curated": true, + "description": "Jekyll is a blog-aware, site generator written in Ruby. It takes raw text files, runs it through a renderer and produces a publishable static website.", + "display_name": "Jekyll", + "featured": true, + "name": "jekyll", + "released": "2008", + "score": 1, + "short_description": "Jekyll is a simple, blog-aware static site generator.", + "updated_at": "2017-10-27T19:00:24Z" + }, + { + "created_at": "2016-12-16T21:53:45Z", + "created_by": "Hampton Catlin, Natalie Weizenbaum, Chris Eppstein", + "curated": true, + "description": "Sass is a stylesheet language with a main implementation in Ruby. It is an extension of CSS that makes improvements to the old stylesheet format, such as being able to declare variables and using a cleaner nesting syntax.", + "display_name": "Sass", + "featured": true, + "name": "sass", + "released": "November 28, 2006", + "score": 1, + "short_description": "Sass is a stable extension to classic CSS.", + "updated_at": "2018-01-16T16:30:40Z" + }, + { + "created_at": "2016-12-17T20:30:44Z", + "created_by": "Max Howell", + "curated": true, + "description": "Homebrew is a package manager for Apple's macOS operating system. It simplifies the installation of software and is popular in the Ruby on Rails community.", + "display_name": "Homebrew", + "featured": true, + "name": "homebrew", + "released": "2009", + "score": 1, + "short_description": "Homebrew is a package manager for macOS.", + "updated_at": "2018-02-06T16:14:56Z" + } + ], + "total_count": 6 + } + }, + "user-codespaces-secret": { + "value": { + "created_at": "2019-08-10T14:59:22Z", + "name": "CODESPACE_GH_SECRET", + "selected_repositories_url": "https://api.github.com/user/codespaces/secrets/CODESPACE_GH_SECRET/repositories", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected" + } + }, + "user-events-items": { + "value": [ + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-09T12:47:28Z", + "id": "22249084947", + "payload": { + "action": "started" + }, + "public": true, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "WatchEvent" + }, + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-07T07:50:26Z", + "id": "22249084964", + "payload": { + "before": "883efe034920928c47fe18598c01249d1a9fdabd", + "commits": [ + { + "author": { + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "distinct": true, + "message": "commit", + "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" + } + ], + "distinct_size": 1, + "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "push_id": 10115855396, + "ref": "refs/heads/master", + "size": 1 + }, + "public": false, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "PushEvent" + } + ] + }, + "user-export-details": { + "value": { + "branch": "codespace-monalisa-octocat-hello-world-g4wpq6h95q", + "completed_at": "2022-01-01T14:59:22Z", + "export_url": "https://api.github.com/user/codespaces/:name/exports/latest", + "id": "latest", + "sha": "fd95a81ca01e48ede9f39c799ecbcef817b8a3b2", + "state": "succeeded" + } + }, + "user-marketplace-purchase-items": { + "value": [ + { + "account": { + "email": null, + "id": 4, + "login": "github", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "organization_billing_email": "billing@github.com", + "type": "Organization", + "url": "https://api.github.com/orgs/github" + }, + "billing_cycle": "monthly", + "free_trial_ends_on": "2017-11-11T00:00:00Z", + "next_billing_date": "2017-11-11T00:00:00Z", + "on_free_trial": true, + "plan": { + "accounts_url": "https://api.github.com/marketplace_listing/plans/1313/accounts", + "bullets": [ + "Up to 25 private repositories", + "11 concurrent builds" + ], + "description": "A professional-grade CI solution", + "has_free_trial": true, + "id": 1313, + "monthly_price_in_cents": 1099, + "name": "Pro", + "number": 3, + "price_model": "FLAT_RATE", + "state": "published", + "unit_name": null, + "url": "https://api.github.com/marketplace_listing/plans/1313", + "yearly_price_in_cents": 11870 + }, + "unit_count": null, + "updated_at": "2017-11-02T01:12:12Z" + } + ] + }, + "user-org-events-items": { + "value": [ + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-09T12:47:28Z", + "id": "22249084964", + "payload": { + "before": "883efe034920928c47fe18598c01249d1a9fdabd", + "commits": [ + { + "author": { + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "distinct": true, + "message": "commit", + "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" + } + ], + "distinct_size": 1, + "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "push_id": 10115855396, + "ref": "refs/heads/master", + "size": 1 + }, + "public": false, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "PushEvent" + }, + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-07T07:50:26Z", + "id": "22196946742", + "org": { + "avatar_url": "https://avatars.githubusercontent.com/u/9919?", + "gravatar_id": "", + "id": 9919, + "login": "github", + "url": "https://api.github.com/orgs/github" + }, + "payload": { + "description": null, + "master_branch": "master", + "pusher_type": "user", + "ref": null, + "ref_type": "repository" + }, + "public": false, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "CreateEvent" + } + ] + }, + "user-public-events-items": { + "value": [ + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-09T12:47:28Z", + "id": "22249084947", + "payload": { + "action": "started" + }, + "public": true, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "WatchEvent" + }, + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-08T23:29:25Z", + "id": "22249084964", + "payload": { + "before": "883efe034920928c47fe18598c01249d1a9fdabd", + "commits": [ + { + "author": { + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "distinct": true, + "message": "commit", + "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" + } + ], + "distinct_size": 1, + "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "push_id": 10115855396, + "ref": "refs/heads/master", + "size": 1 + }, + "public": true, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "PushEvent" + } + ] + }, + "user-received-events-items": { + "value": [ + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-09T12:47:28Z", + "id": "22249084964", + "payload": { + "before": "883efe034920928c47fe18598c01249d1a9fdabd", + "commits": [ + { + "author": { + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "distinct": true, + "message": "commit", + "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" + } + ], + "distinct_size": 1, + "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "push_id": 10115855396, + "ref": "refs/heads/master", + "size": 1 + }, + "public": true, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "PushEvent" + }, + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-07T07:50:26Z", + "id": "22196946742", + "org": { + "avatar_url": "https://avatars.githubusercontent.com/u/9919?", + "gravatar_id": "", + "id": 9919, + "login": "github", + "url": "https://api.github.com/orgs/github" + }, + "payload": { + "description": null, + "master_branch": "master", + "pusher_type": "user", + "ref": null, + "ref_type": "repository" + }, + "public": false, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "CreateEvent" + } + ] + }, + "user-received-public-events-items": { + "value": [ + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-09T12:47:28Z", + "id": "22249084964", + "payload": { + "before": "883efe034920928c47fe18598c01249d1a9fdabd", + "commits": [ + { + "author": { + "email": "octocat@github.com", + "name": "Monalisa Octocat" + }, + "distinct": true, + "message": "commit", + "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" + } + ], + "distinct_size": 1, + "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", + "push_id": 10115855396, + "ref": "refs/heads/master", + "size": 1 + }, + "public": true, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "PushEvent" + }, + { + "actor": { + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "display_login": "octocat", + "gravatar_id": "", + "id": 583231, + "login": "octocat", + "url": "https://api.github.com/users/octocat" + }, + "created_at": "2022-06-07T07:50:26Z", + "id": "22196946742", + "org": { + "avatar_url": "https://avatars.githubusercontent.com/u/9919?", + "gravatar_id": "", + "id": 9919, + "login": "github", + "url": "https://api.github.com/orgs/github" + }, + "payload": { + "description": null, + "master_branch": "master", + "pusher_type": "user", + "ref": null, + "ref_type": "repository" + }, + "public": false, + "repo": { + "id": 1296269, + "name": "octocat/Hello-World", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "type": "CreateEvent" + } + ] + }, + "user-search-result-item-paginated": { + "value": { + "incomplete_results": false, + "items": [ + { + "avatar_url": "https://secure.gravatar.com/avatar/25c7c18223fb42a4c6ae1c8db6f50f9b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", + "events_url": "https://api.github.com/users/mojombo/events{/privacy}", + "followers_url": "https://api.github.com/users/mojombo/followers", + "following_url": "https://api.github.com/users/mojombo/following{/other_user}", + "gists_url": "https://api.github.com/users/mojombo/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/mojombo", + "id": 1, + "login": "mojombo", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/mojombo/orgs", + "received_events_url": "https://api.github.com/users/mojombo/received_events", + "repos_url": "https://api.github.com/users/mojombo/repos", + "score": 1, + "site_admin": true, + "starred_url": "https://api.github.com/users/mojombo/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/mojombo/subscriptions", + "type": "User", + "url": "https://api.github.com/users/mojombo" + } + ], + "total_count": 12 + } + }, + "view-traffic": { + "value": { + "count": 14850, + "uniques": 3782, + "views": [ + { + "count": 440, + "timestamp": "2016-10-10T00:00:00Z", + "uniques": 143 + }, + { + "count": 1308, + "timestamp": "2016-10-11T00:00:00Z", + "uniques": 414 + }, + { + "count": 1486, + "timestamp": "2016-10-12T00:00:00Z", + "uniques": 452 + }, + { + "count": 1170, + "timestamp": "2016-10-13T00:00:00Z", + "uniques": 401 + }, + { + "count": 868, + "timestamp": "2016-10-14T00:00:00Z", + "uniques": 266 + }, + { + "count": 495, + "timestamp": "2016-10-15T00:00:00Z", + "uniques": 157 + }, + { + "count": 524, + "timestamp": "2016-10-16T00:00:00Z", + "uniques": 175 + }, + { + "count": 1263, + "timestamp": "2016-10-17T00:00:00Z", + "uniques": 412 + }, + { + "count": 1402, + "timestamp": "2016-10-18T00:00:00Z", + "uniques": 417 + }, + { + "count": 1394, + "timestamp": "2016-10-19T00:00:00Z", + "uniques": 424 + }, + { + "count": 1492, + "timestamp": "2016-10-20T00:00:00Z", + "uniques": 448 + }, + { + "count": 1153, + "timestamp": "2016-10-21T00:00:00Z", + "uniques": 332 + }, + { + "count": 566, + "timestamp": "2016-10-22T00:00:00Z", + "uniques": 168 + }, + { + "count": 675, + "timestamp": "2016-10-23T00:00:00Z", + "uniques": 184 + }, + { + "count": 614, + "timestamp": "2016-10-24T00:00:00Z", + "uniques": 237 + } + ] + } + }, + "webhook-config": { + "value": { + "content_type": "json", + "insecure_ssl": "0", + "secret": "********", + "url": "https://example.com/webhook" + } + }, + "workflow": { + "value": { + "badge_url": "https://github.com/octo-org/octo-repo/workflows/CI/badge.svg", + "created_at": "2020-01-08T23:48:37.000-08:00", + "html_url": "https://github.com/octo-org/octo-repo/blob/master/.github/workflows/161335", + "id": 161335, + "name": "CI", + "node_id": "MDg6V29ya2Zsb3cxNjEzMzU=", + "path": ".github/workflows/blank.yaml", + "state": "active", + "updated_at": "2020-01-08T23:50:21.000-08:00", + "url": "https://api.github.com/repos/octo-org/octo-repo/actions/workflows/161335" + } + }, + "workflow-paginated": { + "value": { + "total_count": 2, + "workflows": [ + { + "badge_url": "https://github.com/octo-org/octo-repo/workflows/CI/badge.svg", + "created_at": "2020-01-08T23:48:37.000-08:00", + "html_url": "https://github.com/octo-org/octo-repo/blob/master/.github/workflows/161335", + "id": 161335, + "name": "CI", + "node_id": "MDg6V29ya2Zsb3cxNjEzMzU=", + "path": ".github/workflows/blank.yaml", + "state": "active", + "updated_at": "2020-01-08T23:50:21.000-08:00", + "url": "https://api.github.com/repos/octo-org/octo-repo/actions/workflows/161335" + }, + { + "badge_url": "https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg", + "created_at": "2020-01-08T23:48:37.000-08:00", + "html_url": "https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289", + "id": 269289, + "name": "Linter", + "node_id": "MDE4OldvcmtmbG93IFNlY29uZGFyeTI2OTI4OQ==", + "path": ".github/workflows/linter.yaml", + "state": "active", + "updated_at": "2020-01-08T23:50:21.000-08:00", + "url": "https://api.github.com/repos/octo-org/octo-repo/actions/workflows/269289" + } + ] + } + }, + "workflow-run": { + "value": { + "actor": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "artifacts_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/artifacts", + "cancel_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/cancel", + "check_suite_id": 42, + "check_suite_node_id": "MDEwOkNoZWNrU3VpdGU0Mg==", + "check_suite_url": "https://api.github.com/repos/octo-org/octo-repo/check-suites/414944374", + "conclusion": null, + "created_at": "2020-01-22T19:33:08Z", + "display_title": "Update README.md", + "event": "push", + "head_branch": "main", + "head_commit": { + "author": { + "email": "octocat@github.com", + "name": "Octo Cat" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub" + }, + "id": "acb5820ced9479c074f688cc328bf03f341a511d", + "message": "Create linter.yaml", + "timestamp": "2020-01-22T19:33:05Z", + "tree_id": "d23f6eedb1e1b9610bbc754ddb5197bfe7271223" + }, + "head_repository": { + "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", + "description": null, + "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", + "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", + "full_name": "octo-org/octo-repo", + "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", + "html_url": "https://github.com/octo-org/octo-repo", + "id": 217723378, + "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", + "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", + "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", + "name": "octo-repo", + "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", + "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": true, + "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", + "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", + "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", + "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}", + "url": "https://api.github.com/repos/octo-org/octo-repo" + }, + "head_sha": "acb5820ced9479c074f688cc328bf03f341a511d", + "html_url": "https://github.com/octo-org/octo-repo/actions/runs/30433642", + "id": 30433642, + "jobs_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/jobs", + "logs_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/logs", + "name": "Build", + "node_id": "MDEyOldvcmtmbG93IFJ1bjI2OTI4OQ==", + "path": ".github/workflows/build.yml@main", + "previous_attempt_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/attempts/1", + "pull_requests": [], + "referenced_workflows": [ + { + "path": "octocat/Hello-World/.github/workflows/deploy.yml@main", + "ref": "refs/heads/main", + "sha": "86e8bc9ecf7d38b1ed2d2cfb8eb87ba9b35b01db" + }, + { + "path": "octo-org/octo-repo/.github/workflows/report.yml@v2", + "ref": "refs/tags/v2", + "sha": "79e9790903e1c3373b1a3e3a941d57405478a232" + }, + { + "path": "octo-org/octo-repo/.github/workflows/secure.yml@1595d4b6de6a9e9751fb270a41019ce507d4099e", + "sha": "1595d4b6de6a9e9751fb270a41019ce507d4099e" + } + ], + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "rerun_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/rerun", + "run_attempt": 1, + "run_number": 562, + "run_started_at": "2020-01-22T19:33:08Z", + "status": "queued", + "triggering_actor": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "updated_at": "2020-01-22T19:33:08Z", + "url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642", + "workflow_id": 159038, + "workflow_url": "https://api.github.com/repos/octo-org/octo-repo/actions/workflows/159038" + } + }, + "workflow-run-paginated": { + "value": { + "total_count": 1, + "workflow_runs": [ + { + "actor": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "artifacts_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/artifacts", + "cancel_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/cancel", + "check_suite_id": 42, + "check_suite_node_id": "MDEwOkNoZWNrU3VpdGU0Mg==", + "check_suite_url": "https://api.github.com/repos/octo-org/octo-repo/check-suites/414944374", + "conclusion": null, + "created_at": "2020-01-22T19:33:08Z", + "event": "push", + "head_branch": "master", + "head_commit": { + "author": { + "email": "octocat@github.com", + "name": "Octo Cat" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub" + }, + "id": "acb5820ced9479c074f688cc328bf03f341a511d", + "message": "Create linter.yaml", + "timestamp": "2020-01-22T19:33:05Z", + "tree_id": "d23f6eedb1e1b9610bbc754ddb5197bfe7271223" + }, + "head_repository": { + "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", + "description": null, + "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", + "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", + "full_name": "octo-org/octo-repo", + "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", + "html_url": "https://github.com/octo-org/octo-repo", + "id": 217723378, + "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", + "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", + "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", + "name": "octo-repo", + "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", + "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": true, + "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", + "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", + "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", + "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}", + "url": "https://api.github.com/repos/octo-org/octo-repo" + }, + "head_sha": "acb5820ced9479c074f688cc328bf03f341a511d", + "html_url": "https://github.com/octo-org/octo-repo/actions/runs/30433642", + "id": 30433642, + "jobs_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/jobs", + "logs_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/logs", + "name": "Build", + "node_id": "MDEyOldvcmtmbG93IFJ1bjI2OTI4OQ==", + "pull_requests": [], + "repository": { + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "This your first repo!", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "fork": false, + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "full_name": "octocat/Hello-World", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", + "html_url": "https://github.com/octocat/Hello-World", + "id": 1296269, + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "name": "Hello-World", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "owner": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "url": "https://api.github.com/repos/octocat/Hello-World" + }, + "rerun_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/rerun", + "run_attempt": 1, + "run_number": 562, + "run_started_at": "2020-01-22T19:33:08Z", + "status": "queued", + "triggering_actor": { + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/octocat", + "id": 1, + "login": "octocat", + "node_id": "MDQ6VXNlcjE=", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "repos_url": "https://api.github.com/users/octocat/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "type": "User", + "url": "https://api.github.com/users/octocat" + }, + "updated_at": "2020-01-22T19:33:08Z", + "url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642", + "workflow_id": 159038, + "workflow_url": "https://api.github.com/repos/octo-org/octo-repo/actions/workflows/159038" + } + ] + } + }, + "workflow-run-usage": { + "value": { + "billable": { + "MACOS": { + "job_runs": [ + { + "duration_ms": 60000, + "job_id": 2 + }, + { + "duration_ms": 60000, + "job_id": 3 + }, + { + "duration_ms": 60000, + "job_id": 4 + }, + { + "duration_ms": 60000, + "job_id": 5 + } + ], + "jobs": 4, + "total_ms": 240000 + }, + "UBUNTU": { + "job_runs": [ + { + "duration_ms": 180000, + "job_id": 1 + } + ], + "jobs": 1, + "total_ms": 180000 + }, + "WINDOWS": { + "job_runs": [ + { + "duration_ms": 150000, + "job_id": 6 + }, + { + "duration_ms": 150000, + "job_id": 7 + } + ], + "jobs": 2, + "total_ms": 300000 + } + }, + "run_duration_ms": 500000 + } + }, + "workflow-usage": { + "value": { + "billable": { + "MACOS": { + "total_ms": 240000 + }, + "UBUNTU": { + "total_ms": 180000 + }, + "WINDOWS": { + "total_ms": 300000 + } + } + } + } + }, + "headers": { + "content-type": { + "example": "text/html", + "schema": { + "type": "string" + } + }, + "link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + }, + "location": { + "example": "https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D", + "schema": { + "type": "string" + } + }, + "x-common-marker-version": { + "example": "0.17.4", + "schema": { + "type": "string" + } + }, + "x-rate-limit-limit": { + "example": 5000, + "schema": { + "type": "integer" + } + }, + "x-rate-limit-remaining": { + "example": 4999, + "schema": { + "type": "integer" + } + }, + "x-rate-limit-reset": { + "example": 1590701888, + "schema": { + "format": "timestamp", + "type": "integer" + } + } + }, + "parameters": { + "account-id": { + "description": "account_id parameter", + "in": "path", + "name": "account_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "actions-cache-key": { + "description": "An explicit key or prefix for identifying the cache", + "in": "query", + "name": "key", + "required": false, + "schema": { + "type": "string" + } + }, + "actions-cache-key-required": { + "description": "A key for identifying the cache.", + "in": "query", + "name": "key", + "required": true, + "schema": { + "type": "string" + } + }, + "actions-cache-list-sort": { + "description": "The property to sort the results by. `created_at` means when the cache was created. `last_accessed_at` means when the cache was last accessed. `size_in_bytes` is the size of the cache in bytes.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "last_accessed_at", + "enum": [ + "created_at", + "last_accessed_at", + "size_in_bytes" + ], + "type": "string" + } + }, + "actor": { + "description": "Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run.", + "in": "query", + "name": "actor", + "required": false, + "schema": { + "type": "string" + } + }, + "alert-number": { + "description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.", + "in": "path", + "name": "alert_number", + "required": true, + "schema": { + "$ref": "#/components/schemas/alert-number" + } + }, + "all": { + "description": "If `true`, show notifications marked as read.", + "in": "query", + "name": "all", + "required": false, + "schema": { + "default": false, + "type": "boolean" + } + }, + "app-slug": { + "in": "path", + "name": "app_slug", + "required": true, + "schema": { + "type": "string" + } + }, + "artifact-id": { + "description": "The unique identifier of the artifact.", + "in": "path", + "name": "artifact_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "asset-id": { + "description": "The unique identifier of the asset.", + "in": "path", + "name": "asset_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "attempt-number": { + "description": "The attempt number of the workflow run.", + "in": "path", + "name": "attempt_number", + "required": true, + "schema": { + "type": "integer" + } + }, + "autolink-id": { + "description": "The unique identifier of the autolink.", + "in": "path", + "name": "autolink_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "before": { + "description": "Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "in": "query", + "name": "before", + "required": false, + "schema": { + "format": "date-time", + "type": "string" + } + }, + "branch": { + "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql).", + "in": "path", + "name": "branch", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + "branch-policy-id": { + "description": "The unique identifier of the branch policy.", + "in": "path", + "name": "branch_policy_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "cache-id": { + "description": "The unique identifier of the GitHub Actions cache.", + "in": "path", + "name": "cache_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "card-id": { + "description": "The unique identifier of the card.", + "in": "path", + "name": "card_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "check-name": { + "description": "Returns check runs with the specified `name`.", + "in": "query", + "name": "check_name", + "required": false, + "schema": { + "type": "string" + } + }, + "check-run-id": { + "description": "The unique identifier of the check run.", + "in": "path", + "name": "check_run_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "check-suite-id": { + "description": "The unique identifier of the check suite.", + "in": "path", + "name": "check_suite_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "client-id": { + "description": "The client ID of the GitHub app.", + "examples": { + "default": { + "value": "Iv1.8a61f9b3a7aba766" + } + }, + "in": "path", + "name": "client_id", + "required": true, + "schema": { + "type": "string" + } + }, + "codespace-name": { + "description": "The name of the codespace.", + "in": "path", + "name": "codespace_name", + "required": true, + "schema": { + "type": "string" + } + }, + "column-id": { + "description": "The unique identifier of the column.", + "in": "path", + "name": "column_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "comment-id": { + "description": "The unique identifier of the comment.", + "in": "path", + "name": "comment_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "comment-number": { + "description": "The number that identifies the comment.", + "in": "path", + "name": "comment_number", + "required": true, + "schema": { + "type": "integer" + } + }, + "commit-sha": { + "description": "The SHA of the commit.", + "in": "path", + "name": "commit_sha", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + "created": { + "description": "Returns workflow runs created within the given date-time range. For more information on the syntax, see \"[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates).\"", + "in": "query", + "name": "created", + "required": false, + "schema": { + "format": "date-time", + "type": "string" + } + }, + "cursor": { + "description": "Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors.", + "in": "query", + "name": "cursor", + "required": false, + "schema": { + "type": "string" + } + }, + "delivery-id": { + "in": "path", + "name": "delivery_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "dependabot-alert-comma-separated-ecosystems": { + "description": "A comma-separated list of ecosystems. If specified, only alerts for these ecosystems will be returned.\n\nCan be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust`", + "in": "query", + "name": "ecosystem", + "schema": { + "type": "string" + } + }, + "dependabot-alert-comma-separated-manifests": { + "description": "A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned.", + "in": "query", + "name": "manifest", + "schema": { + "type": "string" + } + }, + "dependabot-alert-comma-separated-packages": { + "description": "A comma-separated list of package names. If specified, only alerts for these packages will be returned.", + "in": "query", + "name": "package", + "schema": { + "type": "string" + } + }, + "dependabot-alert-comma-separated-severities": { + "description": "A comma-separated list of severities. If specified, only alerts with these severities will be returned.\n\nCan be: `low`, `medium`, `high`, `critical`", + "in": "query", + "name": "severity", + "schema": { + "type": "string" + } + }, + "dependabot-alert-comma-separated-states": { + "description": "A comma-separated list of states. If specified, only alerts with these states will be returned.\n\nCan be: `dismissed`, `fixed`, `open`", + "in": "query", + "name": "state", + "schema": { + "type": "string" + } + }, + "dependabot-alert-number": { + "description": "The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in `number` fields in the response from the\n`GET /repos/{owner}/{repo}/dependabot/alerts` operation.", + "in": "path", + "name": "alert_number", + "required": true, + "schema": { + "$ref": "#/components/schemas/alert-number" + } + }, + "dependabot-alert-scope": { + "description": "The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned.", + "in": "query", + "name": "scope", + "schema": { + "enum": [ + "development", + "runtime" + ], + "type": "string" + } + }, + "dependabot-alert-sort": { + "description": "The property by which to sort the results.\n`created` means when the alert was created.\n`updated` means when the alert's state last changed.", + "in": "query", + "name": "sort", + "schema": { + "default": "created", + "enum": [ + "created", + "updated" + ], + "type": "string" + } + }, + "deployment-id": { + "description": "deployment_id parameter", + "in": "path", + "name": "deployment_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "direction": { + "description": "The direction to sort the results by.", + "in": "query", + "name": "direction", + "required": false, + "schema": { + "default": "desc", + "enum": [ + "asc", + "desc" + ], + "type": "string" + } + }, + "discussion-number": { + "description": "The number that identifies the discussion.", + "in": "path", + "name": "discussion_number", + "required": true, + "schema": { + "type": "integer" + } + }, + "enterprise": { + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "name": "enterprise", + "required": true, + "schema": { + "type": "string" + } + }, + "environment-name": { + "description": "The name of the environment.", + "in": "path", + "name": "environment_name", + "required": true, + "schema": { + "type": "string" + } + }, + "event": { + "description": "Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see \"[Events that trigger workflows](https://docs.github.com/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows).\"", + "in": "query", + "name": "event", + "required": false, + "schema": { + "type": "string" + } + }, + "exclude-pull-requests": { + "description": "If `true` pull requests are omitted from the response (empty array).", + "in": "query", + "name": "exclude_pull_requests", + "required": false, + "schema": { + "default": false, + "type": "boolean" + } + }, + "export-id": { + "description": "The ID of the export operation, or `latest`. Currently only `latest` is currently supported.", + "in": "path", + "name": "export_id", + "required": true, + "schema": { + "type": "string" + } + }, + "gist-id": { + "description": "The unique identifier of the gist.", + "in": "path", + "name": "gist_id", + "required": true, + "schema": { + "type": "string" + } + }, + "git-ref": { + "description": "The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`.", + "in": "query", + "name": "ref", + "required": false, + "schema": { + "$ref": "#/components/schemas/code-scanning-ref" + } + }, + "gpg-key-id": { + "description": "The unique identifier of the GPG key.", + "in": "path", + "name": "gpg_key_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "hook-id": { + "description": "The unique identifier of the hook.", + "in": "path", + "name": "hook_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "installation-id": { + "description": "The unique identifier of the installation.", + "examples": { + "default": { + "value": 1 + } + }, + "in": "path", + "name": "installation_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "invitation-id": { + "description": "The unique identifier of the invitation.", + "in": "path", + "name": "invitation_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "issue-number": { + "description": "The number that identifies the issue.", + "in": "path", + "name": "issue_number", + "required": true, + "schema": { + "type": "integer" + } + }, + "job-id": { + "description": "The unique identifier of the job.", + "in": "path", + "name": "job_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "key-id": { + "description": "The unique identifier of the key.", + "in": "path", + "name": "key_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "labels": { + "description": "A list of comma separated label names. Example: `bug,ui,@high`", + "in": "query", + "name": "labels", + "required": false, + "schema": { + "type": "string" + } + }, + "manifest-path": { + "description": "The full path, relative to the repository root, of the dependency manifest file.", + "in": "query", + "name": "name", + "required": false, + "schema": { + "type": "string" + } + }, + "migration-id": { + "description": "The unique identifier of the migration.", + "in": "path", + "name": "migration_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "milestone-number": { + "description": "The number that identifies the milestone.", + "in": "path", + "name": "milestone_number", + "required": true, + "schema": { + "type": "integer" + } + }, + "order": { + "description": "Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.", + "in": "query", + "name": "order", + "required": false, + "schema": { + "default": "desc", + "enum": [ + "desc", + "asc" + ], + "type": "string" + } + }, + "org": { + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "name": "org", + "required": true, + "schema": { + "type": "string" + } + }, + "org-security-product-enablement": { + "description": "The action to take.\n\n`enable_all` means to enable the specified security feature for all repositories in the organization.\n`disable_all` means to disable the specified security feature for all repositories in the organization.", + "in": "path", + "name": "enablement", + "required": true, + "schema": { + "enum": [ + "enable_all", + "disable_all" + ], + "type": "string" + } + }, + "owner": { + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "name": "owner", + "required": true, + "schema": { + "type": "string" + } + }, + "package-name": { + "description": "The name of the package.", + "in": "path", + "name": "package_name", + "required": true, + "schema": { + "type": "string" + } + }, + "package-type": { + "description": "The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.", + "in": "path", + "name": "package_type", + "required": true, + "schema": { + "enum": [ + "npm", + "maven", + "rubygems", + "docker", + "nuget", + "container" + ], + "type": "string" + } + }, + "package-version-id": { + "description": "Unique identifier of the package version.", + "in": "path", + "name": "package_version_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "package-visibility": { + "description": "The selected visibility of the packages. This parameter is optional and only filters an existing result set.\n\nThe `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.\nFor the list of GitHub Packages registries that support granular permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", + "in": "query", + "name": "visibility", + "required": false, + "schema": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + } + }, + "page": { + "description": "Page number of the results to fetch.", + "in": "query", + "name": "page", + "schema": { + "default": 1, + "type": "integer" + } + }, + "pagination-after": { + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for results after this cursor.", + "in": "query", + "name": "after", + "required": false, + "schema": { + "type": "string" + } + }, + "pagination-before": { + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for results before this cursor.", + "in": "query", + "name": "before", + "required": false, + "schema": { + "type": "string" + } + }, + "pagination-first": { + "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", + "in": "query", + "name": "first", + "required": false, + "schema": { + "default": 30, + "maximum": 100, + "minimum": 1, + "type": "integer" + } + }, + "pagination-last": { + "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", + "in": "query", + "name": "last", + "required": false, + "schema": { + "maximum": 100, + "minimum": 1, + "type": "integer" + } + }, + "participating": { + "description": "If `true`, only shows notifications in which the user is directly participating or mentioned.", + "in": "query", + "name": "participating", + "required": false, + "schema": { + "default": false, + "type": "boolean" + } + }, + "per": { + "description": "The time frame to display results for.", + "in": "query", + "name": "per", + "required": false, + "schema": { + "default": "day", + "enum": [ + "day", + "week" + ], + "type": "string" + } + }, + "per-page": { + "description": "The number of results per page (max 100).", + "in": "query", + "name": "per_page", + "schema": { + "default": 30, + "type": "integer" + } + }, + "plan-id": { + "description": "The unique identifier of the plan.", + "in": "path", + "name": "plan_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "project-id": { + "description": "The unique identifier of the project.", + "in": "path", + "name": "project_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "pull-number": { + "description": "The number that identifies the pull request.", + "in": "path", + "name": "pull_number", + "required": true, + "schema": { + "type": "integer" + } + }, + "reaction-id": { + "description": "The unique identifier of the reaction.", + "in": "path", + "name": "reaction_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "release-id": { + "description": "The unique identifier of the release.", + "in": "path", + "name": "release_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "repo": { + "description": "The name of the repository. The name is not case sensitive.", + "in": "path", + "name": "repo", + "required": true, + "schema": { + "type": "string" + } + }, + "repo-name": { + "description": "repo_name parameter", + "in": "path", + "name": "repo_name", + "required": true, + "schema": { + "type": "string" + } + }, + "repo-required-workflow-id": { + "description": "The ID of the required workflow that has run at least once in a repository.", + "in": "path", + "name": "required_workflow_id_for_repo", + "required": true, + "schema": { + "type": "integer" + } + }, + "repository-id": { + "description": "The unique identifier of the repository.", + "in": "path", + "name": "repository_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "repository-id-in-query": { + "description": "ID of the Repository to filter on", + "in": "query", + "name": "repository_id", + "schema": { + "type": "integer" + } + }, + "required-workflow-id": { + "description": "The unique identifier of the required workflow.", + "in": "path", + "name": "required_workflow_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "review-id": { + "description": "The unique identifier of the review.", + "in": "path", + "name": "review_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "run-id": { + "description": "The unique identifier of the workflow run.", + "in": "path", + "name": "run_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "runner-id": { + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "name": "runner_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "runner-label-name": { + "description": "The name of a self-hosted runner's custom label.", + "in": "path", + "name": "name", + "required": true, + "schema": { + "type": "string" + } + }, + "secret-name": { + "description": "The name of the secret.", + "in": "path", + "name": "secret_name", + "required": true, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-resolution": { + "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", + "in": "query", + "name": "resolution", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-secret-type": { + "description": "A comma-separated list of secret types to return. By default all secret types are returned.\nSee \"[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)\"\nfor a complete list of secret types.", + "in": "query", + "name": "secret_type", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-sort": { + "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "created", + "enum": [ + "created", + "updated" + ], + "type": "string" + } + }, + "secret-scanning-alert-state": { + "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", + "in": "query", + "name": "state", + "required": false, + "schema": { + "enum": [ + "open", + "resolved" + ], + "type": "string" + } + }, + "secret-scanning-pagination-after-org-repo": { + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.", + "in": "query", + "name": "after", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-pagination-before-org-repo": { + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.", + "in": "query", + "name": "before", + "required": false, + "schema": { + "type": "string" + } + }, + "security-product": { + "description": "The security feature to enable or disable.", + "in": "path", + "name": "security_product", + "required": true, + "schema": { + "enum": [ + "dependency_graph", + "dependabot_alerts", + "dependabot_security_updates", + "advanced_security", + "secret_scanning", + "secret_scanning_push_protection" + ], + "type": "string" + } + }, + "since": { + "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "in": "query", + "name": "since", + "required": false, + "schema": { + "format": "date-time", + "type": "string" + } + }, + "since-org": { + "description": "An organization ID. Only return organizations with an ID greater than this ID.", + "in": "query", + "name": "since", + "required": false, + "schema": { + "type": "integer" + } + }, + "since-repo": { + "description": "A repository ID. Only return repositories with an ID greater than this ID.", + "in": "query", + "name": "since", + "required": false, + "schema": { + "type": "integer" + } + }, + "since-user": { + "description": "A user ID. Only return users with an ID greater than this ID.", + "in": "query", + "name": "since", + "required": false, + "schema": { + "type": "integer" + } + }, + "sort": { + "description": "The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed to.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "default": "created", + "enum": [ + "created", + "updated" + ], + "type": "string" + } + }, + "ssh-signing-key-id": { + "description": "The unique identifier of the SSH signing key.", + "in": "path", + "name": "ssh_signing_key_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "status": { + "description": "Returns check runs with the specified `status`.", + "in": "query", + "name": "status", + "required": false, + "schema": { + "enum": [ + "queued", + "in_progress", + "completed" + ], + "type": "string" + } + }, + "tag-protection-id": { + "description": "The unique identifier of the tag protection.", + "in": "path", + "name": "tag_protection_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "team-id": { + "description": "The unique identifier of the team.", + "in": "path", + "name": "team_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "team-slug": { + "description": "The slug of the team name.", + "in": "path", + "name": "team_slug", + "required": true, + "schema": { + "type": "string" + } + }, + "thread-id": { + "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user)).", + "in": "path", + "name": "thread_id", + "required": true, + "schema": { + "type": "integer" + } + }, + "tool-guid": { + "description": "The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both.", + "in": "query", + "name": "tool_guid", + "required": false, + "schema": { + "$ref": "#/components/schemas/code-scanning-analysis-tool-guid" + } + }, + "tool-name": { + "description": "The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both.", + "in": "query", + "name": "tool_name", + "required": false, + "schema": { + "$ref": "#/components/schemas/code-scanning-analysis-tool-name" + } + }, + "username": { + "description": "The handle for the GitHub user account.", + "in": "path", + "name": "username", + "required": true, + "schema": { + "type": "string" + } + }, + "variable-name": { + "description": "The name of the variable.", + "in": "path", + "name": "name", + "required": true, + "schema": { + "type": "string" + } + }, + "variables-per-page": { + "description": "The number of results per page (max 30).", + "in": "query", + "name": "per_page", + "schema": { + "default": 10, + "type": "integer" + } + }, + "workflow-id": { + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", + "in": "path", + "name": "workflow_id", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + }, + "workflow-run-branch": { + "description": "Returns workflow runs associated with a branch. Use the name of the branch of the `push`.", + "in": "query", + "name": "branch", + "required": false, + "schema": { + "type": "string" + } + }, + "workflow-run-check-suite-id": { + "description": "Returns workflow runs with the `check_suite_id` that you specify.", + "in": "query", + "name": "check_suite_id", + "schema": { + "type": "integer" + } + }, + "workflow-run-head-sha": { + "description": "Only returns workflow runs that are associated with the specified `head_sha`.", + "in": "query", + "name": "head_sha", + "required": false, + "schema": { + "type": "string" + } + }, + "workflow-run-status": { + "description": "Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub can set a status of `waiting` or `requested`.", + "in": "query", + "name": "status", + "required": false, + "schema": { + "enum": [ + "completed", + "action_required", + "cancelled", + "failure", + "neutral", + "skipped", + "stale", + "success", + "timed_out", + "in_progress", + "queued", + "requested", + "waiting", + "pending" + ], + "type": "string" + } + } + }, + "responses": { + "accepted": { + "content": { + "application/json": { + "examples": { + "default": { + "value": null + } + }, + "schema": { + "type": "object" + } + } + }, + "description": "Accepted" + }, + "actions_runner_labels": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/runner-labels" + } + }, + "schema": { + "properties": { + "labels": { + "items": { + "$ref": "#/components/schemas/runner-label" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "labels" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "actions_runner_labels_readonly": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/runner-labels-readonly" + } + }, + "schema": { + "properties": { + "labels": { + "items": { + "$ref": "#/components/schemas/runner-label" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "total_count", + "labels" + ], + "type": "object" + } + } + }, + "description": "Response" + }, + "bad_request": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + }, + "application/scim+json": { + "schema": { + "$ref": "#/components/schemas/scim-error" + } + } + }, + "description": "Bad Request" + }, + "code_scanning_forbidden_read": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Response if GitHub Advanced Security is not enabled for this repository" + }, + "code_scanning_forbidden_write": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository" + }, + "conflict": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Conflict" + }, + "forbidden": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Forbidden" + }, + "forbidden_gist": { + "content": { + "application/json": { + "schema": { + "properties": { + "block": { + "properties": { + "created_at": { + "type": "string" + }, + "html_url": { + "nullable": true, + "type": "string" + }, + "reason": { + "type": "string" + } + }, + "type": "object" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Forbidden Gist" + }, + "found": { + "description": "Found" + }, + "gone": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Gone" + }, + "internal_error": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Internal Error" + }, + "moved_permanently": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Moved permanently" + }, + "no_content": { + "description": "A header with no content is returned." + }, + "not_found": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Resource not found" + }, + "not_modified": { + "description": "Not modified" + }, + "porter_maintenance": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Unavailable due to service under maintenance." + }, + "requires_authentication": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Requires authentication" + }, + "service_unavailable": { + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Service unavailable" + }, + "temporary_redirect": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + }, + "description": "Temporary Redirect" + }, + "validation_failed": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/validation-error" + } + } + }, + "description": "Validation failed, or the endpoint has been spammed." + }, + "validation_failed_simple": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/validation-error-simple" + } + } + }, + "description": "Validation failed, or the endpoint has been spammed." + } + }, + "schemas": { + "actions-billing-usage": { + "properties": { + "included_minutes": { + "description": "The amount of free GitHub Actions minutes available.", + "type": "integer" + }, + "minutes_used_breakdown": { + "properties": { + "MACOS": { + "description": "Total minutes used on macOS runner machines.", + "type": "integer" + }, + "UBUNTU": { + "description": "Total minutes used on Ubuntu runner machines.", + "type": "integer" + }, + "WINDOWS": { + "description": "Total minutes used on Windows runner machines.", + "type": "integer" + }, + "macos_12_core": { + "description": "Total minutes used on macOS 12 core runner machines.", + "type": "integer" + }, + "total": { + "description": "Total minutes used on all runner machines.", + "type": "integer" + }, + "ubuntu_16_core": { + "description": "Total minutes used on Ubuntu 16 core runner machines.", + "type": "integer" + }, + "ubuntu_32_core": { + "description": "Total minutes used on Ubuntu 32 core runner machines.", + "type": "integer" + }, + "ubuntu_4_core": { + "description": "Total minutes used on Ubuntu 4 core runner machines.", + "type": "integer" + }, + "ubuntu_64_core": { + "description": "Total minutes used on Ubuntu 64 core runner machines.", + "type": "integer" + }, + "ubuntu_8_core": { + "description": "Total minutes used on Ubuntu 8 core runner machines.", + "type": "integer" + }, + "windows_16_core": { + "description": "Total minutes used on Windows 16 core runner machines.", + "type": "integer" + }, + "windows_32_core": { + "description": "Total minutes used on Windows 32 core runner machines.", + "type": "integer" + }, + "windows_4_core": { + "description": "Total minutes used on Windows 4 core runner machines.", + "type": "integer" + }, + "windows_64_core": { + "description": "Total minutes used on Windows 64 core runner machines.", + "type": "integer" + }, + "windows_8_core": { + "description": "Total minutes used on Windows 8 core runner machines.", + "type": "integer" + } + }, + "type": "object" + }, + "total_minutes_used": { + "description": "The sum of the free and paid GitHub Actions minutes used.", + "type": "integer" + }, + "total_paid_minutes_used": { + "description": "The total paid GitHub Actions minutes used.", + "type": "integer" + } + }, + "required": [ + "total_minutes_used", + "total_paid_minutes_used", + "included_minutes", + "minutes_used_breakdown" + ], + "type": "object" + }, + "actions-cache-list": { + "description": "Repository actions caches", + "properties": { + "actions_caches": { + "description": "Array of caches", + "items": { + "properties": { + "created_at": { + "example": "2019-01-24T22:45:36.000Z", + "format": "date-time", + "type": "string" + }, + "id": { + "example": 2, + "type": "integer" + }, + "key": { + "example": "Linux-node-958aff96db2d75d67787d1e634ae70b659de937b", + "type": "string" + }, + "last_accessed_at": { + "example": "2019-01-24T22:45:36.000Z", + "format": "date-time", + "type": "string" + }, + "ref": { + "example": "refs/heads/main", + "type": "string" + }, + "size_in_bytes": { + "example": 1024, + "type": "integer" + }, + "version": { + "example": "73885106f58cc52a7df9ec4d4a5622a5614813162cb516c759a30af6bf56e6f0", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "total_count": { + "description": "Total number of caches", + "example": 2, + "type": "integer" + } + }, + "required": [ + "total_count", + "actions_caches" + ], + "title": "Repository actions caches", + "type": "object" + }, + "actions-cache-usage-by-repository": { + "description": "GitHub Actions Cache Usage by repository.", + "properties": { + "active_caches_count": { + "description": "The number of active caches in the repository.", + "example": 3, + "type": "integer" + }, + "active_caches_size_in_bytes": { + "description": "The sum of the size in bytes of all the active cache items in the repository.", + "example": 2322142, + "type": "integer" + }, + "full_name": { + "description": "The repository owner and name for the cache usage being shown.", + "example": "octo-org/Hello-World", + "type": "string" + } + }, + "required": [ + "full_name", + "active_caches_size_in_bytes", + "active_caches_count" + ], + "title": "Actions Cache Usage by repository", + "type": "object" + }, + "actions-cache-usage-org-enterprise": { + "properties": { + "total_active_caches_count": { + "description": "The count of active caches across all repositories of an enterprise or an organization.", + "type": "integer" + }, + "total_active_caches_size_in_bytes": { + "description": "The total size in bytes of all active cache items across all repositories of an enterprise or an organization.", + "type": "integer" + } + }, + "required": [ + "total_active_caches_count", + "total_active_caches_size_in_bytes" + ], + "type": "object" + }, + "actions-can-approve-pull-request-reviews": { + "description": "Whether GitHub Actions can approve pull requests. Enabling this can be a security risk.", + "type": "boolean" + }, + "actions-default-workflow-permissions": { + "description": "The default workflow permissions granted to the GITHUB_TOKEN when running workflows.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "actions-enabled": { + "description": "Whether GitHub Actions is enabled on the repository.", + "type": "boolean" + }, + "actions-get-default-workflow-permissions": { + "properties": { + "can_approve_pull_request_reviews": { + "$ref": "#/components/schemas/actions-can-approve-pull-request-reviews" + }, + "default_workflow_permissions": { + "$ref": "#/components/schemas/actions-default-workflow-permissions" + } + }, + "required": [ + "default_workflow_permissions", + "can_approve_pull_request_reviews" + ], + "type": "object" + }, + "actions-organization-permissions": { + "properties": { + "allowed_actions": { + "$ref": "#/components/schemas/allowed-actions" + }, + "enabled_repositories": { + "$ref": "#/components/schemas/enabled-repositories" + }, + "selected_actions_url": { + "$ref": "#/components/schemas/selected-actions-url" + }, + "selected_repositories_url": { + "description": "The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`.", + "type": "string" + } + }, + "required": [ + "enabled_repositories" + ], + "type": "object" + }, + "actions-public-key": { + "description": "The public key used for setting Actions Secrets.", + "properties": { + "created_at": { + "example": "2011-01-26T19:01:12Z", + "type": "string" + }, + "id": { + "example": 2, + "type": "integer" + }, + "key": { + "description": "The Base64 encoded public key.", + "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=", + "type": "string" + }, + "key_id": { + "description": "The identifier for the key.", + "example": "1234567", + "type": "string" + }, + "title": { + "example": "ssh-rsa AAAAB3NzaC1yc2EAAA", + "type": "string" + }, + "url": { + "example": "https://api.github.com/user/keys/2", + "type": "string" + } + }, + "required": [ + "key_id", + "key" + ], + "title": "ActionsPublicKey", + "type": "object" + }, + "actions-repository-permissions": { + "properties": { + "allowed_actions": { + "$ref": "#/components/schemas/allowed-actions" + }, + "enabled": { + "$ref": "#/components/schemas/actions-enabled" + }, + "selected_actions_url": { + "$ref": "#/components/schemas/selected-actions-url" + } + }, + "required": [ + "enabled" + ], + "type": "object" + }, + "actions-secret": { + "description": "Set secrets for GitHub Actions.", + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "description": "The name of the secret.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ], + "title": "Actions Secret", + "type": "object" + }, + "actions-set-default-workflow-permissions": { + "properties": { + "can_approve_pull_request_reviews": { + "$ref": "#/components/schemas/actions-can-approve-pull-request-reviews" + }, + "default_workflow_permissions": { + "$ref": "#/components/schemas/actions-default-workflow-permissions" + } + }, + "type": "object" + }, + "actions-variable": { + "properties": { + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "format": "date-time", + "type": "string" + }, + "name": { + "description": "The name of the variable.", + "example": "USERNAME", + "type": "string" + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "format": "date-time", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ], + "title": "Actions Variable", + "type": "object" + }, + "actions-workflow-access-to-repository": { + "properties": { + "access_level": { + "description": "Defines the level of access that workflows outside of the repository have to actions and reusable workflows within the\nrepository.\n\n`none` means the access is only possible from workflows in this repository. `user` level access allows sharing across user owned private repos only. `organization` level access allows sharing across the organization.", + "enum": [ + "none", + "user", + "organization" + ], + "type": "string" + } + }, + "required": [ + "access_level" + ], + "type": "object" + }, + "actor": { + "description": "Actor", + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "display_login": { + "type": "string" + }, + "gravatar_id": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "login", + "gravatar_id", + "url", + "avatar_url" + ], + "title": "Actor", + "type": "object" + }, + "added-to-project-issue-event": { + "description": "Added to Project Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "project_card": { + "properties": { + "column_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "previous_column_name": { + "type": "string" + }, + "project_id": { + "type": "integer" + }, + "project_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "project_id", + "project_url", + "column_name" + ], + "type": "object" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ], + "title": "Added to Project Issue Event", + "type": "object" + }, + "alert-created-at": { + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true, + "type": "string" + }, + "alert-dismissed-at": { + "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "alert-fixed-at": { + "description": "The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "alert-html-url": { + "description": "The GitHub URL of the alert resource.", + "format": "uri", + "readOnly": true, + "type": "string" + }, + "alert-instances-url": { + "description": "The REST API URL for fetching the list of instances for an alert.", + "format": "uri", + "readOnly": true, + "type": "string" + }, + "alert-number": { + "description": "The security alert number.", + "readOnly": true, + "type": "integer" + }, + "alert-updated-at": { + "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true, + "type": "string" + }, + "alert-url": { + "description": "The REST API URL of the alert resource.", + "format": "uri", + "readOnly": true, + "type": "string" + }, + "allowed-actions": { + "description": "The permissions policy that controls the actions and reusable workflows that are allowed to run.", + "enum": [ + "all", + "local_only", + "selected" + ], + "type": "string" + }, + "api-overview": { + "description": "Api Overview", + "properties": { + "actions": { + "example": [ + "13.64.0.0/16", + "13.65.0.0/16" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "api": { + "example": [ + "127.0.0.1/32" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "dependabot": { + "example": [ + "192.168.7.15/32", + "192.168.7.16/32" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "git": { + "example": [ + "127.0.0.1/32" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "hooks": { + "example": [ + "127.0.0.1/32" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "importer": { + "example": [ + "54.158.161.132", + "54.226.70.38" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "packages": { + "example": [ + "13.65.0.0/16", + "157.55.204.33/32", + "2a01:111:f403:f90c::/62" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "pages": { + "example": [ + "192.30.252.153/32", + "192.30.252.154/32" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "ssh_key_fingerprints": { + "properties": { + "SHA256_DSA": { + "type": "string" + }, + "SHA256_ECDSA": { + "type": "string" + }, + "SHA256_ED25519": { + "type": "string" + }, + "SHA256_RSA": { + "type": "string" + } + }, + "type": "object" + }, + "ssh_keys": { + "example": [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "verifiable_password_authentication": { + "example": true, + "type": "boolean" + }, + "web": { + "example": [ + "127.0.0.1/32" + ], + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "verifiable_password_authentication" + ], + "title": "Api Overview", + "type": "object" + }, + "app-permissions": { + "description": "The permissions granted to the user-to-server access token.", + "example": { + "contents": "read", + "deployments": "write", + "issues": "read", + "single_file": "read" + }, + "properties": { + "actions": { + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_announcement_banners": { + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_custom_roles": { + "description": "The level of permission to grant the access token for custom repository roles management. This property is in beta and is subject to change.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ], + "type": "string" + }, + "organization_projects": { + "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available).", + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_announcement_banners": { + "description": "The level of permission to grant the access token to view and manage announcement banners for a repository.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "description": "The level of permission to grant the access token to manage team discussions and related comments.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ], + "type": "string" + } + }, + "title": "App Permissions", + "type": "object" + }, + "artifact": { + "description": "An artifact", + "properties": { + "archive_download_url": { + "example": "https://api.github.com/repos/github/hello-world/actions/artifacts/5/zip", + "type": "string" + }, + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "expired": { + "description": "Whether or not the artifact has expired.", + "type": "boolean" + }, + "expires_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "id": { + "example": 5, + "type": "integer" + }, + "name": { + "description": "The name of the artifact.", + "example": "AdventureWorks.Framework", + "type": "string" + }, + "node_id": { + "example": "MDEwOkNoZWNrU3VpdGU1", + "type": "string" + }, + "size_in_bytes": { + "description": "The size in bytes of the artifact.", + "example": 12345, + "type": "integer" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/github/hello-world/actions/artifacts/5", + "type": "string" + }, + "workflow_run": { + "nullable": true, + "properties": { + "head_branch": { + "example": "main", + "type": "string" + }, + "head_repository_id": { + "example": 42, + "type": "integer" + }, + "head_sha": { + "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d", + "type": "string" + }, + "id": { + "example": 10, + "type": "integer" + }, + "repository_id": { + "example": 42, + "type": "integer" + } + }, + "type": "object" + } + }, + "required": [ + "id", + "node_id", + "name", + "size_in_bytes", + "url", + "archive_download_url", + "expired", + "created_at", + "expires_at", + "updated_at" + ], + "title": "Artifact", + "type": "object" + }, + "assigned-issue-event": { + "description": "Assigned Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "assignee": { + "$ref": "#/components/schemas/simple-user" + }, + "assigner": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee", + "assigner" + ], + "title": "Assigned Issue Event", + "type": "object" + }, + "authentication-token": { + "description": "Authentication Token", + "properties": { + "expires_at": { + "description": "The time this token expires", + "example": "2016-07-11T22:14:10Z", + "format": "date-time", + "type": "string" + }, + "permissions": { + "example": { + "deployments": "write", + "issues": "read" + }, + "type": "object" + }, + "repositories": { + "description": "The repositories this token has access to", + "items": { + "$ref": "#/components/schemas/repository" + }, + "type": "array" + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "enum": [ + "all", + "selected" + ], + "type": "string" + }, + "single_file": { + "example": "config.yaml", + "nullable": true, + "type": "string" + }, + "token": { + "description": "The token used for authentication", + "example": "v1.1f699f1069f60xxx", + "type": "string" + } + }, + "required": [ + "token", + "expires_at" + ], + "title": "Authentication Token", + "type": "object" + }, + "author-association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "example": "OWNER", + "title": "author_association", + "type": "string" + }, + "authorization": { + "description": "The authorization for an OAuth app, GitHub App, or a Personal Access Token.", + "properties": { + "app": { + "properties": { + "client_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "client_id", + "name", + "url" + ], + "type": "object" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "expires_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "fingerprint": { + "nullable": true, + "type": "string" + }, + "hashed_token": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "installation": { + "$ref": "#/components/schemas/nullable-scoped-installation" + }, + "note": { + "nullable": true, + "type": "string" + }, + "note_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "scopes": { + "description": "A list of scopes that this authorization is in.", + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "token": { + "type": "string" + }, + "token_last_eight": { + "nullable": true, + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "app", + "id", + "note", + "note_url", + "scopes", + "token", + "hashed_token", + "token_last_eight", + "fingerprint", + "url", + "created_at", + "updated_at", + "expires_at" + ], + "title": "Authorization", + "type": "object" + }, + "auto-merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "type": "string" + }, + "enabled_by": { + "$ref": "#/components/schemas/simple-user" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "Auto merge", + "type": "object" + }, + "autolink": { + "description": "An autolink reference.", + "properties": { + "id": { + "example": 3, + "type": "integer" + }, + "is_alphanumeric": { + "description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.", + "example": true, + "type": "boolean" + }, + "key_prefix": { + "description": "The prefix of a key that is linkified.", + "example": "TICKET-", + "type": "string" + }, + "url_template": { + "description": "A template for the target URL that is generated if a key was found.", + "example": "https://example.com/TICKET?query=", + "type": "string" + } + }, + "required": [ + "id", + "key_prefix", + "url_template", + "is_alphanumeric" + ], + "title": "Autolink reference", + "type": "object" + }, + "base-gist": { + "description": "Base Gist", + "properties": { + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "files": { + "additionalProperties": { + "properties": { + "filename": { + "type": "string" + }, + "language": { + "type": "string" + }, + "raw_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "type": "object" + }, + "forks": { + "items": {}, + "type": "array" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "git_pull_url": { + "format": "uri", + "type": "string" + }, + "git_push_url": { + "format": "uri", + "type": "string" + }, + "history": { + "items": {}, + "type": "array" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "public": { + "type": "boolean" + }, + "truncated": { + "type": "boolean" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "id", + "node_id", + "url", + "forks_url", + "commits_url", + "git_pull_url", + "git_push_url", + "html_url", + "comments_url", + "public", + "description", + "comments", + "user", + "files", + "created_at", + "updated_at" + ], + "title": "Base Gist", + "type": "object" + }, + "basic-error": { + "description": "Basic Error", + "properties": { + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "title": "Basic Error", + "type": "object" + }, + "blob": { + "description": "Blob", + "properties": { + "content": { + "type": "string" + }, + "encoding": { + "type": "string" + }, + "highlighted_content": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "size": { + "nullable": true, + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "url", + "node_id", + "size", + "content", + "encoding" + ], + "title": "Blob", + "type": "object" + }, + "branch-protection": { + "description": "Branch Protection", + "properties": { + "allow_deletions": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "allow_force_pushes": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "allow_fork_syncing": { + "description": "Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing.", + "properties": { + "enabled": { + "default": false, + "type": "boolean" + } + }, + "type": "object" + }, + "block_creations": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "enabled": { + "type": "boolean" + }, + "enforce_admins": { + "$ref": "#/components/schemas/protected-branch-admin-enforced" + }, + "lock_branch": { + "description": "Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.", + "properties": { + "enabled": { + "default": false, + "type": "boolean" + } + }, + "type": "object" + }, + "name": { + "example": "\"branch/with/protection\"", + "type": "string" + }, + "protection_url": { + "example": "\"https://api.github.com/repos/owner-79e94e2d36b3fd06a32bb213/AAA_Public_Repo/branches/branch/with/protection/protection\"", + "type": "string" + }, + "required_conversation_resolution": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "required_linear_history": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "required_pull_request_reviews": { + "$ref": "#/components/schemas/protected-branch-pull-request-review" + }, + "required_signatures": { + "properties": { + "enabled": { + "example": true, + "type": "boolean" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures", + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "enabled" + ], + "type": "object" + }, + "required_status_checks": { + "$ref": "#/components/schemas/protected-branch-required-status-check" + }, + "restrictions": { + "$ref": "#/components/schemas/branch-restriction-policy" + }, + "url": { + "type": "string" + } + }, + "title": "Branch Protection", + "type": "object" + }, + "branch-restriction-policy": { + "description": "Branch Restriction Policy", + "properties": { + "apps": { + "items": { + "properties": { + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "events": { + "items": { + "type": "string" + }, + "type": "array" + }, + "external_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\"", + "type": "string" + }, + "following_url": { + "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\"", + "type": "string" + }, + "gists_url": { + "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\"", + "type": "string" + }, + "gravatar_id": { + "example": "\"\"", + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "example": "\"https://github.com/testorg-ea8ec76d71c3af4b\"", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issues_url": { + "type": "string" + }, + "login": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\"", + "type": "string" + }, + "public_members_url": { + "type": "string" + }, + "received_events_url": { + "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\"", + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "example": false, + "type": "boolean" + }, + "starred_url": { + "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\"", + "type": "string" + }, + "subscriptions_url": { + "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\"", + "type": "string" + }, + "type": { + "example": "\"Organization\"", + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "permissions": { + "properties": { + "contents": { + "type": "string" + }, + "issues": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "single_file": { + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "apps_url": { + "format": "uri", + "type": "string" + }, + "teams": { + "items": { + "properties": { + "description": { + "nullable": true, + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "members_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "type": "string" + }, + "permission": { + "type": "string" + }, + "privacy": { + "type": "string" + }, + "repositories_url": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "users": { + "items": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "users_url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "users_url", + "teams_url", + "apps_url", + "users", + "teams", + "apps" + ], + "title": "Branch Restriction Policy", + "type": "object" + }, + "branch-short": { + "description": "Branch Short", + "properties": { + "commit": { + "properties": { + "sha": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "sha", + "url" + ], + "type": "object" + }, + "name": { + "type": "string" + }, + "protected": { + "type": "boolean" + } + }, + "required": [ + "name", + "commit", + "protected" + ], + "title": "Branch Short", + "type": "object" + }, + "branch-with-protection": { + "description": "Branch With Protection", + "properties": { + "_links": { + "properties": { + "html": { + "type": "string" + }, + "self": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "html", + "self" + ], + "type": "object" + }, + "commit": { + "$ref": "#/components/schemas/commit" + }, + "name": { + "type": "string" + }, + "pattern": { + "example": "\"mas*\"", + "type": "string" + }, + "protected": { + "type": "boolean" + }, + "protection": { + "$ref": "#/components/schemas/branch-protection" + }, + "protection_url": { + "format": "uri", + "type": "string" + }, + "required_approving_review_count": { + "example": 1, + "type": "integer" + } + }, + "required": [ + "name", + "commit", + "_links", + "protection", + "protected", + "protection_url" + ], + "title": "Branch With Protection", + "type": "object" + }, + "check-annotation": { + "description": "Check Annotation", + "properties": { + "annotation_level": { + "example": "warning", + "nullable": true, + "type": "string" + }, + "blob_href": { + "type": "string" + }, + "end_column": { + "example": 10, + "nullable": true, + "type": "integer" + }, + "end_line": { + "example": 2, + "type": "integer" + }, + "message": { + "example": "Check your spelling for 'banaas'.", + "nullable": true, + "type": "string" + }, + "path": { + "example": "README.md", + "type": "string" + }, + "raw_details": { + "example": "Do you mean 'bananas' or 'banana'?", + "nullable": true, + "type": "string" + }, + "start_column": { + "example": 5, + "nullable": true, + "type": "integer" + }, + "start_line": { + "example": 2, + "type": "integer" + }, + "title": { + "example": "Spell Checker", + "nullable": true, + "type": "string" + } + }, + "required": [ + "path", + "blob_href", + "start_line", + "end_line", + "start_column", + "end_column", + "annotation_level", + "title", + "message", + "raw_details" + ], + "title": "Check Annotation", + "type": "object" + }, + "check-run": { + "description": "A check performed on the code of a given code change", + "properties": { + "app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "check_suite": { + "nullable": true, + "properties": { + "id": { + "type": "integer" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "completed_at": { + "example": "2018-05-04T01:14:52Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "conclusion": { + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], + "example": "neutral", + "nullable": true, + "type": "string" + }, + "deployment": { + "$ref": "#/components/schemas/deployment-simple" + }, + "details_url": { + "example": "https://example.com", + "nullable": true, + "type": "string" + }, + "external_id": { + "example": "42", + "nullable": true, + "type": "string" + }, + "head_sha": { + "description": "The SHA of the commit that is being checked.", + "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d", + "type": "string" + }, + "html_url": { + "example": "https://github.com/github/hello-world/runs/4", + "nullable": true, + "type": "string" + }, + "id": { + "description": "The id of the check.", + "example": 21, + "type": "integer" + }, + "name": { + "description": "The name of the check.", + "example": "test-coverage", + "type": "string" + }, + "node_id": { + "example": "MDg6Q2hlY2tSdW40", + "type": "string" + }, + "output": { + "properties": { + "annotations_count": { + "type": "integer" + }, + "annotations_url": { + "format": "uri", + "type": "string" + }, + "summary": { + "nullable": true, + "type": "string" + }, + "text": { + "nullable": true, + "type": "string" + }, + "title": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "title", + "summary", + "text", + "annotations_count", + "annotations_url" + ], + "type": "object" + }, + "pull_requests": { + "items": { + "$ref": "#/components/schemas/pull-request-minimal" + }, + "type": "array" + }, + "started_at": { + "example": "2018-05-04T01:14:52Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "status": { + "description": "The phase of the lifecycle that the check is currently in.", + "enum": [ + "queued", + "in_progress", + "completed" + ], + "example": "queued", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/github/hello-world/check-runs/4", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "head_sha", + "name", + "url", + "html_url", + "details_url", + "status", + "conclusion", + "started_at", + "completed_at", + "external_id", + "check_suite", + "output", + "app", + "pull_requests" + ], + "title": "CheckRun", + "type": "object" + }, + "check-run-with-simple-check-suite": { + "description": "A check performed on the code of a given code change", + "properties": { + "app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "check_suite": { + "$ref": "#/components/schemas/simple-check-suite" + }, + "completed_at": { + "example": "2018-05-04T01:14:52Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "conclusion": { + "enum": [ + "waiting", + "pending", + "startup_failure", + "stale", + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], + "example": "neutral", + "nullable": true, + "type": "string" + }, + "deployment": { + "$ref": "#/components/schemas/deployment-simple" + }, + "details_url": { + "example": "https://example.com", + "type": "string" + }, + "external_id": { + "example": "42", + "type": "string" + }, + "head_sha": { + "description": "The SHA of the commit that is being checked.", + "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d", + "type": "string" + }, + "html_url": { + "example": "https://github.com/github/hello-world/runs/4", + "type": "string" + }, + "id": { + "description": "The id of the check.", + "example": 21, + "type": "integer" + }, + "name": { + "description": "The name of the check.", + "example": "test-coverage", + "type": "string" + }, + "node_id": { + "example": "MDg6Q2hlY2tSdW40", + "type": "string" + }, + "output": { + "properties": { + "annotations_count": { + "type": "integer" + }, + "annotations_url": { + "format": "uri", + "type": "string" + }, + "summary": { + "nullable": true, + "type": "string" + }, + "text": { + "nullable": true, + "type": "string" + }, + "title": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "title", + "summary", + "text", + "annotations_count", + "annotations_url" + ], + "type": "object" + }, + "pull_requests": { + "items": { + "$ref": "#/components/schemas/pull-request-minimal" + }, + "type": "array" + }, + "started_at": { + "example": "2018-05-04T01:14:52Z", + "format": "date-time", + "type": "string" + }, + "status": { + "description": "The phase of the lifecycle that the check is currently in.", + "enum": [ + "queued", + "in_progress", + "completed", + "pending" + ], + "example": "queued", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/github/hello-world/check-runs/4", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "head_sha", + "name", + "url", + "html_url", + "details_url", + "status", + "conclusion", + "started_at", + "completed_at", + "external_id", + "check_suite", + "output", + "app", + "pull_requests" + ], + "title": "CheckRun", + "type": "object" + }, + "check-suite": { + "description": "A suite of checks performed on the code of a given code change", + "properties": { + "after": { + "example": "d6fde92930d4715a2b49857d24b940956b26d2d3", + "nullable": true, + "type": "string" + }, + "app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "before": { + "example": "146e867f55c26428e5f9fade55a9bbf5e95a7912", + "nullable": true, + "type": "string" + }, + "check_runs_url": { + "type": "string" + }, + "conclusion": { + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required", + "startup_failure", + "stale", + null + ], + "example": "neutral", + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "head_branch": { + "example": "master", + "nullable": true, + "type": "string" + }, + "head_commit": { + "$ref": "#/components/schemas/simple-commit" + }, + "head_sha": { + "description": "The SHA of the head commit that is being checked.", + "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d", + "type": "string" + }, + "id": { + "example": 5, + "type": "integer" + }, + "latest_check_runs_count": { + "type": "integer" + }, + "node_id": { + "example": "MDEwOkNoZWNrU3VpdGU1", + "type": "string" + }, + "pull_requests": { + "items": { + "$ref": "#/components/schemas/pull-request-minimal" + }, + "nullable": true, + "type": "array" + }, + "repository": { + "$ref": "#/components/schemas/minimal-repository" + }, + "rerequestable": { + "type": "boolean" + }, + "runs_rerequestable": { + "type": "boolean" + }, + "status": { + "enum": [ + "queued", + "in_progress", + "completed" + ], + "example": "completed", + "nullable": true, + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/github/hello-world/check-suites/5", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "head_branch", + "status", + "conclusion", + "head_sha", + "url", + "before", + "after", + "created_at", + "updated_at", + "app", + "head_commit", + "repository", + "latest_check_runs_count", + "check_runs_url", + "pull_requests" + ], + "title": "CheckSuite", + "type": "object" + }, + "check-suite-preference": { + "description": "Check suite configuration preferences for a repository.", + "properties": { + "preferences": { + "properties": { + "auto_trigger_checks": { + "items": { + "properties": { + "app_id": { + "type": "integer" + }, + "setting": { + "type": "boolean" + } + }, + "required": [ + "app_id", + "setting" + ], + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/minimal-repository" + } + }, + "required": [ + "preferences", + "repository" + ], + "title": "Check Suite Preference", + "type": "object" + }, + "clone-traffic": { + "description": "Clone Traffic", + "properties": { + "clones": { + "items": { + "$ref": "#/components/schemas/traffic" + }, + "type": "array" + }, + "count": { + "example": 173, + "type": "integer" + }, + "uniques": { + "example": 128, + "type": "integer" + } + }, + "required": [ + "uniques", + "count", + "clones" + ], + "title": "Clone Traffic", + "type": "object" + }, + "code-frequency-stat": { + "description": "Code Frequency Stat", + "items": { + "type": "integer" + }, + "title": "Code Frequency Stat", + "type": "array" + }, + "code-of-conduct": { + "description": "Code Of Conduct", + "properties": { + "body": { + "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n", + "type": "string" + }, + "html_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "key": { + "example": "contributor_covenant", + "type": "string" + }, + "name": { + "example": "Contributor Covenant", + "type": "string" + }, + "url": { + "example": "https://api.github.com/codes_of_conduct/contributor_covenant", + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ], + "title": "Code Of Conduct", + "type": "object" + }, + "code-of-conduct-simple": { + "description": "Code of Conduct Simple", + "properties": { + "html_url": { + "example": "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md", + "format": "uri", + "nullable": true, + "type": "string" + }, + "key": { + "example": "citizen_code_of_conduct", + "type": "string" + }, + "name": { + "example": "Citizen Code of Conduct", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/github/docs/community/code_of_conduct", + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "key", + "name", + "html_url" + ], + "title": "Code Of Conduct Simple", + "type": "object" + }, + "code-scanning-alert": { + "properties": { + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "dismissed_at": { + "$ref": "#/components/schemas/alert-dismissed-at" + }, + "dismissed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "dismissed_comment": { + "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" + }, + "dismissed_reason": { + "$ref": "#/components/schemas/code-scanning-alert-dismissed-reason" + }, + "fixed_at": { + "$ref": "#/components/schemas/alert-fixed-at" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "instances_url": { + "$ref": "#/components/schemas/alert-instances-url" + }, + "most_recent_instance": { + "$ref": "#/components/schemas/code-scanning-alert-instance" + }, + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "rule": { + "$ref": "#/components/schemas/code-scanning-alert-rule" + }, + "state": { + "$ref": "#/components/schemas/code-scanning-alert-state" + }, + "tool": { + "$ref": "#/components/schemas/code-scanning-analysis-tool" + }, + "updated_at": { + "$ref": "#/components/schemas/alert-updated-at" + }, + "url": { + "$ref": "#/components/schemas/alert-url" + } + }, + "required": [ + "number", + "created_at", + "url", + "html_url", + "instances_url", + "state", + "dismissed_by", + "dismissed_at", + "dismissed_reason", + "rule", + "tool", + "most_recent_instance" + ], + "type": "object" + }, + "code-scanning-alert-classification": { + "description": "A classification of the file. For example to identify it as generated.", + "enum": [ + "source", + "generated", + "test", + "library" + ], + "nullable": true, + "type": "string" + }, + "code-scanning-alert-dismissed-comment": { + "description": "The dismissal comment associated with the dismissal of the alert.", + "maxLength": 280, + "nullable": true, + "type": "string" + }, + "code-scanning-alert-dismissed-reason": { + "description": "**Required when the state is dismissed.** The reason for dismissing or closing the alert.", + "enum": [ + null, + "false positive", + "won't fix", + "used in tests" + ], + "nullable": true, + "type": "string" + }, + "code-scanning-alert-environment": { + "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", + "type": "string" + }, + "code-scanning-alert-instance": { + "properties": { + "analysis_key": { + "$ref": "#/components/schemas/code-scanning-analysis-analysis-key" + }, + "category": { + "$ref": "#/components/schemas/code-scanning-analysis-category" + }, + "classifications": { + "description": "Classifications that have been applied to the file that triggered the alert.\nFor example identifying it as documentation, or a generated file.", + "items": { + "$ref": "#/components/schemas/code-scanning-alert-classification" + }, + "type": "array" + }, + "commit_sha": { + "type": "string" + }, + "environment": { + "$ref": "#/components/schemas/code-scanning-alert-environment" + }, + "html_url": { + "type": "string" + }, + "location": { + "$ref": "#/components/schemas/code-scanning-alert-location" + }, + "message": { + "properties": { + "text": { + "type": "string" + } + }, + "type": "object" + }, + "ref": { + "$ref": "#/components/schemas/code-scanning-ref" + }, + "state": { + "$ref": "#/components/schemas/code-scanning-alert-state" + } + }, + "type": "object" + }, + "code-scanning-alert-items": { + "properties": { + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "dismissed_at": { + "$ref": "#/components/schemas/alert-dismissed-at" + }, + "dismissed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "dismissed_comment": { + "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" + }, + "dismissed_reason": { + "$ref": "#/components/schemas/code-scanning-alert-dismissed-reason" + }, + "fixed_at": { + "$ref": "#/components/schemas/alert-fixed-at" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "instances_url": { + "$ref": "#/components/schemas/alert-instances-url" + }, + "most_recent_instance": { + "$ref": "#/components/schemas/code-scanning-alert-instance" + }, + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "rule": { + "$ref": "#/components/schemas/code-scanning-alert-rule-summary" + }, + "state": { + "$ref": "#/components/schemas/code-scanning-alert-state" + }, + "tool": { + "$ref": "#/components/schemas/code-scanning-analysis-tool" + }, + "updated_at": { + "$ref": "#/components/schemas/alert-updated-at" + }, + "url": { + "$ref": "#/components/schemas/alert-url" + } + }, + "required": [ + "number", + "created_at", + "url", + "html_url", + "instances_url", + "state", + "dismissed_by", + "dismissed_at", + "dismissed_reason", + "rule", + "tool", + "most_recent_instance" + ], + "type": "object" + }, + "code-scanning-alert-location": { + "description": "Describe a region within a file for the alert.", + "properties": { + "end_column": { + "type": "integer" + }, + "end_line": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "start_column": { + "type": "integer" + }, + "start_line": { + "type": "integer" + } + }, + "type": "object" + }, + "code-scanning-alert-rule": { + "properties": { + "description": { + "description": "A short description of the rule used to detect the alert.", + "type": "string" + }, + "full_description": { + "description": "description of the rule used to detect the alert.", + "type": "string" + }, + "help": { + "description": "Detailed documentation for the rule as GitHub Flavored Markdown.", + "nullable": true, + "type": "string" + }, + "help_uri": { + "description": "A link to the documentation for the rule used to detect the alert.", + "nullable": true, + "type": "string" + }, + "id": { + "description": "A unique identifier for the rule used to detect the alert.", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the rule used to detect the alert.", + "type": "string" + }, + "security_severity_level": { + "description": "The security severity of the alert.", + "enum": [ + "low", + "medium", + "high", + "critical" + ], + "nullable": true, + "type": "string" + }, + "severity": { + "description": "The severity of the alert.", + "enum": [ + "none", + "note", + "warning", + "error" + ], + "nullable": true, + "type": "string" + }, + "tags": { + "description": "A set of tags applicable for the rule.", + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "code-scanning-alert-rule-summary": { + "properties": { + "description": { + "description": "A short description of the rule used to detect the alert.", + "type": "string" + }, + "id": { + "description": "A unique identifier for the rule used to detect the alert.", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the rule used to detect the alert.", + "type": "string" + }, + "severity": { + "description": "The severity of the alert.", + "enum": [ + "none", + "note", + "warning", + "error" + ], + "nullable": true, + "type": "string" + }, + "tags": { + "description": "A set of tags applicable for the rule.", + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "code-scanning-alert-set-state": { + "description": "Sets the state of the code scanning alert. You must provide `dismissed_reason` when you set the state to `dismissed`.", + "enum": [ + "open", + "dismissed" + ], + "type": "string" + }, + "code-scanning-alert-severity": { + "description": "Severity of a code scanning alert.", + "enum": [ + "critical", + "high", + "medium", + "low", + "warning", + "note", + "error" + ], + "type": "string" + }, + "code-scanning-alert-state": { + "description": "State of a code scanning alert.", + "enum": [ + "open", + "closed", + "dismissed", + "fixed" + ], + "type": "string" + }, + "code-scanning-analysis": { + "properties": { + "analysis_key": { + "$ref": "#/components/schemas/code-scanning-analysis-analysis-key" + }, + "category": { + "$ref": "#/components/schemas/code-scanning-analysis-category" + }, + "commit_sha": { + "$ref": "#/components/schemas/code-scanning-analysis-commit-sha" + }, + "created_at": { + "$ref": "#/components/schemas/code-scanning-analysis-created-at" + }, + "deletable": { + "type": "boolean" + }, + "environment": { + "$ref": "#/components/schemas/code-scanning-analysis-environment" + }, + "error": { + "example": "error reading field xyz", + "type": "string" + }, + "id": { + "description": "Unique identifier for this analysis.", + "type": "integer" + }, + "ref": { + "$ref": "#/components/schemas/code-scanning-ref" + }, + "results_count": { + "description": "The total number of results in the analysis.", + "type": "integer" + }, + "rules_count": { + "description": "The total number of rules used in the analysis.", + "type": "integer" + }, + "sarif_id": { + "$ref": "#/components/schemas/code-scanning-analysis-sarif-id" + }, + "tool": { + "$ref": "#/components/schemas/code-scanning-analysis-tool" + }, + "url": { + "$ref": "#/components/schemas/code-scanning-analysis-url" + }, + "warning": { + "description": "Warning generated when processing the analysis", + "example": "123 results were ignored", + "type": "string" + } + }, + "required": [ + "ref", + "commit_sha", + "analysis_key", + "environment", + "error", + "created_at", + "results_count", + "rules_count", + "id", + "url", + "sarif_id", + "tool", + "deletable", + "warning" + ], + "type": "object" + }, + "code-scanning-analysis-analysis-key": { + "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", + "type": "string" + }, + "code-scanning-analysis-category": { + "description": "Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code.", + "type": "string" + }, + "code-scanning-analysis-commit-sha": { + "description": "The SHA of the commit to which the analysis you are uploading relates.", + "maxLength": 40, + "minLength": 40, + "pattern": "^[0-9a-fA-F]+$", + "type": "string" + }, + "code-scanning-analysis-created-at": { + "description": "The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true, + "type": "string" + }, + "code-scanning-analysis-deletion": { + "description": "Successful deletion of a code scanning analysis", + "properties": { + "confirm_delete_url": { + "description": "Next deletable analysis in chain, with last analysis deletion confirmation", + "format": "uri", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "next_analysis_url": { + "description": "Next deletable analysis in chain, without last analysis deletion confirmation", + "format": "uri", + "nullable": true, + "readOnly": true, + "type": "string" + } + }, + "required": [ + "next_analysis_url", + "confirm_delete_url" + ], + "title": "Analysis deletion", + "type": "object" + }, + "code-scanning-analysis-environment": { + "description": "Identifies the variable values associated with the environment in which this analysis was performed.", + "type": "string" + }, + "code-scanning-analysis-sarif-file": { + "description": "A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. For more information, see \"[SARIF support for code scanning](https://docs.github.com/code-security/secure-coding/sarif-support-for-code-scanning).\"", + "type": "string" + }, + "code-scanning-analysis-sarif-id": { + "description": "An identifier for the upload.", + "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53", + "type": "string" + }, + "code-scanning-analysis-tool": { + "properties": { + "guid": { + "$ref": "#/components/schemas/code-scanning-analysis-tool-guid" + }, + "name": { + "$ref": "#/components/schemas/code-scanning-analysis-tool-name" + }, + "version": { + "$ref": "#/components/schemas/code-scanning-analysis-tool-version" + } + }, + "type": "object" + }, + "code-scanning-analysis-tool-guid": { + "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data.", + "nullable": true, + "type": "string" + }, + "code-scanning-analysis-tool-name": { + "description": "The name of the tool used to generate the code scanning analysis.", + "type": "string" + }, + "code-scanning-analysis-tool-version": { + "description": "The version of the tool used to generate the code scanning analysis.", + "nullable": true, + "type": "string" + }, + "code-scanning-analysis-url": { + "description": "The REST API URL of the analysis resource.", + "format": "uri", + "readOnly": true, + "type": "string" + }, + "code-scanning-codeql-database": { + "description": "A CodeQL database.", + "properties": { + "content_type": { + "description": "The MIME type of the CodeQL database file.", + "type": "string" + }, + "created_at": { + "description": "The date and time at which the CodeQL database was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "format": "date-time", + "type": "string" + }, + "id": { + "description": "The ID of the CodeQL database.", + "type": "integer" + }, + "language": { + "description": "The language of the CodeQL database.", + "type": "string" + }, + "name": { + "description": "The name of the CodeQL database.", + "type": "string" + }, + "size": { + "description": "The size of the CodeQL database file in bytes.", + "type": "integer" + }, + "updated_at": { + "description": "The date and time at which the CodeQL database was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "format": "date-time", + "type": "string" + }, + "uploader": { + "$ref": "#/components/schemas/simple-user" + }, + "url": { + "description": "The URL at which to download the CodeQL database. The `Accept` header must be set to the value of the `content_type` property.", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "name", + "language", + "uploader", + "content_type", + "size", + "created_at", + "updated_at", + "url" + ], + "title": "CodeQL Database", + "type": "object" + }, + "code-scanning-organization-alert-items": { + "properties": { + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "dismissed_at": { + "$ref": "#/components/schemas/alert-dismissed-at" + }, + "dismissed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "dismissed_comment": { + "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" + }, + "dismissed_reason": { + "$ref": "#/components/schemas/code-scanning-alert-dismissed-reason" + }, + "fixed_at": { + "$ref": "#/components/schemas/alert-fixed-at" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "instances_url": { + "$ref": "#/components/schemas/alert-instances-url" + }, + "most_recent_instance": { + "$ref": "#/components/schemas/code-scanning-alert-instance" + }, + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "rule": { + "$ref": "#/components/schemas/code-scanning-alert-rule" + }, + "state": { + "$ref": "#/components/schemas/code-scanning-alert-state" + }, + "tool": { + "$ref": "#/components/schemas/code-scanning-analysis-tool" + }, + "updated_at": { + "$ref": "#/components/schemas/alert-updated-at" + }, + "url": { + "$ref": "#/components/schemas/alert-url" + } + }, + "required": [ + "number", + "created_at", + "url", + "html_url", + "instances_url", + "state", + "dismissed_by", + "dismissed_at", + "dismissed_reason", + "rule", + "tool", + "most_recent_instance", + "repository" + ], + "type": "object" + }, + "code-scanning-ref": { + "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`.", + "type": "string" + }, + "code-scanning-sarifs-receipt": { + "properties": { + "id": { + "$ref": "#/components/schemas/code-scanning-analysis-sarif-id" + }, + "url": { + "description": "The REST API URL for checking the status of the upload.", + "format": "uri", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "code-scanning-sarifs-status": { + "properties": { + "analyses_url": { + "description": "The REST API URL for getting the analyses associated with the upload.", + "format": "uri", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "errors": { + "description": "Any errors that ocurred during processing of the delivery.", + "items": { + "type": "string" + }, + "nullable": true, + "readOnly": true, + "type": "array" + }, + "processing_status": { + "description": "`pending` files have not yet been processed, while `complete` means results from the SARIF have been stored. `failed` files have either not been processed at all, or could only be partially processed.", + "enum": [ + "pending", + "complete", + "failed" + ], + "type": "string" + } + }, + "type": "object" + }, + "code-search-result-item": { + "description": "Code Search Result Item", + "properties": { + "file_size": { + "type": "integer" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "last_modified_at": { + "format": "date-time", + "type": "string" + }, + "line_numbers": { + "example": [ + "73..77", + "77..78" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/minimal-repository" + }, + "score": { + "type": "number" + }, + "sha": { + "type": "string" + }, + "text_matches": { + "$ref": "#/components/schemas/search-result-text-matches" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "score", + "name", + "path", + "sha", + "git_url", + "html_url", + "url", + "repository" + ], + "title": "Code Search Result Item", + "type": "object" + }, + "codeowners-errors": { + "description": "A list of errors found in a repo's CODEOWNERS file", + "properties": { + "errors": { + "items": { + "properties": { + "column": { + "description": "The column number where this errors occurs.", + "example": 3, + "type": "integer" + }, + "kind": { + "description": "The type of error.", + "example": "Invalid owner", + "type": "string" + }, + "line": { + "description": "The line number where this errors occurs.", + "example": 7, + "type": "integer" + }, + "message": { + "description": "A human-readable description of the error, combining information from multiple fields, laid out for display in a monospaced typeface (for example, a command-line setting).", + "example": "Invalid owner on line 7:\n\n * user\n ^", + "type": "string" + }, + "path": { + "description": "The path of the file where the error occured.", + "example": ".github/CODEOWNERS", + "type": "string" + }, + "source": { + "description": "The contents of the line where the error occurs.", + "example": "* user", + "type": "string" + }, + "suggestion": { + "description": "Suggested action to fix the error. This will usually be `null`, but is provided for some common errors.", + "example": "The pattern `/` will never match anything, did you mean `*` instead?", + "nullable": true, + "type": "string" + } + }, + "required": [ + "line", + "column", + "kind", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "title": "CODEOWNERS errors", + "type": "object" + }, + "codespace": { + "description": "A codespace.", + "properties": { + "billable_owner": { + "$ref": "#/components/schemas/simple-user" + }, + "created_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "type": "string" + }, + "devcontainer_path": { + "description": "Path to devcontainer.json from repo root used to create Codespace.", + "example": ".devcontainer/example/devcontainer.json", + "nullable": true, + "type": "string" + }, + "display_name": { + "description": "Display name for this codespace.", + "example": "bookish space pancake", + "nullable": true, + "type": "string" + }, + "environment_id": { + "description": "UUID identifying this codespace's environment.", + "example": "26a7c758-7299-4a73-b978-5a92a7ae98a0", + "nullable": true, + "type": "string" + }, + "git_status": { + "description": "Details about the codespace's git repository.", + "properties": { + "ahead": { + "description": "The number of commits the local repository is ahead of the remote.", + "example": 0, + "type": "integer" + }, + "behind": { + "description": "The number of commits the local repository is behind the remote.", + "example": 0, + "type": "integer" + }, + "has_uncommitted_changes": { + "description": "Whether the local repository has uncommitted changes.", + "type": "boolean" + }, + "has_unpushed_changes": { + "description": "Whether the local repository has unpushed changes.", + "type": "boolean" + }, + "ref": { + "description": "The current branch (or SHA if in detached HEAD state) of the local repository.", + "example": "main", + "type": "string" + } + }, + "type": "object" + }, + "id": { + "example": 1, + "type": "integer" + }, + "idle_timeout_minutes": { + "description": "The number of minutes of inactivity after which this codespace will be automatically stopped.", + "example": 60, + "nullable": true, + "type": "integer" + }, + "idle_timeout_notice": { + "description": "Text to show user when codespace idle timeout minutes has been overriden by an organization policy", + "nullable": true, + "type": "string" + }, + "last_known_stop_notice": { + "description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.", + "example": "you've used 100% of your spending limit for Codespaces", + "nullable": true, + "type": "string" + }, + "last_used_at": { + "description": "Last known time this codespace was started.", + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "type": "string" + }, + "location": { + "description": "The Azure region where this codespace is located.", + "enum": [ + "EastUs", + "SouthEastAsia", + "WestEurope", + "WestUs2" + ], + "example": "WestUs2", + "type": "string" + }, + "machine": { + "$ref": "#/components/schemas/nullable-codespace-machine" + }, + "machines_url": { + "description": "API URL to access available alternate machine types for this codespace.", + "format": "uri", + "type": "string" + }, + "name": { + "description": "Automatically generated name of this codespace.", + "example": "monalisa-octocat-hello-world-g4wpq6h95q", + "type": "string" + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "pending_operation": { + "description": "Whether or not a codespace has a pending async operation. This would mean that the codespace is temporarily unavailable. The only thing that you can do with a codespace in this state is delete it.", + "nullable": true, + "type": "boolean" + }, + "pending_operation_disabled_reason": { + "description": "Text to show user when codespace is disabled by a pending operation", + "nullable": true, + "type": "string" + }, + "prebuild": { + "description": "Whether the codespace was created from a prebuild.", + "example": false, + "nullable": true, + "type": "boolean" + }, + "publish_url": { + "description": "API URL to publish this codespace to a new repository.", + "format": "uri", + "nullable": true, + "type": "string" + }, + "pulls_url": { + "description": "API URL for the Pull Request associated with this codespace, if any.", + "format": "uri", + "nullable": true, + "type": "string" + }, + "recent_folders": { + "items": { + "type": "string" + }, + "type": "array" + }, + "repository": { + "$ref": "#/components/schemas/minimal-repository" + }, + "retention_expires_at": { + "description": "When a codespace will be auto-deleted based on the \"retention_period_minutes\" and \"last_used_at\"", + "example": "2011-01-26T20:01:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "retention_period_minutes": { + "description": "Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days).", + "example": 60, + "nullable": true, + "type": "integer" + }, + "runtime_constraints": { + "properties": { + "allowed_port_privacy_settings": { + "description": "The privacy settings a user can select from when forwarding a port.", + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "start_url": { + "description": "API URL to start this codespace.", + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this codespace.", + "enum": [ + "Unknown", + "Created", + "Queued", + "Provisioning", + "Available", + "Awaiting", + "Unavailable", + "Deleted", + "Moved", + "Shutdown", + "Archived", + "Starting", + "ShuttingDown", + "Failed", + "Exporting", + "Updating", + "Rebuilding" + ], + "example": "Available", + "type": "string" + }, + "stop_url": { + "description": "API URL to stop this codespace.", + "format": "uri", + "type": "string" + }, + "updated_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "type": "string" + }, + "url": { + "description": "API URL for this codespace.", + "format": "uri", + "type": "string" + }, + "web_url": { + "description": "URL to access this codespace on the web.", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "name", + "environment_id", + "owner", + "billable_owner", + "repository", + "machine", + "prebuild", + "created_at", + "updated_at", + "last_used_at", + "state", + "url", + "git_status", + "location", + "idle_timeout_minutes", + "web_url", + "machines_url", + "start_url", + "stop_url", + "pulls_url", + "recent_folders" + ], + "title": "Codespace", + "type": "object" + }, + "codespace-export-details": { + "description": "An export of a codespace. Also, latest export details for a codespace can be fetched with id = latest", + "properties": { + "branch": { + "description": "Name of the exported branch", + "example": "codespace-monalisa-octocat-hello-world-g4wpq6h95q", + "nullable": true, + "type": "string" + }, + "completed_at": { + "description": "Completion time of the last export operation", + "example": "2021-01-01T19:01:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "export_url": { + "description": "Url for fetching export details", + "example": "https://api.github.com/user/codespaces/:name/exports/latest", + "type": "string" + }, + "html_url": { + "description": "Web url for the exported branch", + "example": "https://github.com/octocat/hello-world/tree/:branch", + "nullable": true, + "type": "string" + }, + "id": { + "description": "Id for the export details", + "example": "latest", + "type": "string" + }, + "sha": { + "description": "Git commit SHA of the exported branch", + "example": "fd95a81ca01e48ede9f39c799ecbcef817b8a3b2", + "nullable": true, + "type": "string" + }, + "state": { + "description": "State of the latest export", + "example": "succeeded | failed | in_progress", + "nullable": true, + "type": "string" + } + }, + "title": "Fetches information about an export of a codespace.", + "type": "object" + }, + "codespace-machine": { + "description": "A description of the machine powering a codespace.", + "properties": { + "cpus": { + "description": "How many cores are available to the codespace.", + "example": 4, + "type": "integer" + }, + "display_name": { + "description": "The display name of the machine includes cores, memory, and storage.", + "example": "4 cores, 8 GB RAM, 64 GB storage", + "type": "string" + }, + "memory_in_bytes": { + "description": "How much memory is available to the codespace.", + "example": 8589934592, + "type": "integer" + }, + "name": { + "description": "The name of the machine.", + "example": "standardLinux", + "type": "string" + }, + "operating_system": { + "description": "The operating system of the machine.", + "example": "linux", + "type": "string" + }, + "prebuild_availability": { + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value will be \"none\" if no prebuild is available. Latest values \"ready\" and \"in_progress\" indicate the prebuild availability status.", + "enum": [ + "none", + "ready", + "in_progress" + ], + "example": "ready", + "nullable": true, + "type": "string" + }, + "storage_in_bytes": { + "description": "How much storage is available to the codespace.", + "example": 68719476736, + "type": "integer" + } + }, + "required": [ + "name", + "display_name", + "operating_system", + "storage_in_bytes", + "memory_in_bytes", + "cpus", + "prebuild_availability" + ], + "title": "Codespace machine", + "type": "object" + }, + "codespace-with-full-repository": { + "description": "A codespace.", + "properties": { + "billable_owner": { + "$ref": "#/components/schemas/simple-user" + }, + "created_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "type": "string" + }, + "devcontainer_path": { + "description": "Path to devcontainer.json from repo root used to create Codespace.", + "example": ".devcontainer/example/devcontainer.json", + "nullable": true, + "type": "string" + }, + "display_name": { + "description": "Display name for this codespace.", + "example": "bookish space pancake", + "nullable": true, + "type": "string" + }, + "environment_id": { + "description": "UUID identifying this codespace's environment.", + "example": "26a7c758-7299-4a73-b978-5a92a7ae98a0", + "nullable": true, + "type": "string" + }, + "git_status": { + "description": "Details about the codespace's git repository.", + "properties": { + "ahead": { + "description": "The number of commits the local repository is ahead of the remote.", + "example": 0, + "type": "integer" + }, + "behind": { + "description": "The number of commits the local repository is behind the remote.", + "example": 0, + "type": "integer" + }, + "has_uncommitted_changes": { + "description": "Whether the local repository has uncommitted changes.", + "type": "boolean" + }, + "has_unpushed_changes": { + "description": "Whether the local repository has unpushed changes.", + "type": "boolean" + }, + "ref": { + "description": "The current branch (or SHA if in detached HEAD state) of the local repository.", + "example": "main", + "type": "string" + } + }, + "type": "object" + }, + "id": { + "example": 1, + "type": "integer" + }, + "idle_timeout_minutes": { + "description": "The number of minutes of inactivity after which this codespace will be automatically stopped.", + "example": 60, + "nullable": true, + "type": "integer" + }, + "idle_timeout_notice": { + "description": "Text to show user when codespace idle timeout minutes has been overriden by an organization policy", + "nullable": true, + "type": "string" + }, + "last_used_at": { + "description": "Last known time this codespace was started.", + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "type": "string" + }, + "location": { + "description": "The Azure region where this codespace is located.", + "enum": [ + "EastUs", + "SouthEastAsia", + "WestEurope", + "WestUs2" + ], + "example": "WestUs2", + "type": "string" + }, + "machine": { + "$ref": "#/components/schemas/nullable-codespace-machine" + }, + "machines_url": { + "description": "API URL to access available alternate machine types for this codespace.", + "format": "uri", + "type": "string" + }, + "name": { + "description": "Automatically generated name of this codespace.", + "example": "monalisa-octocat-hello-world-g4wpq6h95q", + "type": "string" + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "pending_operation": { + "description": "Whether or not a codespace has a pending async operation. This would mean that the codespace is temporarily unavailable. The only thing that you can do with a codespace in this state is delete it.", + "nullable": true, + "type": "boolean" + }, + "pending_operation_disabled_reason": { + "description": "Text to show user when codespace is disabled by a pending operation", + "nullable": true, + "type": "string" + }, + "prebuild": { + "description": "Whether the codespace was created from a prebuild.", + "example": false, + "nullable": true, + "type": "boolean" + }, + "publish_url": { + "description": "API URL to publish this codespace to a new repository.", + "format": "uri", + "nullable": true, + "type": "string" + }, + "pulls_url": { + "description": "API URL for the Pull Request associated with this codespace, if any.", + "format": "uri", + "nullable": true, + "type": "string" + }, + "recent_folders": { + "items": { + "type": "string" + }, + "type": "array" + }, + "repository": { + "$ref": "#/components/schemas/full-repository" + }, + "retention_expires_at": { + "description": "When a codespace will be auto-deleted based on the \"retention_period_minutes\" and \"last_used_at\"", + "example": "2011-01-26T20:01:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "retention_period_minutes": { + "description": "Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days).", + "example": 60, + "nullable": true, + "type": "integer" + }, + "runtime_constraints": { + "properties": { + "allowed_port_privacy_settings": { + "description": "The privacy settings a user can select from when forwarding a port.", + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + }, + "start_url": { + "description": "API URL to start this codespace.", + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this codespace.", + "enum": [ + "Unknown", + "Created", + "Queued", + "Provisioning", + "Available", + "Awaiting", + "Unavailable", + "Deleted", + "Moved", + "Shutdown", + "Archived", + "Starting", + "ShuttingDown", + "Failed", + "Exporting", + "Updating", + "Rebuilding" + ], + "example": "Available", + "type": "string" + }, + "stop_url": { + "description": "API URL to stop this codespace.", + "format": "uri", + "type": "string" + }, + "updated_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "type": "string" + }, + "url": { + "description": "API URL for this codespace.", + "format": "uri", + "type": "string" + }, + "web_url": { + "description": "URL to access this codespace on the web.", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "name", + "environment_id", + "owner", + "billable_owner", + "repository", + "machine", + "prebuild", + "created_at", + "updated_at", + "last_used_at", + "state", + "url", + "git_status", + "location", + "idle_timeout_minutes", + "web_url", + "machines_url", + "start_url", + "stop_url", + "pulls_url", + "recent_folders" + ], + "title": "Codespace", + "type": "object" + }, + "codespaces-org-secret": { + "description": "Secrets for a GitHub Codespace.", + "properties": { + "created_at": { + "description": "The date and time at which the secret was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "format": "date-time", + "type": "string" + }, + "name": { + "description": "The name of the secret", + "example": "SECRET_NAME", + "type": "string" + }, + "selected_repositories_url": { + "description": "The API URL at which the list of repositories this secret is visible to can be retrieved", + "example": "https://api.github.com/orgs/ORGANIZATION/codespaces/secrets/SECRET_NAME/repositories", + "format": "uri", + "type": "string" + }, + "updated_at": { + "description": "The date and time at which the secret was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "format": "date-time", + "type": "string" + }, + "visibility": { + "description": "The type of repositories in the organization that the secret is visible to", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + } + }, + "required": [ + "name", + "created_at", + "updated_at", + "visibility" + ], + "title": "Codespaces Secret", + "type": "object" + }, + "codespaces-public-key": { + "description": "The public key used for setting Codespaces secrets.", + "properties": { + "created_at": { + "example": "2011-01-26T19:01:12Z", + "type": "string" + }, + "id": { + "example": 2, + "type": "integer" + }, + "key": { + "description": "The Base64 encoded public key.", + "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=", + "type": "string" + }, + "key_id": { + "description": "The identifier for the key.", + "example": "1234567", + "type": "string" + }, + "title": { + "example": "ssh-rsa AAAAB3NzaC1yc2EAAA", + "type": "string" + }, + "url": { + "example": "https://api.github.com/user/keys/2", + "type": "string" + } + }, + "required": [ + "key_id", + "key" + ], + "title": "CodespacesPublicKey", + "type": "object" + }, + "codespaces-secret": { + "description": "Secrets for a GitHub Codespace.", + "properties": { + "created_at": { + "description": "The date and time at which the secret was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "format": "date-time", + "type": "string" + }, + "name": { + "description": "The name of the secret", + "example": "SECRET_NAME", + "type": "string" + }, + "selected_repositories_url": { + "description": "The API URL at which the list of repositories this secret is visible to can be retrieved", + "example": "https://api.github.com/user/secrets/SECRET_NAME/repositories", + "format": "uri", + "type": "string" + }, + "updated_at": { + "description": "The date and time at which the secret was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "format": "date-time", + "type": "string" + }, + "visibility": { + "description": "The type of repositories in the organization that the secret is visible to", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + } + }, + "required": [ + "name", + "created_at", + "updated_at", + "visibility", + "selected_repositories_url" + ], + "title": "Codespaces Secret", + "type": "object" + }, + "codespaces-user-public-key": { + "description": "The public key used for setting user Codespaces' Secrets.", + "properties": { + "key": { + "description": "The Base64 encoded public key.", + "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=", + "type": "string" + }, + "key_id": { + "description": "The identifier for the key.", + "example": "1234567", + "type": "string" + } + }, + "required": [ + "key_id", + "key" + ], + "title": "CodespacesUserPublicKey", + "type": "object" + }, + "collaborator": { + "description": "Collaborator", + "properties": { + "avatar_url": { + "example": "https://github.com/images/error/octocat_happy.gif", + "format": "uri", + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "example": "https://api.github.com/users/octocat/events{/privacy}", + "type": "string" + }, + "followers_url": { + "example": "https://api.github.com/users/octocat/followers", + "format": "uri", + "type": "string" + }, + "following_url": { + "example": "https://api.github.com/users/octocat/following{/other_user}", + "type": "string" + }, + "gists_url": { + "example": "https://api.github.com/users/octocat/gists{/gist_id}", + "type": "string" + }, + "gravatar_id": { + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true, + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "login": { + "example": "octocat", + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "example": "MDQ6VXNlcjE=", + "type": "string" + }, + "organizations_url": { + "example": "https://api.github.com/users/octocat/orgs", + "format": "uri", + "type": "string" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "received_events_url": { + "example": "https://api.github.com/users/octocat/received_events", + "format": "uri", + "type": "string" + }, + "repos_url": { + "example": "https://api.github.com/users/octocat/repos", + "format": "uri", + "type": "string" + }, + "role_name": { + "example": "admin", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "type": "string" + }, + "subscriptions_url": { + "example": "https://api.github.com/users/octocat/subscriptions", + "format": "uri", + "type": "string" + }, + "type": { + "example": "User", + "type": "string" + }, + "url": { + "example": "https://api.github.com/users/octocat", + "format": "uri", + "type": "string" + } + }, + "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", + "role_name" + ], + "title": "Collaborator", + "type": "object" + }, + "combined-billing-usage": { + "properties": { + "days_left_in_billing_cycle": { + "description": "Numbers of days left in billing cycle.", + "type": "integer" + }, + "estimated_paid_storage_for_month": { + "description": "Estimated storage space (GB) used in billing cycle.", + "type": "integer" + }, + "estimated_storage_for_month": { + "description": "Estimated sum of free and paid storage space (GB) used in billing cycle.", + "type": "integer" + } + }, + "required": [ + "days_left_in_billing_cycle", + "estimated_paid_storage_for_month", + "estimated_storage_for_month" + ], + "type": "object" + }, + "combined-commit-status": { + "description": "Combined Commit Status", + "properties": { + "commit_url": { + "format": "uri", + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/minimal-repository" + }, + "sha": { + "type": "string" + }, + "state": { + "type": "string" + }, + "statuses": { + "items": { + "$ref": "#/components/schemas/simple-commit-status" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "state", + "sha", + "total_count", + "statuses", + "repository", + "commit_url", + "url" + ], + "title": "Combined Commit Status", + "type": "object" + }, + "commit": { + "description": "Commit", + "properties": { + "author": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "comments_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", + "format": "uri", + "type": "string" + }, + "commit": { + "properties": { + "author": { + "$ref": "#/components/schemas/nullable-git-user" + }, + "comment_count": { + "example": 0, + "type": "integer" + }, + "committer": { + "$ref": "#/components/schemas/nullable-git-user" + }, + "message": { + "example": "Fix all the bugs", + "type": "string" + }, + "tree": { + "properties": { + "sha": { + "example": "827efc6d56897b048c772eb4087f854f46256132", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132", + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "url" + ], + "type": "object" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "format": "uri", + "type": "string" + }, + "verification": { + "$ref": "#/components/schemas/verification" + } + }, + "required": [ + "author", + "committer", + "comment_count", + "message", + "tree", + "url" + ], + "type": "object" + }, + "committer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "files": { + "items": { + "$ref": "#/components/schemas/diff-entry" + }, + "type": "array" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "format": "uri", + "type": "string" + }, + "node_id": { + "example": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==", + "type": "string" + }, + "parents": { + "items": { + "properties": { + "html_url": { + "example": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd", + "format": "uri", + "type": "string" + }, + "sha": { + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd", + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "url" + ], + "type": "object" + }, + "type": "array" + }, + "sha": { + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "type": "string" + }, + "stats": { + "properties": { + "additions": { + "type": "integer" + }, + "deletions": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "type": "object" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "sha", + "node_id", + "html_url", + "comments_url", + "commit", + "author", + "committer", + "parents" + ], + "title": "Commit", + "type": "object" + }, + "commit-activity": { + "description": "Commit Activity", + "properties": { + "days": { + "example": [ + 0, + 3, + 26, + 20, + 39, + 1, + 0 + ], + "items": { + "type": "integer" + }, + "type": "array" + }, + "total": { + "example": 89, + "type": "integer" + }, + "week": { + "example": 1336280400, + "type": "integer" + } + }, + "required": [ + "days", + "total", + "week" + ], + "title": "Commit Activity", + "type": "object" + }, + "commit-comment": { + "description": "Commit Comment", + "properties": { + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "body": { + "type": "string" + }, + "commit_id": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "line": { + "nullable": true, + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "path": { + "nullable": true, + "type": "string" + }, + "position": { + "nullable": true, + "type": "integer" + }, + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "url", + "html_url", + "id", + "node_id", + "user", + "position", + "line", + "path", + "commit_id", + "body", + "author_association", + "created_at", + "updated_at" + ], + "title": "Commit Comment", + "type": "object" + }, + "commit-comparison": { + "description": "Commit Comparison", + "properties": { + "ahead_by": { + "example": 4, + "type": "integer" + }, + "base_commit": { + "$ref": "#/components/schemas/commit" + }, + "behind_by": { + "example": 5, + "type": "integer" + }, + "commits": { + "items": { + "$ref": "#/components/schemas/commit" + }, + "type": "array" + }, + "diff_url": { + "example": "https://github.com/octocat/Hello-World/compare/master...topic.diff", + "format": "uri", + "type": "string" + }, + "files": { + "items": { + "$ref": "#/components/schemas/diff-entry" + }, + "type": "array" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World/compare/master...topic", + "format": "uri", + "type": "string" + }, + "merge_base_commit": { + "$ref": "#/components/schemas/commit" + }, + "patch_url": { + "example": "https://github.com/octocat/Hello-World/compare/master...topic.patch", + "format": "uri", + "type": "string" + }, + "permalink_url": { + "example": "https://github.com/octocat/Hello-World/compare/octocat:bbcd538c8e72b8c175046e27cc8f907076331401...octocat:0328041d1152db8ae77652d1618a02e57f745f17", + "format": "uri", + "type": "string" + }, + "status": { + "enum": [ + "diverged", + "ahead", + "behind", + "identical" + ], + "example": "ahead", + "type": "string" + }, + "total_commits": { + "example": 6, + "type": "integer" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/compare/master...topic", + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "permalink_url", + "diff_url", + "patch_url", + "base_commit", + "merge_base_commit", + "status", + "ahead_by", + "behind_by", + "total_commits", + "commits" + ], + "title": "Commit Comparison", + "type": "object" + }, + "commit-search-result-item": { + "description": "Commit Search Result Item", + "properties": { + "author": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commit": { + "properties": { + "author": { + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name", + "email", + "date" + ], + "type": "object" + }, + "comment_count": { + "type": "integer" + }, + "committer": { + "$ref": "#/components/schemas/nullable-git-user" + }, + "message": { + "type": "string" + }, + "tree": { + "properties": { + "sha": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "url" + ], + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + }, + "verification": { + "$ref": "#/components/schemas/verification" + } + }, + "required": [ + "author", + "committer", + "comment_count", + "message", + "tree", + "url" + ], + "type": "object" + }, + "committer": { + "$ref": "#/components/schemas/nullable-git-user" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parents": { + "items": { + "properties": { + "html_url": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "repository": { + "$ref": "#/components/schemas/minimal-repository" + }, + "score": { + "type": "number" + }, + "sha": { + "type": "string" + }, + "text_matches": { + "$ref": "#/components/schemas/search-result-text-matches" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "node_id", + "url", + "html_url", + "author", + "committer", + "parents", + "comments_url", + "commit", + "repository", + "score" + ], + "title": "Commit Search Result Item", + "type": "object" + }, + "community-profile": { + "description": "Community Profile", + "properties": { + "content_reports_enabled": { + "example": true, + "type": "boolean" + }, + "description": { + "example": "My first repository on GitHub!", + "nullable": true, + "type": "string" + }, + "documentation": { + "example": "example.com", + "nullable": true, + "type": "string" + }, + "files": { + "properties": { + "code_of_conduct": { + "$ref": "#/components/schemas/nullable-code-of-conduct-simple" + }, + "code_of_conduct_file": { + "$ref": "#/components/schemas/nullable-community-health-file" + }, + "contributing": { + "$ref": "#/components/schemas/nullable-community-health-file" + }, + "issue_template": { + "$ref": "#/components/schemas/nullable-community-health-file" + }, + "license": { + "$ref": "#/components/schemas/nullable-license-simple" + }, + "pull_request_template": { + "$ref": "#/components/schemas/nullable-community-health-file" + }, + "readme": { + "$ref": "#/components/schemas/nullable-community-health-file" + } + }, + "required": [ + "code_of_conduct", + "code_of_conduct_file", + "license", + "contributing", + "readme", + "issue_template", + "pull_request_template" + ], + "type": "object" + }, + "health_percentage": { + "example": 100, + "type": "integer" + }, + "updated_at": { + "example": "2017-02-28T19:09:29Z", + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "health_percentage", + "description", + "documentation", + "files", + "updated_at" + ], + "title": "Community Profile", + "type": "object" + }, + "content-directory": { + "description": "A list of directory items", + "items": { + "properties": { + "_links": { + "properties": { + "git": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "self": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "git", + "html", + "self" + ], + "type": "object" + }, + "content": { + "type": "string" + }, + "download_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "git_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "type": { + "enum": [ + "dir", + "file", + "submodule", + "symlink" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url" + ], + "type": "object" + }, + "title": "Content Directory", + "type": "array" + }, + "content-file": { + "description": "Content File", + "properties": { + "_links": { + "properties": { + "git": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "self": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "git", + "html", + "self" + ], + "type": "object" + }, + "content": { + "type": "string" + }, + "download_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "encoding": { + "type": "string" + }, + "git_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "submodule_git_url": { + "example": "\"git://example.com/defunkt/dotjs.git\"", + "type": "string" + }, + "target": { + "example": "\"actual/actual.md\"", + "type": "string" + }, + "type": { + "enum": [ + "file" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url", + "content", + "encoding" + ], + "title": "Content File", + "type": "object" + }, + "content-submodule": { + "description": "An object describing a submodule", + "properties": { + "_links": { + "properties": { + "git": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "self": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "git", + "html", + "self" + ], + "type": "object" + }, + "download_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "git_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "submodule_git_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "submodule" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url", + "submodule_git_url" + ], + "title": "Submodule Content", + "type": "object" + }, + "content-symlink": { + "description": "An object describing a symlink", + "properties": { + "_links": { + "properties": { + "git": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "self": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "git", + "html", + "self" + ], + "type": "object" + }, + "download_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "git_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "target": { + "type": "string" + }, + "type": { + "enum": [ + "symlink" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url", + "target" + ], + "title": "Symlink Content", + "type": "object" + }, + "content-traffic": { + "description": "Content Traffic", + "properties": { + "count": { + "example": 3542, + "type": "integer" + }, + "path": { + "example": "/github/hubot", + "type": "string" + }, + "title": { + "example": "github/hubot: A customizable life embetterment robot.", + "type": "string" + }, + "uniques": { + "example": 2225, + "type": "integer" + } + }, + "required": [ + "path", + "title", + "uniques", + "count" + ], + "title": "Content Traffic", + "type": "object" + }, + "content-tree": { + "description": "Content Tree", + "properties": { + "_links": { + "properties": { + "git": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "self": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "git", + "html", + "self" + ], + "type": "object" + }, + "download_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "entries": { + "items": { + "properties": { + "_links": { + "properties": { + "git": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "self": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "git", + "html", + "self" + ], + "type": "object" + }, + "content": { + "type": "string" + }, + "download_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "git_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url" + ], + "type": "object" + }, + "type": "array" + }, + "git_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url", + "content", + "encoding" + ], + "title": "Content Tree", + "type": "object" + }, + "contributor": { + "description": "Contributor", + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "contributions": { + "type": "integer" + }, + "email": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "contributions", + "type" + ], + "title": "Contributor", + "type": "object" + }, + "contributor-activity": { + "description": "Contributor Activity", + "properties": { + "author": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "total": { + "example": 135, + "type": "integer" + }, + "weeks": { + "example": [ + { + "a": 6898, + "c": 10, + "d": 77, + "w": "1367712000" + } + ], + "items": { + "properties": { + "a": { + "type": "integer" + }, + "c": { + "type": "integer" + }, + "d": { + "type": "integer" + }, + "w": { + "type": "integer" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "author", + "total", + "weeks" + ], + "title": "Contributor Activity", + "type": "object" + }, + "converted-note-to-issue-issue-event": { + "description": "Converted Note to Issue Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "project_card": { + "properties": { + "column_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "previous_column_name": { + "type": "string" + }, + "project_id": { + "type": "integer" + }, + "project_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "project_id", + "project_url", + "column_name" + ], + "type": "object" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ], + "title": "Converted Note to Issue Issue Event", + "type": "object" + }, + "demilestoned-issue-event": { + "description": "Demilestoned Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "milestone": { + "properties": { + "title": { + "type": "string" + } + }, + "required": [ + "title" + ], + "type": "object" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "url": { + "type": "string" + } + }, + "required": [ + "milestone", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ], + "title": "Demilestoned Issue Event", + "type": "object" + }, + "dependabot-alert": { + "additionalProperties": false, + "description": "A Dependabot alert.", + "properties": { + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "dependency": { + "description": "Details for the vulnerable dependency.", + "properties": { + "manifest_path": { + "description": "The full path to the dependency manifest file, relative to the root of the repository.", + "readOnly": true, + "type": "string" + }, + "package": { + "$ref": "#/components/schemas/dependabot-alert-package" + }, + "scope": { + "description": "The execution scope of the vulnerable dependency.", + "enum": [ + "development", + "runtime" + ], + "nullable": true, + "readOnly": true, + "type": "string" + } + }, + "readOnly": true, + "type": "object" + }, + "dismissed_at": { + "$ref": "#/components/schemas/alert-dismissed-at" + }, + "dismissed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "dismissed_comment": { + "description": "An optional comment associated with the alert's dismissal.", + "maxLength": 280, + "nullable": true, + "type": "string" + }, + "dismissed_reason": { + "description": "The reason that the alert was dismissed.", + "enum": [ + "fix_started", + "inaccurate", + "no_bandwidth", + "not_used", + "tolerable_risk" + ], + "nullable": true, + "type": "string" + }, + "fixed_at": { + "$ref": "#/components/schemas/alert-fixed-at" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "security_advisory": { + "$ref": "#/components/schemas/dependabot-alert-security-advisory" + }, + "security_vulnerability": { + "$ref": "#/components/schemas/dependabot-alert-security-vulnerability" + }, + "state": { + "description": "The state of the Dependabot alert.", + "enum": [ + "dismissed", + "fixed", + "open" + ], + "readOnly": true, + "type": "string" + }, + "updated_at": { + "$ref": "#/components/schemas/alert-updated-at" + }, + "url": { + "$ref": "#/components/schemas/alert-url" + } + }, + "required": [ + "number", + "state", + "dependency", + "security_advisory", + "security_vulnerability", + "url", + "html_url", + "created_at", + "updated_at", + "dismissed_at", + "dismissed_by", + "dismissed_reason", + "dismissed_comment", + "fixed_at" + ], + "type": "object" + }, + "dependabot-alert-package": { + "additionalProperties": false, + "description": "Details for the vulnerable package.", + "properties": { + "ecosystem": { + "description": "The package's language or package management ecosystem.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "The unique package name within its ecosystem.", + "readOnly": true, + "type": "string" + } + }, + "readOnly": true, + "required": [ + "ecosystem", + "name" + ], + "type": "object" + }, + "dependabot-alert-security-advisory": { + "additionalProperties": false, + "description": "Details for the GitHub Security Advisory.", + "properties": { + "cve_id": { + "description": "The unique CVE ID assigned to the advisory.", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "cvss": { + "additionalProperties": false, + "description": "Details for the advisory pertaining to the Common Vulnerability Scoring System.", + "properties": { + "score": { + "description": "The overall CVSS score of the advisory.", + "maximum": 10, + "minimum": 0, + "readOnly": true, + "type": "number" + }, + "vector_string": { + "description": "The full CVSS vector string for the advisory.", + "nullable": true, + "readOnly": true, + "type": "string" + } + }, + "readOnly": true, + "required": [ + "score", + "vector_string" + ], + "type": "object" + }, + "cwes": { + "description": "Details for the advisory pertaining to Common Weakness Enumeration.", + "items": { + "additionalProperties": false, + "description": "A CWE weakness assigned to the advisory.", + "properties": { + "cwe_id": { + "description": "The unique CWE ID.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "The short, plain text name of the CWE.", + "readOnly": true, + "type": "string" + } + }, + "readOnly": true, + "required": [ + "cwe_id", + "name" + ], + "type": "object" + }, + "readOnly": true, + "type": "array" + }, + "description": { + "description": "A long-form Markdown-supported description of the advisory.", + "readOnly": true, + "type": "string" + }, + "ghsa_id": { + "description": "The unique GitHub Security Advisory ID assigned to the advisory.", + "readOnly": true, + "type": "string" + }, + "identifiers": { + "description": "Values that identify this advisory among security information sources.", + "items": { + "additionalProperties": false, + "description": "An advisory identifier.", + "properties": { + "type": { + "description": "The type of advisory identifier.", + "enum": [ + "CVE", + "GHSA" + ], + "readOnly": true, + "type": "string" + }, + "value": { + "description": "The value of the advisory identifer.", + "readOnly": true, + "type": "string" + } + }, + "readOnly": true, + "required": [ + "value", + "type" + ], + "type": "object" + }, + "readOnly": true, + "type": "array" + }, + "published_at": { + "description": "The time that the advisory was published in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true, + "type": "string" + }, + "references": { + "description": "Links to additional advisory information.", + "items": { + "additionalProperties": false, + "description": "A link to additional advisory information.", + "properties": { + "url": { + "description": "The URL of the reference.", + "format": "uri", + "readOnly": true, + "type": "string" + } + }, + "readOnly": true, + "required": [ + "url" + ], + "type": "object" + }, + "readOnly": true, + "type": "array" + }, + "severity": { + "description": "The severity of the advisory.", + "enum": [ + "low", + "medium", + "high", + "critical" + ], + "readOnly": true, + "type": "string" + }, + "summary": { + "description": "A short, plain text summary of the advisory.", + "maxLength": 1024, + "readOnly": true, + "type": "string" + }, + "updated_at": { + "description": "The time that the advisory was last modified in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true, + "type": "string" + }, + "vulnerabilities": { + "description": "Vulnerable version range information for the advisory.", + "items": { + "$ref": "#/components/schemas/dependabot-alert-security-vulnerability" + }, + "readOnly": true, + "type": "array" + }, + "withdrawn_at": { + "description": "The time that the advisory was withdrawn in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "nullable": true, + "readOnly": true, + "type": "string" + } + }, + "readOnly": true, + "required": [ + "ghsa_id", + "cve_id", + "summary", + "description", + "vulnerabilities", + "severity", + "cvss", + "cwes", + "identifiers", + "references", + "published_at", + "updated_at", + "withdrawn_at" + ], + "type": "object" + }, + "dependabot-alert-security-vulnerability": { + "additionalProperties": false, + "description": "Details pertaining to one vulnerable version range for the advisory.", + "properties": { + "first_patched_version": { + "additionalProperties": false, + "description": "Details pertaining to the package version that patches this vulnerability.", + "nullable": true, + "properties": { + "identifier": { + "description": "The package version that patches this vulnerability.", + "readOnly": true, + "type": "string" + } + }, + "readOnly": true, + "required": [ + "identifier" + ], + "type": "object" + }, + "package": { + "$ref": "#/components/schemas/dependabot-alert-package" + }, + "severity": { + "description": "The severity of the vulnerability.", + "enum": [ + "low", + "medium", + "high", + "critical" + ], + "readOnly": true, + "type": "string" + }, + "vulnerable_version_range": { + "description": "Conditions that identify vulnerable versions of this vulnerability's package.", + "readOnly": true, + "type": "string" + } + }, + "readOnly": true, + "required": [ + "package", + "severity", + "vulnerable_version_range", + "first_patched_version" + ], + "type": "object" + }, + "dependabot-alert-with-repository": { + "additionalProperties": false, + "description": "A Dependabot alert.", + "properties": { + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "dependency": { + "description": "Details for the vulnerable dependency.", + "properties": { + "manifest_path": { + "description": "The full path to the dependency manifest file, relative to the root of the repository.", + "readOnly": true, + "type": "string" + }, + "package": { + "$ref": "#/components/schemas/dependabot-alert-package" + }, + "scope": { + "description": "The execution scope of the vulnerable dependency.", + "enum": [ + "development", + "runtime" + ], + "nullable": true, + "readOnly": true, + "type": "string" + } + }, + "readOnly": true, + "type": "object" + }, + "dismissed_at": { + "$ref": "#/components/schemas/alert-dismissed-at" + }, + "dismissed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "dismissed_comment": { + "description": "An optional comment associated with the alert's dismissal.", + "maxLength": 280, + "nullable": true, + "type": "string" + }, + "dismissed_reason": { + "description": "The reason that the alert was dismissed.", + "enum": [ + "fix_started", + "inaccurate", + "no_bandwidth", + "not_used", + "tolerable_risk" + ], + "nullable": true, + "type": "string" + }, + "fixed_at": { + "$ref": "#/components/schemas/alert-fixed-at" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "security_advisory": { + "$ref": "#/components/schemas/dependabot-alert-security-advisory" + }, + "security_vulnerability": { + "$ref": "#/components/schemas/dependabot-alert-security-vulnerability" + }, + "state": { + "description": "The state of the Dependabot alert.", + "enum": [ + "dismissed", + "fixed", + "open" + ], + "readOnly": true, + "type": "string" + }, + "updated_at": { + "$ref": "#/components/schemas/alert-updated-at" + }, + "url": { + "$ref": "#/components/schemas/alert-url" + } + }, + "required": [ + "number", + "state", + "dependency", + "security_advisory", + "security_vulnerability", + "url", + "html_url", + "created_at", + "updated_at", + "dismissed_at", + "dismissed_by", + "dismissed_reason", + "dismissed_comment", + "fixed_at", + "repository" + ], + "type": "object" + }, + "dependabot-public-key": { + "description": "The public key used for setting Dependabot Secrets.", + "properties": { + "key": { + "description": "The Base64 encoded public key.", + "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=", + "type": "string" + }, + "key_id": { + "description": "The identifier for the key.", + "example": "1234567", + "type": "string" + } + }, + "required": [ + "key_id", + "key" + ], + "title": "DependabotPublicKey", + "type": "object" + }, + "dependabot-secret": { + "description": "Set secrets for Dependabot.", + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "description": "The name of the secret.", + "example": "MY_ARTIFACTORY_PASSWORD", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ], + "title": "Dependabot Secret", + "type": "object" + }, + "dependency": { + "additionalProperties": false, + "properties": { + "dependencies": { + "description": "Array of package-url (PURLs) of direct child dependencies.", + "example": "@actions/http-client", + "items": { + "type": "string" + }, + "type": "array" + }, + "metadata": { + "$ref": "#/components/schemas/metadata" + }, + "package_url": { + "description": "Package-url (PURL) of dependency. See https://github.com/package-url/purl-spec for more details.", + "example": "pkg:/npm/%40actions/http-client@1.0.11", + "pattern": "^pkg", + "type": "string" + }, + "relationship": { + "description": "A notation of whether a dependency is requested directly by this manifest or is a dependency of another dependency.", + "enum": [ + "direct", + "indirect" + ], + "example": "direct", + "type": "string" + }, + "scope": { + "description": "A notation of whether the dependency is required for the primary build artifact (runtime) or is only used for development. Future versions of this specification may allow for more granular scopes.", + "enum": [ + "runtime", + "development" + ], + "example": "runtime", + "type": "string" + } + }, + "type": "object" + }, + "dependency-graph-diff": { + "description": "A diff of the dependencies between two commits.", + "items": { + "properties": { + "change_type": { + "enum": [ + "added", + "removed" + ], + "type": "string" + }, + "ecosystem": { + "example": "npm", + "type": "string" + }, + "license": { + "example": "MIT", + "nullable": true, + "type": "string" + }, + "manifest": { + "example": "path/to/package-lock.json", + "type": "string" + }, + "name": { + "example": "@actions/core", + "type": "string" + }, + "package_url": { + "example": "pkg:/npm/%40actions/core@1.1.0", + "nullable": true, + "type": "string" + }, + "scope": { + "description": "Where the dependency is utilized. `development` means that the dependency is only utilized in the development environment. `runtime` means that the dependency is utilized at runtime and in the development environment.", + "enum": [ + "unknown", + "runtime", + "development" + ], + "type": "string" + }, + "source_repository_url": { + "example": "https://github.com/github/actions", + "nullable": true, + "type": "string" + }, + "version": { + "example": "1.0.0", + "type": "string" + }, + "vulnerabilities": { + "items": { + "properties": { + "advisory_ghsa_id": { + "example": "GHSA-rf4j-j272-fj86", + "type": "string" + }, + "advisory_summary": { + "example": "A summary of the advisory.", + "type": "string" + }, + "advisory_url": { + "example": "https://github.com/advisories/GHSA-rf4j-j272-fj86", + "type": "string" + }, + "severity": { + "example": "critical", + "type": "string" + } + }, + "required": [ + "severity", + "advisory_ghsa_id", + "advisory_summary", + "advisory_url" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "change_type", + "manifest", + "ecosystem", + "name", + "version", + "package_url", + "license", + "source_repository_url", + "vulnerabilities", + "scope" + ], + "type": "object" + }, + "title": "Dependency Graph Diff", + "type": "array" + }, + "deploy-key": { + "description": "An SSH key granting access to a single repository.", + "properties": { + "added_by": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "key": { + "type": "string" + }, + "last_used": { + "nullable": true, + "type": "string" + }, + "read_only": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "required": [ + "id", + "key", + "url", + "title", + "verified", + "created_at", + "read_only" + ], + "title": "Deploy Key", + "type": "object" + }, + "deployment": { + "description": "A request for a specific ref(branch,sha,tag) to be deployed", + "properties": { + "created_at": { + "example": "2012-07-20T01:19:13Z", + "format": "date-time", + "type": "string" + }, + "creator": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "description": { + "example": "Deploy request from hubot", + "nullable": true, + "type": "string" + }, + "environment": { + "description": "Name for the target deployment environment.", + "example": "production", + "type": "string" + }, + "id": { + "description": "Unique identifier of the deployment", + "example": 42, + "type": "integer" + }, + "node_id": { + "example": "MDEwOkRlcGxveW1lbnQx", + "type": "string" + }, + "original_environment": { + "example": "staging", + "type": "string" + }, + "payload": { + "oneOf": [ + { + "additionalProperties": true, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "production_environment": { + "description": "Specifies if the given environment is one that end-users directly interact with. Default: false.", + "example": true, + "type": "boolean" + }, + "ref": { + "description": "The ref to deploy. This can be a branch, tag, or sha.", + "example": "topic-branch", + "type": "string" + }, + "repository_url": { + "example": "https://api.github.com/repos/octocat/example", + "format": "uri", + "type": "string" + }, + "sha": { + "example": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", + "type": "string" + }, + "statuses_url": { + "example": "https://api.github.com/repos/octocat/example/deployments/1/statuses", + "format": "uri", + "type": "string" + }, + "task": { + "description": "Parameter to specify a task to execute", + "example": "deploy", + "type": "string" + }, + "transient_environment": { + "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.", + "example": true, + "type": "boolean" + }, + "updated_at": { + "example": "2012-07-20T01:19:13Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/example/deployments/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "sha", + "ref", + "task", + "environment", + "creator", + "payload", + "description", + "statuses_url", + "repository_url", + "url", + "created_at", + "updated_at" + ], + "title": "Deployment", + "type": "object" + }, + "deployment-branch-policy": { + "description": "Details of a deployment branch policy.", + "properties": { + "id": { + "description": "The unique identifier of the branch policy.", + "example": 361471, + "type": "integer" + }, + "name": { + "description": "The name pattern that branches must match in order to deploy to the environment.", + "example": "release/*", + "type": "string" + }, + "node_id": { + "example": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjE0NzE=", + "type": "string" + } + }, + "title": "Deployment branch policy", + "type": "object" + }, + "deployment-branch-policy-name-pattern": { + "properties": { + "name": { + "description": "The name pattern that branches must match in order to deploy to the environment.\n\nWildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`.\nFor more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).", + "example": "release/*", + "type": "string" + } + }, + "required": [ + "name" + ], + "title": "Deployment branch policy name pattern", + "type": "object" + }, + "deployment-branch-policy-settings": { + "description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.", + "nullable": true, + "properties": { + "custom_branch_policies": { + "description": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`.", + "type": "boolean" + }, + "protected_branches": { + "description": "Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`.", + "type": "boolean" + } + }, + "required": [ + "protected_branches", + "custom_branch_policies" + ], + "type": "object" + }, + "deployment-reviewer-type": { + "description": "The type of reviewer.", + "enum": [ + "User", + "Team" + ], + "example": "User", + "type": "string" + }, + "deployment-simple": { + "description": "A deployment created as the result of an Actions check run from a workflow that references an environment", + "properties": { + "created_at": { + "example": "2012-07-20T01:19:13Z", + "format": "date-time", + "type": "string" + }, + "description": { + "example": "Deploy request from hubot", + "nullable": true, + "type": "string" + }, + "environment": { + "description": "Name for the target deployment environment.", + "example": "production", + "type": "string" + }, + "id": { + "description": "Unique identifier of the deployment", + "example": 42, + "type": "integer" + }, + "node_id": { + "example": "MDEwOkRlcGxveW1lbnQx", + "type": "string" + }, + "original_environment": { + "example": "staging", + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "production_environment": { + "description": "Specifies if the given environment is one that end-users directly interact with. Default: false.", + "example": true, + "type": "boolean" + }, + "repository_url": { + "example": "https://api.github.com/repos/octocat/example", + "format": "uri", + "type": "string" + }, + "statuses_url": { + "example": "https://api.github.com/repos/octocat/example/deployments/1/statuses", + "format": "uri", + "type": "string" + }, + "task": { + "description": "Parameter to specify a task to execute", + "example": "deploy", + "type": "string" + }, + "transient_environment": { + "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.", + "example": true, + "type": "boolean" + }, + "updated_at": { + "example": "2012-07-20T01:19:13Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/example/deployments/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "task", + "environment", + "description", + "statuses_url", + "repository_url", + "url", + "created_at", + "updated_at" + ], + "title": "Deployment", + "type": "object" + }, + "deployment-status": { + "description": "The status of a deployment.", + "properties": { + "created_at": { + "example": "2012-07-20T01:19:13Z", + "format": "date-time", + "type": "string" + }, + "creator": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "deployment_url": { + "example": "https://api.github.com/repos/octocat/example/deployments/42", + "format": "uri", + "type": "string" + }, + "description": { + "default": "", + "description": "A short description of the status.", + "example": "Deployment finished successfully.", + "maxLength": 140, + "type": "string" + }, + "environment": { + "default": "", + "description": "The environment of the deployment that the status is for.", + "example": "production", + "type": "string" + }, + "environment_url": { + "default": "", + "description": "The URL for accessing your environment.", + "example": "https://staging.example.com/", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "log_url": { + "default": "", + "description": "The URL to associate with this status.", + "example": "https://example.com/deployment/42/output", + "format": "uri", + "type": "string" + }, + "node_id": { + "example": "MDE2OkRlcGxveW1lbnRTdGF0dXMx", + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "repository_url": { + "example": "https://api.github.com/repos/octocat/example", + "format": "uri", + "type": "string" + }, + "state": { + "description": "The state of the status.", + "enum": [ + "error", + "failure", + "inactive", + "pending", + "success", + "queued", + "in_progress" + ], + "example": "success", + "type": "string" + }, + "target_url": { + "default": "", + "description": "Deprecated: the URL to associate with this status.", + "example": "https://example.com/deployment/42/output", + "format": "uri", + "type": "string" + }, + "updated_at": { + "example": "2012-07-20T01:19:13Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "state", + "creator", + "description", + "deployment_url", + "target_url", + "repository_url", + "url", + "created_at", + "updated_at" + ], + "title": "Deployment Status", + "type": "object" + }, + "diff-entry": { + "description": "Diff Entry", + "properties": { + "additions": { + "example": 103, + "type": "integer" + }, + "blob_url": { + "example": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt", + "format": "uri", + "type": "string" + }, + "changes": { + "example": 124, + "type": "integer" + }, + "contents_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "format": "uri", + "type": "string" + }, + "deletions": { + "example": 21, + "type": "integer" + }, + "filename": { + "example": "file1.txt", + "type": "string" + }, + "patch": { + "example": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test", + "type": "string" + }, + "previous_filename": { + "example": "file.txt", + "type": "string" + }, + "raw_url": { + "example": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt", + "format": "uri", + "type": "string" + }, + "sha": { + "example": "bbcd538c8e72b8c175046e27cc8f907076331401", + "type": "string" + }, + "status": { + "enum": [ + "added", + "removed", + "modified", + "renamed", + "copied", + "changed", + "unchanged" + ], + "example": "added", + "type": "string" + } + }, + "required": [ + "additions", + "blob_url", + "changes", + "contents_url", + "deletions", + "filename", + "raw_url", + "sha", + "status" + ], + "title": "Diff Entry", + "type": "object" + }, + "discussion": { + "description": "A Discussion in a repository.", + "properties": { + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "answer_chosen_at": { + "nullable": true, + "type": "string" + }, + "answer_chosen_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "answer_html_url": { + "nullable": true, + "type": "string" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "type": "string" + }, + "category": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_answerable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "repository_id": { + "type": "integer" + }, + "slug": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "id", + "repository_id", + "emoji", + "name", + "description", + "created_at", + "updated_at", + "slug", + "is_answerable" + ], + "type": "object" + }, + "comments": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "locked": { + "type": "boolean" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "state": { + "description": "The current state of the discussion.\n`converting` means that the discussion is being converted from an issue.\n`transferring` means that the discussion is being transferred from another repository.", + "enum": [ + "open", + "locked", + "converting", + "transferring" + ], + "type": "string" + }, + "timeline_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "repository_url", + "category", + "answer_html_url", + "answer_chosen_at", + "answer_chosen_by", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "state", + "locked", + "comments", + "created_at", + "updated_at", + "author_association", + "active_lock_reason", + "body" + ], + "title": "Discussion", + "type": "object" + }, + "email": { + "description": "Email", + "properties": { + "email": { + "example": "octocat@github.com", + "format": "email", + "type": "string" + }, + "primary": { + "example": true, + "type": "boolean" + }, + "verified": { + "example": true, + "type": "boolean" + }, + "visibility": { + "example": "public", + "nullable": true, + "type": "string" + } + }, + "required": [ + "email", + "primary", + "verified", + "visibility" + ], + "title": "Email", + "type": "object" + }, + "empty-object": { + "additionalProperties": false, + "description": "An object without any properties.", + "properties": {}, + "title": "Empty Object", + "type": "object" + }, + "enabled-repositories": { + "description": "The policy that controls the repositories in the organization that are allowed to run GitHub Actions.", + "enum": [ + "all", + "none", + "selected" + ], + "type": "string" + }, + "enterprise": { + "description": "An enterprise on GitHub.", + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "example": "2019-01-26T19:01:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "description": "A short description of the enterprise.", + "nullable": true, + "type": "string" + }, + "html_url": { + "example": "https://github.com/enterprises/octo-business", + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "name": { + "description": "The name of the enterprise.", + "example": "Octo Business", + "type": "string" + }, + "node_id": { + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "type": "string" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "example": "octo-business", + "type": "string" + }, + "updated_at": { + "example": "2019-01-26T19:14:43Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "website_url": { + "description": "The enterprise's website URL.", + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ], + "title": "Enterprise", + "type": "object" + }, + "environment": { + "description": "Details of a deployment environment", + "properties": { + "created_at": { + "description": "The time that the environment was created, in ISO 8601 format.", + "example": "2020-11-23T22:00:40Z", + "format": "date-time", + "type": "string" + }, + "deployment_branch_policy": { + "$ref": "#/components/schemas/deployment-branch-policy-settings" + }, + "html_url": { + "example": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging", + "type": "string" + }, + "id": { + "description": "The id of the environment.", + "example": 56780428, + "type": "integer" + }, + "name": { + "description": "The name of the environment.", + "example": "staging", + "type": "string" + }, + "node_id": { + "example": "MDExOkVudmlyb25tZW50NTY3ODA0Mjg=", + "type": "string" + }, + "protection_rules": { + "items": { + "anyOf": [ + { + "properties": { + "id": { + "example": 3515, + "type": "integer" + }, + "node_id": { + "example": "MDQ6R2F0ZTM1MTU=", + "type": "string" + }, + "type": { + "example": "wait_timer", + "type": "string" + }, + "wait_timer": { + "$ref": "#/components/schemas/wait-timer" + } + }, + "required": [ + "id", + "node_id", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "example": 3755, + "type": "integer" + }, + "node_id": { + "example": "MDQ6R2F0ZTM3NTU=", + "type": "string" + }, + "reviewers": { + "description": "The people or teams that may approve jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.", + "items": { + "properties": { + "reviewer": { + "anyOf": [ + { + "$ref": "#/components/schemas/simple-user" + }, + { + "$ref": "#/components/schemas/team" + } + ] + }, + "type": { + "$ref": "#/components/schemas/deployment-reviewer-type" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": { + "example": "required_reviewers", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "example": 3515, + "type": "integer" + }, + "node_id": { + "example": "MDQ6R2F0ZTM1MTU=", + "type": "string" + }, + "type": { + "example": "branch_policy", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "type" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "updated_at": { + "description": "The time that the environment was last updated, in ISO 8601 format.", + "example": "2020-11-23T22:00:40Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/github/hello-world/environments/staging", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "name", + "url", + "html_url", + "created_at", + "updated_at" + ], + "title": "Environment", + "type": "object" + }, + "environment-approvals": { + "description": "An entry in the reviews log for environment deployments", + "properties": { + "comment": { + "description": "The comment submitted with the deployment review", + "example": "Ship it!", + "type": "string" + }, + "environments": { + "description": "The list of environments that were approved or rejected", + "items": { + "properties": { + "created_at": { + "description": "The time that the environment was created, in ISO 8601 format.", + "example": "2020-11-23T22:00:40Z", + "format": "date-time", + "type": "string" + }, + "html_url": { + "example": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging", + "type": "string" + }, + "id": { + "description": "The id of the environment.", + "example": 56780428, + "type": "integer" + }, + "name": { + "description": "The name of the environment.", + "example": "staging", + "type": "string" + }, + "node_id": { + "example": "MDExOkVudmlyb25tZW50NTY3ODA0Mjg=", + "type": "string" + }, + "updated_at": { + "description": "The time that the environment was last updated, in ISO 8601 format.", + "example": "2020-11-23T22:00:40Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/github/hello-world/environments/staging", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "state": { + "description": "Whether deployment to the environment(s) was approved or rejected or pending (with comments)", + "enum": [ + "approved", + "rejected", + "pending" + ], + "example": "approved", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "environments", + "state", + "user", + "comment" + ], + "title": "Environment Approval", + "type": "object" + }, + "event": { + "description": "Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/actor" + }, + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "id": { + "type": "string" + }, + "org": { + "$ref": "#/components/schemas/actor" + }, + "payload": { + "properties": { + "action": { + "type": "string" + }, + "comment": { + "$ref": "#/components/schemas/issue-comment" + }, + "issue": { + "$ref": "#/components/schemas/issue" + }, + "pages": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "page_name": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "summary": { + "nullable": true, + "type": "string" + }, + "title": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "public": { + "type": "boolean" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "name", + "url" + ], + "type": "object" + }, + "type": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "type", + "actor", + "repo", + "payload", + "public", + "created_at" + ], + "title": "Event", + "type": "object" + }, + "feed": { + "description": "Feed", + "properties": { + "_links": { + "properties": { + "current_user": { + "$ref": "#/components/schemas/link-with-type" + }, + "current_user_actor": { + "$ref": "#/components/schemas/link-with-type" + }, + "current_user_organization": { + "$ref": "#/components/schemas/link-with-type" + }, + "current_user_organizations": { + "items": { + "$ref": "#/components/schemas/link-with-type" + }, + "type": "array" + }, + "current_user_public": { + "$ref": "#/components/schemas/link-with-type" + }, + "repository_discussions": { + "$ref": "#/components/schemas/link-with-type" + }, + "repository_discussions_category": { + "$ref": "#/components/schemas/link-with-type" + }, + "security_advisories": { + "$ref": "#/components/schemas/link-with-type" + }, + "timeline": { + "$ref": "#/components/schemas/link-with-type" + }, + "user": { + "$ref": "#/components/schemas/link-with-type" + } + }, + "required": [ + "timeline", + "user" + ], + "type": "object" + }, + "current_user_actor_url": { + "example": "https://github.com/octocat.private.actor?token=abc123", + "type": "string" + }, + "current_user_organization_url": { + "example": "https://github.com/octocat-org", + "type": "string" + }, + "current_user_organization_urls": { + "example": [ + "https://github.com/organizations/github/octocat.private.atom?token=abc123" + ], + "items": { + "format": "uri", + "type": "string" + }, + "type": "array" + }, + "current_user_public_url": { + "example": "https://github.com/octocat", + "type": "string" + }, + "current_user_url": { + "example": "https://github.com/octocat.private?token=abc123", + "type": "string" + }, + "repository_discussions_category_url": { + "description": "A feed of discussions for a given repository and category.", + "example": "https://github.com/{user}/{repo}/discussions/categories/{category}", + "type": "string" + }, + "repository_discussions_url": { + "description": "A feed of discussions for a given repository.", + "example": "https://github.com/{user}/{repo}/discussions", + "type": "string" + }, + "security_advisories_url": { + "example": "https://github.com/security-advisories", + "type": "string" + }, + "timeline_url": { + "example": "https://github.com/timeline", + "type": "string" + }, + "user_url": { + "example": "https://github.com/{user}", + "type": "string" + } + }, + "required": [ + "_links", + "timeline_url", + "user_url" + ], + "title": "Feed", + "type": "object" + }, + "file-commit": { + "description": "File Commit", + "properties": { + "commit": { + "properties": { + "author": { + "properties": { + "date": { + "type": "string" + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "committer": { + "properties": { + "date": { + "type": "string" + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "html_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parents": { + "items": { + "properties": { + "html_url": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "sha": { + "type": "string" + }, + "tree": { + "properties": { + "sha": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "url": { + "type": "string" + }, + "verification": { + "properties": { + "payload": { + "nullable": true, + "type": "string" + }, + "reason": { + "type": "string" + }, + "signature": { + "nullable": true, + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "content": { + "nullable": true, + "properties": { + "_links": { + "properties": { + "git": { + "type": "string" + }, + "html": { + "type": "string" + }, + "self": { + "type": "string" + } + }, + "type": "object" + }, + "download_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "content", + "commit" + ], + "title": "File Commit", + "type": "object" + }, + "full-repository": { + "description": "Full Repository", + "properties": { + "allow_auto_merge": { + "example": false, + "type": "boolean" + }, + "allow_forking": { + "example": true, + "type": "boolean" + }, + "allow_merge_commit": { + "example": true, + "type": "boolean" + }, + "allow_rebase_merge": { + "example": true, + "type": "boolean" + }, + "allow_squash_merge": { + "example": true, + "type": "boolean" + }, + "allow_update_branch": { + "example": true, + "type": "boolean" + }, + "anonymous_access_enabled": { + "default": true, + "description": "Whether anonymous git access is allowed.", + "type": "boolean" + }, + "archive_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "type": "string" + }, + "blobs_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "type": "string" + }, + "branches_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "type": "string" + }, + "clone_url": { + "example": "https://github.com/octocat/Hello-World.git", + "type": "string" + }, + "code_of_conduct": { + "$ref": "#/components/schemas/code-of-conduct-simple" + }, + "collaborators_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "type": "string" + }, + "comments_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}", + "type": "string" + }, + "commits_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "type": "string" + }, + "compare_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "type": "string" + }, + "contents_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "type": "string" + }, + "contributors_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/contributors", + "format": "uri", + "type": "string" + }, + "created_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "type": "string" + }, + "default_branch": { + "example": "master", + "type": "string" + }, + "delete_branch_on_merge": { + "example": false, + "type": "boolean" + }, + "deployments_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/deployments", + "format": "uri", + "type": "string" + }, + "description": { + "example": "This your first repo!", + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository disabled.", + "type": "boolean" + }, + "downloads_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/downloads", + "format": "uri", + "type": "string" + }, + "events_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/events", + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "example": 9, + "type": "integer" + }, + "forks_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/forks", + "format": "uri", + "type": "string" + }, + "full_name": { + "example": "octocat/Hello-World", + "type": "string" + }, + "git_commits_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "type": "string" + }, + "git_refs_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "type": "string" + }, + "git_tags_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "type": "string" + }, + "git_url": { + "example": "git:github.com/octocat/Hello-World.git", + "type": "string" + }, + "has_discussions": { + "example": true, + "type": "boolean" + }, + "has_downloads": { + "example": true, + "type": "boolean" + }, + "has_issues": { + "example": true, + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "example": true, + "type": "boolean" + }, + "has_wiki": { + "example": true, + "type": "boolean" + }, + "homepage": { + "example": "https://github.com", + "format": "uri", + "nullable": true, + "type": "string" + }, + "hooks_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/hooks", + "format": "uri", + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1296269, + "type": "integer" + }, + "is_template": { + "example": true, + "type": "boolean" + }, + "issue_comment_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "type": "string" + }, + "issue_events_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "type": "string" + }, + "issues_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}", + "type": "string" + }, + "keys_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "type": "string" + }, + "labels_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/languages", + "format": "uri", + "type": "string" + }, + "license": { + "$ref": "#/components/schemas/nullable-license-simple" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "example": "PR_BODY", + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n - `PR_TITLE` - default to the pull request's title.\n - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "example": "PR_TITLE", + "type": "string" + }, + "merges_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/merges", + "format": "uri", + "type": "string" + }, + "milestones_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "type": "string" + }, + "mirror_url": { + "example": "git:git.example.com/octocat/Hello-World", + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "example": "Hello-World", + "type": "string" + }, + "network_count": { + "example": 0, + "type": "integer" + }, + "node_id": { + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "type": "string" + }, + "notifications_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "example": 0, + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "parent": { + "$ref": "#/components/schemas/repository" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ], + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "type": "string" + }, + "pushed_at": { + "example": "2011-01-26T19:06:43Z", + "format": "date-time", + "type": "string" + }, + "releases_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}", + "type": "string" + }, + "security_and_analysis": { + "$ref": "#/components/schemas/security-and-analysis" + }, + "size": { + "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", + "example": 108, + "type": "integer" + }, + "source": { + "$ref": "#/components/schemas/repository" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "example": "PR_BODY", + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "example": "PR_TITLE", + "type": "string" + }, + "ssh_url": { + "example": "git@github.com:octocat/Hello-World.git", + "type": "string" + }, + "stargazers_count": { + "example": 80, + "type": "integer" + }, + "stargazers_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers", + "format": "uri", + "type": "string" + }, + "statuses_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "type": "string" + }, + "subscribers_count": { + "example": 42, + "type": "integer" + }, + "subscribers_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers", + "format": "uri", + "type": "string" + }, + "subscription_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/subscription", + "format": "uri", + "type": "string" + }, + "svn_url": { + "example": "https://svn.github.com/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "tags_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/tags", + "format": "uri", + "type": "string" + }, + "teams_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/teams", + "format": "uri", + "type": "string" + }, + "temp_clone_token": { + "nullable": true, + "type": "string" + }, + "template_repository": { + "$ref": "#/components/schemas/nullable-repository" + }, + "topics": { + "example": [ + "octocat", + "atom", + "electron", + "API" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "type": "string" + }, + "updated_at": { + "example": "2011-01-26T19:14:43Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "example": false, + "type": "boolean" + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "example": "public", + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "example": 80, + "type": "integer" + }, + "web_commit_signoff_required": { + "example": false, + "type": "boolean" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "has_discussions", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at", + "network_count", + "subscribers_count" + ], + "title": "Full Repository", + "type": "object" + }, + "gist-comment": { + "description": "A comment made to a gist.", + "properties": { + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "body": { + "description": "The comment text.", + "example": "Body of the attachment", + "maxLength": 65535, + "type": "string" + }, + "created_at": { + "example": "2011-04-18T23:23:56Z", + "format": "date-time", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "node_id": { + "example": "MDExOkdpc3RDb21tZW50MQ==", + "type": "string" + }, + "updated_at": { + "example": "2011-04-18T23:23:56Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1", + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "url", + "id", + "node_id", + "user", + "body", + "author_association", + "created_at", + "updated_at" + ], + "title": "Gist Comment", + "type": "object" + }, + "gist-commit": { + "description": "Gist Commit", + "properties": { + "change_status": { + "properties": { + "additions": { + "type": "integer" + }, + "deletions": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "type": "object" + }, + "committed_at": { + "example": "2010-04-14T02:15:15Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f", + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "version": { + "example": "57a7f021a713b1c5a6a199b54cc514735d2d462f", + "type": "string" + } + }, + "required": [ + "url", + "user", + "version", + "committed_at", + "change_status" + ], + "title": "Gist Commit", + "type": "object" + }, + "gist-history": { + "description": "Gist History", + "properties": { + "change_status": { + "properties": { + "additions": { + "type": "integer" + }, + "deletions": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "type": "object" + }, + "committed_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "version": { + "type": "string" + } + }, + "title": "Gist History", + "type": "object" + }, + "gist-simple": { + "description": "Gist Simple", + "properties": { + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "files": { + "additionalProperties": { + "nullable": true, + "properties": { + "content": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "language": { + "type": "string" + }, + "raw_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "truncated": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "type": "object" + }, + "fork_of": { + "description": "Gist", + "nullable": true, + "properties": { + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "files": { + "additionalProperties": { + "properties": { + "filename": { + "type": "string" + }, + "language": { + "type": "string" + }, + "raw_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "type": "object" + }, + "forks": { + "items": {}, + "type": "array" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "git_pull_url": { + "format": "uri", + "type": "string" + }, + "git_push_url": { + "format": "uri", + "type": "string" + }, + "history": { + "items": {}, + "type": "array" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "public": { + "type": "boolean" + }, + "truncated": { + "type": "boolean" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "id", + "node_id", + "url", + "forks_url", + "commits_url", + "git_pull_url", + "git_push_url", + "html_url", + "comments_url", + "public", + "description", + "comments", + "user", + "files", + "created_at", + "updated_at" + ], + "title": "Gist", + "type": "object" + }, + "forks": { + "deprecated": true, + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/public-user" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "forks_url": { + "type": "string" + }, + "git_pull_url": { + "type": "string" + }, + "git_push_url": { + "type": "string" + }, + "history": { + "deprecated": true, + "items": { + "$ref": "#/components/schemas/gist-history" + }, + "nullable": true, + "type": "array" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "public": { + "type": "boolean" + }, + "truncated": { + "type": "boolean" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "nullable": true, + "type": "string" + } + }, + "title": "Gist Simple", + "type": "object" + }, + "git-commit": { + "description": "Low-level Git commit operations within a repository", + "properties": { + "author": { + "description": "Identifying information for the git-user", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com", + "type": "string" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ], + "type": "object" + }, + "committer": { + "description": "Identifying information for the git-user", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com", + "type": "string" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "message": { + "description": "Message describing the purpose of the commit", + "example": "Fix #42", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parents": { + "items": { + "properties": { + "html_url": { + "format": "uri", + "type": "string" + }, + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "url", + "html_url" + ], + "type": "object" + }, + "type": "array" + }, + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "tree": { + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "url" + ], + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + }, + "verification": { + "properties": { + "payload": { + "nullable": true, + "type": "string" + }, + "reason": { + "type": "string" + }, + "signature": { + "nullable": true, + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "required": [ + "verified", + "reason", + "signature", + "payload" + ], + "type": "object" + } + }, + "required": [ + "sha", + "node_id", + "url", + "html_url", + "author", + "committer", + "tree", + "message", + "parents", + "verification" + ], + "title": "Git Commit", + "type": "object" + }, + "git-ref": { + "description": "Git references within a repository", + "properties": { + "node_id": { + "type": "string" + }, + "object": { + "properties": { + "sha": { + "description": "SHA for the reference", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "maxLength": 40, + "minLength": 40, + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "type", + "sha", + "url" + ], + "type": "object" + }, + "ref": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "ref", + "node_id", + "url", + "object" + ], + "title": "Git Reference", + "type": "object" + }, + "git-tag": { + "description": "Metadata for a Git tag", + "properties": { + "message": { + "description": "Message describing the purpose of the tag", + "example": "Initial public release", + "type": "string" + }, + "node_id": { + "example": "MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw==", + "type": "string" + }, + "object": { + "properties": { + "sha": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "type", + "url" + ], + "type": "object" + }, + "sha": { + "example": "940bd336248efae0f9ee5bc7b2d5c985887b16ac", + "type": "string" + }, + "tag": { + "description": "Name of the tag", + "example": "v0.0.1", + "type": "string" + }, + "tagger": { + "properties": { + "date": { + "type": "string" + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "date", + "email", + "name" + ], + "type": "object" + }, + "url": { + "description": "URL for the tag", + "example": "https://api.github.com/repositories/42/git/tags/940bd336248efae0f9ee5bc7b2d5c985887b16ac", + "format": "uri", + "type": "string" + }, + "verification": { + "$ref": "#/components/schemas/verification" + } + }, + "required": [ + "sha", + "url", + "node_id", + "tagger", + "object", + "tag", + "message" + ], + "title": "Git Tag", + "type": "object" + }, + "git-tree": { + "description": "The hierarchy between files in a Git repository.", + "properties": { + "sha": { + "type": "string" + }, + "tree": { + "description": "Objects specifying a tree structure", + "example": [ + { + "mode": "100644", + "path": "file.rb", + "properties": { + "mode": { + "type": "string" + }, + "path": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "path", + "mode", + "type", + "sha", + "url", + "size" + ], + "sha": "44b4fc6d56897b048c772eb4087f854f46256132", + "size": 30, + "type": "blob", + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" + } + ], + "items": { + "properties": { + "mode": { + "example": "040000", + "type": "string" + }, + "path": { + "example": "test/file.rb", + "type": "string" + }, + "sha": { + "example": "23f6827669e43831def8a7ad935069c8bd418261", + "type": "string" + }, + "size": { + "example": 12, + "type": "integer" + }, + "type": { + "example": "tree", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/owner-482f3203ecf01f67e9deb18e/BBB_Private_Repo/git/blobs/23f6827669e43831def8a7ad935069c8bd418261", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "truncated": { + "type": "boolean" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "url", + "tree", + "truncated" + ], + "title": "Git Tree", + "type": "object" + }, + "gitignore-template": { + "description": "Gitignore Template", + "properties": { + "name": { + "example": "C", + "type": "string" + }, + "source": { + "example": "# Object files\n*.o\n\n# Libraries\n*.lib\n*.a\n\n# Shared objects (inc. Windows DLLs)\n*.dll\n*.so\n*.so.*\n*.dylib\n\n# Executables\n*.exe\n*.out\n*.app\n", + "type": "string" + } + }, + "required": [ + "name", + "source" + ], + "title": "Gitignore Template", + "type": "object" + }, + "gpg-key": { + "description": "A unique encryption key", + "properties": { + "can_certify": { + "example": true, + "type": "boolean" + }, + "can_encrypt_comms": { + "type": "boolean" + }, + "can_encrypt_storage": { + "type": "boolean" + }, + "can_sign": { + "example": true, + "type": "boolean" + }, + "created_at": { + "example": "2016-03-24T11:31:04-06:00", + "format": "date-time", + "type": "string" + }, + "emails": { + "example": [ + { + "email": "octocat@users.noreply.github.com", + "verified": true + } + ], + "items": { + "properties": { + "email": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "type": "object" + }, + "type": "array" + }, + "expires_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "id": { + "example": 3, + "type": "integer" + }, + "key_id": { + "example": "3262EFF25BA0D270", + "type": "string" + }, + "name": { + "example": "Octocat's GPG Key", + "nullable": true, + "type": "string" + }, + "primary_key_id": { + "nullable": true, + "type": "integer" + }, + "public_key": { + "example": "xsBNBFayYZ...", + "type": "string" + }, + "raw_key": { + "nullable": true, + "type": "string" + }, + "revoked": { + "example": true, + "type": "boolean" + }, + "subkeys": { + "example": [ + { + "can_certify": false, + "can_encrypt_comms": true, + "can_encrypt_storage": true, + "can_sign": false, + "created_at": "2016-03-24T11:31:04-06:00", + "emails": [], + "expires_at": null, + "id": 4, + "key_id": "4A595D4C72EE49C7", + "primary_key_id": 3, + "public_key": "zsBNBFayYZ...", + "revoked": false, + "subkeys": [] + } + ], + "items": { + "properties": { + "can_certify": { + "type": "boolean" + }, + "can_encrypt_comms": { + "type": "boolean" + }, + "can_encrypt_storage": { + "type": "boolean" + }, + "can_sign": { + "type": "boolean" + }, + "created_at": { + "type": "string" + }, + "emails": { + "items": {}, + "type": "array" + }, + "expires_at": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "key_id": { + "type": "string" + }, + "primary_key_id": { + "type": "integer" + }, + "public_key": { + "type": "string" + }, + "raw_key": { + "nullable": true, + "type": "string" + }, + "revoked": { + "type": "boolean" + }, + "subkeys": { + "items": {}, + "type": "array" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "id", + "primary_key_id", + "key_id", + "raw_key", + "public_key", + "created_at", + "expires_at", + "can_sign", + "can_encrypt_comms", + "can_encrypt_storage", + "can_certify", + "emails", + "subkeys", + "revoked" + ], + "title": "GPG Key", + "type": "object" + }, + "hook": { + "description": "Webhooks for repositories.", + "properties": { + "active": { + "description": "Determines whether the hook is actually triggered on pushes.", + "example": true, + "type": "boolean" + }, + "config": { + "properties": { + "content_type": { + "$ref": "#/components/schemas/webhook-config-content-type" + }, + "digest": { + "example": "\"sha256\"", + "type": "string" + }, + "email": { + "example": "\"foo@bar.com\"", + "type": "string" + }, + "insecure_ssl": { + "$ref": "#/components/schemas/webhook-config-insecure-ssl" + }, + "password": { + "example": "\"foo\"", + "type": "string" + }, + "room": { + "example": "\"roomer\"", + "type": "string" + }, + "secret": { + "$ref": "#/components/schemas/webhook-config-secret" + }, + "subdomain": { + "example": "\"foo\"", + "type": "string" + }, + "token": { + "example": "\"abc\"", + "type": "string" + }, + "url": { + "$ref": "#/components/schemas/webhook-config-url" + } + }, + "type": "object" + }, + "created_at": { + "example": "2011-09-06T17:26:27Z", + "format": "date-time", + "type": "string" + }, + "deliveries_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries", + "format": "uri", + "type": "string" + }, + "events": { + "description": "Determines what events the hook is triggered for. Default: ['push'].", + "example": [ + "push", + "pull_request" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "description": "Unique identifier of the webhook.", + "example": 42, + "type": "integer" + }, + "last_response": { + "$ref": "#/components/schemas/hook-response" + }, + "name": { + "description": "The name of a valid service, use 'web' for a webhook.", + "example": "web", + "type": "string" + }, + "ping_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings", + "format": "uri", + "type": "string" + }, + "test_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/test", + "format": "uri", + "type": "string" + }, + "type": { + "type": "string" + }, + "updated_at": { + "example": "2011-09-06T20:39:23Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "type", + "name", + "active", + "events", + "config", + "ping_url", + "created_at", + "updated_at", + "last_response", + "test_url" + ], + "title": "Webhook", + "type": "object" + }, + "hook-delivery": { + "description": "Delivery made by a webhook.", + "properties": { + "action": { + "description": "The type of activity for the event that triggered the delivery.", + "example": "opened", + "nullable": true, + "type": "string" + }, + "delivered_at": { + "description": "Time when the delivery was delivered.", + "example": "2021-05-12T20:33:44Z", + "format": "date-time", + "type": "string" + }, + "duration": { + "description": "Time spent delivering.", + "example": 0.03, + "type": "number" + }, + "event": { + "description": "The event that triggered the delivery.", + "example": "issues", + "type": "string" + }, + "guid": { + "description": "Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).", + "example": "58474f00-b361-11eb-836d-0e4f3503ccbe", + "type": "string" + }, + "id": { + "description": "Unique identifier of the delivery.", + "example": 42, + "type": "integer" + }, + "installation_id": { + "description": "The id of the GitHub App installation associated with this event.", + "example": 123, + "nullable": true, + "type": "integer" + }, + "redelivery": { + "description": "Whether the delivery is a redelivery.", + "example": false, + "type": "boolean" + }, + "repository_id": { + "description": "The id of the repository associated with this event.", + "example": 123, + "nullable": true, + "type": "integer" + }, + "request": { + "properties": { + "headers": { + "additionalProperties": true, + "description": "The request headers sent with the webhook delivery.", + "nullable": true, + "type": "object" + }, + "payload": { + "additionalProperties": true, + "description": "The webhook payload.", + "nullable": true, + "type": "object" + } + }, + "required": [ + "headers", + "payload" + ], + "type": "object" + }, + "response": { + "properties": { + "headers": { + "additionalProperties": true, + "description": "The response headers received when the delivery was made.", + "nullable": true, + "type": "object" + }, + "payload": { + "additionalProperties": true, + "description": "The response payload received.", + "nullable": true, + "type": "string" + } + }, + "required": [ + "headers", + "payload" + ], + "type": "object" + }, + "status": { + "description": "Description of the status of the attempted delivery", + "example": "failed to connect", + "type": "string" + }, + "status_code": { + "description": "Status code received when delivery was made.", + "example": 502, + "type": "integer" + }, + "url": { + "description": "The URL target of the delivery.", + "example": "https://www.example.com", + "type": "string" + } + }, + "required": [ + "id", + "guid", + "delivered_at", + "redelivery", + "duration", + "status", + "status_code", + "event", + "action", + "installation_id", + "repository_id", + "request", + "response" + ], + "title": "Webhook delivery", + "type": "object" + }, + "hook-delivery-item": { + "description": "Delivery made by a webhook, without request and response information.", + "properties": { + "action": { + "description": "The type of activity for the event that triggered the delivery.", + "example": "opened", + "nullable": true, + "type": "string" + }, + "delivered_at": { + "description": "Time when the webhook delivery occurred.", + "example": "2021-05-12T20:33:44Z", + "format": "date-time", + "type": "string" + }, + "duration": { + "description": "Time spent delivering.", + "example": 0.03, + "type": "number" + }, + "event": { + "description": "The event that triggered the delivery.", + "example": "issues", + "type": "string" + }, + "guid": { + "description": "Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).", + "example": "58474f00-b361-11eb-836d-0e4f3503ccbe", + "type": "string" + }, + "id": { + "description": "Unique identifier of the webhook delivery.", + "example": 42, + "type": "integer" + }, + "installation_id": { + "description": "The id of the GitHub App installation associated with this event.", + "example": 123, + "nullable": true, + "type": "integer" + }, + "redelivery": { + "description": "Whether the webhook delivery is a redelivery.", + "example": false, + "type": "boolean" + }, + "repository_id": { + "description": "The id of the repository associated with this event.", + "example": 123, + "nullable": true, + "type": "integer" + }, + "status": { + "description": "Describes the response returned after attempting the delivery.", + "example": "failed to connect", + "type": "string" + }, + "status_code": { + "description": "Status code received when delivery was made.", + "example": 502, + "type": "integer" + } + }, + "required": [ + "id", + "guid", + "delivered_at", + "redelivery", + "duration", + "status", + "status_code", + "event", + "action", + "installation_id", + "repository_id" + ], + "title": "Simple webhook delivery", + "type": "object" + }, + "hook-response": { + "properties": { + "code": { + "nullable": true, + "type": "integer" + }, + "message": { + "nullable": true, + "type": "string" + }, + "status": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "code", + "status", + "message" + ], + "title": "Hook Response", + "type": "object" + }, + "hovercard": { + "description": "Hovercard", + "properties": { + "contexts": { + "items": { + "properties": { + "message": { + "type": "string" + }, + "octicon": { + "type": "string" + } + }, + "required": [ + "message", + "octicon" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "contexts" + ], + "title": "Hovercard", + "type": "object" + }, + "import": { + "description": "A repository import from an external source.", + "properties": { + "authors_count": { + "nullable": true, + "type": "integer" + }, + "authors_url": { + "format": "uri", + "type": "string" + }, + "commit_count": { + "nullable": true, + "type": "integer" + }, + "error_message": { + "nullable": true, + "type": "string" + }, + "failed_step": { + "nullable": true, + "type": "string" + }, + "has_large_files": { + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "import_percent": { + "nullable": true, + "type": "integer" + }, + "large_files_count": { + "type": "integer" + }, + "large_files_size": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "project_choices": { + "items": { + "properties": { + "human_name": { + "type": "string" + }, + "tfvc_project": { + "type": "string" + }, + "vcs": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "push_percent": { + "nullable": true, + "type": "integer" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "status": { + "enum": [ + "auth", + "error", + "none", + "detecting", + "choose", + "auth_failed", + "importing", + "mapping", + "waiting_to_push", + "pushing", + "complete", + "setup", + "unknown", + "detection_found_multiple", + "detection_found_nothing", + "detection_needs_auth" + ], + "type": "string" + }, + "status_text": { + "nullable": true, + "type": "string" + }, + "svc_root": { + "type": "string" + }, + "svn_root": { + "type": "string" + }, + "tfvc_project": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_lfs": { + "type": "boolean" + }, + "vcs": { + "nullable": true, + "type": "string" + }, + "vcs_url": { + "description": "The URL of the originating repository.", + "type": "string" + } + }, + "required": [ + "vcs", + "vcs_url", + "status", + "url", + "repository_url", + "html_url", + "authors_url" + ], + "title": "Import", + "type": "object" + }, + "installation": { + "description": "Installation", + "properties": { + "access_tokens_url": { + "example": "https://api.github.com/installations/1/access_tokens", + "format": "uri", + "type": "string" + }, + "account": { + "anyOf": [ + { + "$ref": "#/components/schemas/simple-user" + }, + { + "$ref": "#/components/schemas/enterprise" + } + ], + "nullable": true + }, + "app_id": { + "example": 1, + "type": "integer" + }, + "app_slug": { + "example": "github-actions", + "type": "string" + }, + "contact_email": { + "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "events": { + "items": { + "type": "string" + }, + "type": "array" + }, + "has_multiple_single_files": { + "example": true, + "type": "boolean" + }, + "html_url": { + "example": "https://github.com/organizations/github/settings/installations/1", + "format": "uri", + "type": "string" + }, + "id": { + "description": "The ID of the installation.", + "example": 1, + "type": "integer" + }, + "permissions": { + "$ref": "#/components/schemas/app-permissions" + }, + "repositories_url": { + "example": "https://api.github.com/installation/repositories", + "format": "uri", + "type": "string" + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "enum": [ + "all", + "selected" + ], + "type": "string" + }, + "single_file_name": { + "example": "config.yaml", + "nullable": true, + "type": "string" + }, + "single_file_paths": { + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "suspended_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "suspended_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "target_id": { + "description": "The ID of the user or organization this token is being scoped to.", + "type": "integer" + }, + "target_type": { + "example": "Organization", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "id", + "app_id", + "app_slug", + "target_id", + "target_type", + "single_file_name", + "repository_selection", + "access_tokens_url", + "html_url", + "repositories_url", + "events", + "account", + "permissions", + "created_at", + "updated_at", + "suspended_by", + "suspended_at" + ], + "title": "Installation", + "type": "object" + }, + "installation-token": { + "description": "Authentication token for a GitHub App installed on a user or org.", + "properties": { + "expires_at": { + "type": "string" + }, + "has_multiple_single_files": { + "example": true, + "type": "boolean" + }, + "permissions": { + "$ref": "#/components/schemas/app-permissions" + }, + "repositories": { + "items": { + "$ref": "#/components/schemas/repository" + }, + "type": "array" + }, + "repository_selection": { + "enum": [ + "all", + "selected" + ], + "type": "string" + }, + "single_file": { + "example": "README.md", + "type": "string" + }, + "single_file_paths": { + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "token": { + "type": "string" + } + }, + "required": [ + "token", + "expires_at" + ], + "title": "Installation Token", + "type": "object" + }, + "integration": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "properties": { + "client_id": { + "example": "\"Iv1.25b5d1e65ffc4022\"", + "type": "string" + }, + "client_secret": { + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"", + "type": "string" + }, + "created_at": { + "example": "2017-07-08T16:18:44-04:00", + "format": "date-time", + "type": "string" + }, + "description": { + "example": "The description of the app.", + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "external_url": { + "example": "https://example.com", + "format": "uri", + "type": "string" + }, + "html_url": { + "example": "https://github.com/apps/super-ci", + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "node_id": { + "example": "MDExOkludGVncmF0aW9uMQ==", + "type": "string" + }, + "owner": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "pem": { + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"", + "type": "string" + }, + "permissions": { + "additionalProperties": { + "type": "string" + }, + "description": "The set of permissions for the GitHub app", + "example": { + "deployments": "write", + "issues": "read" + }, + "properties": { + "checks": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + }, + "issues": { + "type": "string" + }, + "metadata": { + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "updated_at": { + "example": "2017-07-08T16:18:44-04:00", + "format": "date-time", + "type": "string" + }, + "webhook_secret": { + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ], + "title": "GitHub app", + "type": "object" + }, + "interaction-expiry": { + "description": "The duration of the interaction restriction. Default: `one_day`.", + "enum": [ + "one_day", + "three_days", + "one_week", + "one_month", + "six_months" + ], + "example": "one_month", + "type": "string" + }, + "interaction-group": { + "description": "The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.", + "enum": [ + "existing_users", + "contributors_only", + "collaborators_only" + ], + "example": "collaborators_only", + "type": "string" + }, + "interaction-limit": { + "description": "Limit interactions to a specific type of user for a specified duration", + "properties": { + "expiry": { + "$ref": "#/components/schemas/interaction-expiry" + }, + "limit": { + "$ref": "#/components/schemas/interaction-group" + } + }, + "required": [ + "limit" + ], + "title": "Interaction Restrictions", + "type": "object" + }, + "interaction-limit-response": { + "description": "Interaction limit settings.", + "properties": { + "expires_at": { + "example": "2018-08-17T04:18:39Z", + "format": "date-time", + "type": "string" + }, + "limit": { + "$ref": "#/components/schemas/interaction-group" + }, + "origin": { + "example": "repository", + "type": "string" + } + }, + "required": [ + "limit", + "origin", + "expires_at" + ], + "title": "Interaction Limits", + "type": "object" + }, + "issue": { + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "properties": { + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "assignee": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "assignees": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "nullable": true, + "type": "array" + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "nullable": true, + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "properties": { + "color": { + "nullable": true, + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "format": "int64", + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + } + ] + }, + "type": "array" + }, + "labels_url": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "$ref": "#/components/schemas/nullable-milestone" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ], + "type": "object" + }, + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "enum": [ + "completed", + "reopened", + "not_planned" + ], + "example": "not_planned", + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "author_association", + "created_at", + "updated_at" + ], + "title": "Issue", + "type": "object" + }, + "issue-comment": { + "description": "Comments provide a way for people to collaborate on an issue.", + "properties": { + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "body": { + "description": "Contents of the issue comment", + "example": "What version of Safari were you using when you observed this bug?", + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "created_at": { + "example": "2011-04-14T16:00:49Z", + "format": "date-time", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the issue comment", + "example": 42, + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + }, + "updated_at": { + "example": "2011-04-14T16:00:49Z", + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "example": "https://api.github.com/repositories/42/issues/comments/1", + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "author_association", + "user", + "url", + "created_at", + "updated_at" + ], + "title": "Issue Comment", + "type": "object" + }, + "issue-event": { + "description": "Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "assignee": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "assigner": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "commit_id": { + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "nullable": true, + "type": "string" + }, + "commit_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "nullable": true, + "type": "string" + }, + "created_at": { + "example": "2011-04-14T16:00:49Z", + "format": "date-time", + "type": "string" + }, + "dismissed_review": { + "$ref": "#/components/schemas/issue-event-dismissed-review" + }, + "event": { + "example": "closed", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "issue": { + "$ref": "#/components/schemas/nullable-issue" + }, + "label": { + "$ref": "#/components/schemas/issue-event-label" + }, + "lock_reason": { + "nullable": true, + "type": "string" + }, + "milestone": { + "$ref": "#/components/schemas/issue-event-milestone" + }, + "node_id": { + "example": "MDEwOklzc3VlRXZlbnQx", + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "project_card": { + "$ref": "#/components/schemas/issue-event-project-card" + }, + "rename": { + "$ref": "#/components/schemas/issue-event-rename" + }, + "requested_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "requested_team": { + "$ref": "#/components/schemas/team" + }, + "review_requester": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at" + ], + "title": "Issue Event", + "type": "object" + }, + "issue-event-dismissed-review": { + "properties": { + "dismissal_commit_id": { + "nullable": true, + "type": "string" + }, + "dismissal_message": { + "nullable": true, + "type": "string" + }, + "review_id": { + "type": "integer" + }, + "state": { + "type": "string" + } + }, + "required": [ + "state", + "review_id", + "dismissal_message" + ], + "title": "Issue Event Dismissed Review", + "type": "object" + }, + "issue-event-for-issue": { + "anyOf": [ + { + "$ref": "#/components/schemas/labeled-issue-event" + }, + { + "$ref": "#/components/schemas/unlabeled-issue-event" + }, + { + "$ref": "#/components/schemas/assigned-issue-event" + }, + { + "$ref": "#/components/schemas/unassigned-issue-event" + }, + { + "$ref": "#/components/schemas/milestoned-issue-event" + }, + { + "$ref": "#/components/schemas/demilestoned-issue-event" + }, + { + "$ref": "#/components/schemas/renamed-issue-event" + }, + { + "$ref": "#/components/schemas/review-requested-issue-event" + }, + { + "$ref": "#/components/schemas/review-request-removed-issue-event" + }, + { + "$ref": "#/components/schemas/review-dismissed-issue-event" + }, + { + "$ref": "#/components/schemas/locked-issue-event" + }, + { + "$ref": "#/components/schemas/added-to-project-issue-event" + }, + { + "$ref": "#/components/schemas/moved-column-in-project-issue-event" + }, + { + "$ref": "#/components/schemas/removed-from-project-issue-event" + }, + { + "$ref": "#/components/schemas/converted-note-to-issue-issue-event" + } + ], + "description": "Issue Event for Issue", + "title": "Issue Event for Issue" + }, + "issue-event-label": { + "description": "Issue Event Label", + "properties": { + "color": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "name", + "color" + ], + "title": "Issue Event Label", + "type": "object" + }, + "issue-event-milestone": { + "description": "Issue Event Milestone", + "properties": { + "title": { + "type": "string" + } + }, + "required": [ + "title" + ], + "title": "Issue Event Milestone", + "type": "object" + }, + "issue-event-project-card": { + "description": "Issue Event Project Card", + "properties": { + "column_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "previous_column_name": { + "type": "string" + }, + "project_id": { + "type": "integer" + }, + "project_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "id", + "project_url", + "project_id", + "column_name" + ], + "title": "Issue Event Project Card", + "type": "object" + }, + "issue-event-rename": { + "description": "Issue Event Rename", + "properties": { + "from": { + "type": "string" + }, + "to": { + "type": "string" + } + }, + "required": [ + "from", + "to" + ], + "title": "Issue Event Rename", + "type": "object" + }, + "issue-search-result-item": { + "description": "Issue Search Result Item", + "properties": { + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "assignee": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "assignees": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "nullable": true, + "type": "array" + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "body": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "format": "int64", + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "$ref": "#/components/schemas/nullable-milestone" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ], + "type": "object" + }, + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "score": { + "type": "number" + }, + "state": { + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "text_matches": { + "$ref": "#/components/schemas/search-result-text-matches" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "author_association", + "created_at", + "updated_at", + "score" + ], + "title": "Issue Search Result Item", + "type": "object" + }, + "job": { + "description": "Information of a job execution in a workflow run", + "properties": { + "check_run_url": { + "example": "https://api.github.com/repos/github/hello-world/check-runs/4", + "type": "string" + }, + "completed_at": { + "description": "The time that the job finished, in ISO 8601 format.", + "example": "2019-08-08T08:00:00-07:00", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "conclusion": { + "description": "The outcome of the job.", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required" + ], + "example": "success", + "nullable": true, + "type": "string" + }, + "head_branch": { + "description": "The name of the current branch.", + "example": "main", + "nullable": true, + "type": "string" + }, + "head_sha": { + "description": "The SHA of the commit that is being run.", + "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d", + "type": "string" + }, + "html_url": { + "example": "https://github.com/github/hello-world/runs/4", + "nullable": true, + "type": "string" + }, + "id": { + "description": "The id of the job.", + "example": 21, + "type": "integer" + }, + "labels": { + "description": "Labels for the workflow job. Specified by the \"runs_on\" attribute in the action's workflow file.", + "example": [ + "self-hosted", + "foo", + "bar" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "The name of the job.", + "example": "test-coverage", + "type": "string" + }, + "node_id": { + "example": "MDg6Q2hlY2tSdW40", + "type": "string" + }, + "run_attempt": { + "description": "Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run.", + "example": 1, + "type": "integer" + }, + "run_id": { + "description": "The id of the associated workflow run.", + "example": 5, + "type": "integer" + }, + "run_url": { + "example": "https://api.github.com/repos/github/hello-world/actions/runs/5", + "type": "string" + }, + "runner_group_id": { + "description": "The ID of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)", + "example": 2, + "nullable": true, + "type": "integer" + }, + "runner_group_name": { + "description": "The name of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)", + "example": "my runner group", + "nullable": true, + "type": "string" + }, + "runner_id": { + "description": "The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)", + "example": 1, + "nullable": true, + "type": "integer" + }, + "runner_name": { + "description": "The name of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)", + "example": "my runner", + "nullable": true, + "type": "string" + }, + "started_at": { + "description": "The time that the job started, in ISO 8601 format.", + "example": "2019-08-08T08:00:00-07:00", + "format": "date-time", + "type": "string" + }, + "status": { + "description": "The phase of the lifecycle that the job is currently in.", + "enum": [ + "queued", + "in_progress", + "completed" + ], + "example": "queued", + "type": "string" + }, + "steps": { + "description": "Steps in this job.", + "items": { + "properties": { + "completed_at": { + "description": "The time that the job finished, in ISO 8601 format.", + "example": "2019-08-08T08:00:00-07:00", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "conclusion": { + "description": "The outcome of the job.", + "example": "success", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the job.", + "example": "test-coverage", + "type": "string" + }, + "number": { + "example": 1, + "type": "integer" + }, + "started_at": { + "description": "The time that the step started, in ISO 8601 format.", + "example": "2019-08-08T08:00:00-07:00", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "status": { + "description": "The phase of the lifecycle that the job is currently in.", + "enum": [ + "queued", + "in_progress", + "completed" + ], + "example": "queued", + "type": "string" + } + }, + "required": [ + "name", + "status", + "conclusion", + "number" + ], + "type": "object" + }, + "type": "array" + }, + "url": { + "example": "https://api.github.com/repos/github/hello-world/actions/jobs/21", + "type": "string" + }, + "workflow_name": { + "description": "The name of the workflow.", + "example": "Build", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "run_id", + "run_url", + "head_sha", + "workflow_name", + "head_branch", + "name", + "url", + "html_url", + "status", + "conclusion", + "started_at", + "completed_at", + "check_run_url", + "labels", + "runner_id", + "runner_name", + "runner_group_id", + "runner_group_name" + ], + "title": "Job", + "type": "object" + }, + "key": { + "description": "Key", + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "integer" + }, + "key": { + "type": "string" + }, + "read_only": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "required": [ + "key", + "id", + "url", + "title", + "created_at", + "verified", + "read_only" + ], + "title": "Key", + "type": "object" + }, + "key-simple": { + "description": "Key Simple", + "properties": { + "id": { + "type": "integer" + }, + "key": { + "type": "string" + } + }, + "required": [ + "key", + "id" + ], + "title": "Key Simple", + "type": "object" + }, + "label": { + "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "example": "FFFFFF", + "type": "string" + }, + "default": { + "example": true, + "type": "boolean" + }, + "description": { + "example": "Something isn't working", + "nullable": true, + "type": "string" + }, + "id": { + "example": 208045946, + "format": "int64", + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "example": "bug", + "type": "string" + }, + "node_id": { + "example": "MDU6TGFiZWwyMDgwNDU5NDY=", + "type": "string" + }, + "url": { + "description": "URL for the label", + "example": "https://api.github.com/repositories/42/labels/bug", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ], + "title": "Label", + "type": "object" + }, + "label-search-result-item": { + "description": "Label Search Result Item", + "properties": { + "color": { + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "score": { + "type": "number" + }, + "text_matches": { + "$ref": "#/components/schemas/search-result-text-matches" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description", + "score" + ], + "title": "Label Search Result Item", + "type": "object" + }, + "labeled-issue-event": { + "description": "Labeled Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "label": { + "properties": { + "color": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name", + "color" + ], + "type": "object" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "url": { + "type": "string" + } + }, + "required": [ + "label", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ], + "title": "Labeled Issue Event", + "type": "object" + }, + "language": { + "additionalProperties": { + "type": "integer" + }, + "description": "Language", + "title": "Language", + "type": "object" + }, + "license": { + "description": "License", + "properties": { + "body": { + "example": "\n\nThe MIT License (MIT)\n\nCopyright (c) [year] [fullname]\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n", + "type": "string" + }, + "conditions": { + "example": [ + "include-copyright" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "example": "A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.", + "type": "string" + }, + "featured": { + "example": true, + "type": "boolean" + }, + "html_url": { + "example": "http://choosealicense.com/licenses/mit/", + "format": "uri", + "type": "string" + }, + "implementation": { + "example": "Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.", + "type": "string" + }, + "key": { + "example": "mit", + "type": "string" + }, + "limitations": { + "example": [ + "no-liability" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "example": "MIT License", + "type": "string" + }, + "node_id": { + "example": "MDc6TGljZW5zZW1pdA==", + "type": "string" + }, + "permissions": { + "example": [ + "commercial-use", + "modifications", + "distribution", + "sublicense", + "private-use" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "spdx_id": { + "example": "MIT", + "nullable": true, + "type": "string" + }, + "url": { + "example": "https://api.github.com/licenses/mit", + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id", + "html_url", + "description", + "implementation", + "permissions", + "conditions", + "limitations", + "body", + "featured" + ], + "title": "License", + "type": "object" + }, + "license-content": { + "description": "License Content", + "properties": { + "_links": { + "properties": { + "git": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "self": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "git", + "html", + "self" + ], + "type": "object" + }, + "content": { + "type": "string" + }, + "download_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "encoding": { + "type": "string" + }, + "git_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "license": { + "$ref": "#/components/schemas/nullable-license-simple" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "sha": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "_links", + "git_url", + "html_url", + "download_url", + "name", + "path", + "sha", + "size", + "type", + "url", + "content", + "encoding", + "license" + ], + "title": "License Content", + "type": "object" + }, + "license-simple": { + "description": "License Simple", + "properties": { + "html_url": { + "format": "uri", + "type": "string" + }, + "key": { + "example": "mit", + "type": "string" + }, + "name": { + "example": "MIT License", + "type": "string" + }, + "node_id": { + "example": "MDc6TGljZW5zZW1pdA==", + "type": "string" + }, + "spdx_id": { + "example": "MIT", + "nullable": true, + "type": "string" + }, + "url": { + "example": "https://api.github.com/licenses/mit", + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "title": "License Simple", + "type": "object" + }, + "link": { + "description": "Hypermedia Link", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "link-with-type": { + "description": "Hypermedia Link with Type", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "href", + "type" + ], + "title": "Link With Type", + "type": "object" + }, + "locked-issue-event": { + "description": "Locked Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "lock_reason": { + "example": "\"off-topic\"", + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "url": { + "type": "string" + } + }, + "required": [ + "lock_reason", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ], + "title": "Locked Issue Event", + "type": "object" + }, + "manifest": { + "additionalProperties": false, + "properties": { + "file": { + "additionalProperties": false, + "properties": { + "source_location": { + "description": "The path of the manifest file relative to the root of the Git repository.", + "example": "/src/build/package-lock.json", + "type": "string" + } + }, + "type": "object" + }, + "metadata": { + "$ref": "#/components/schemas/metadata" + }, + "name": { + "description": "The name of the manifest.", + "example": "package-lock.json", + "type": "string" + }, + "resolved": { + "additionalProperties": { + "$ref": "#/components/schemas/dependency" + }, + "description": "A collection of resolved package dependencies.", + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "marketplace-account": { + "properties": { + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "id", + "type", + "login" + ], + "title": "Marketplace Account", + "type": "object" + }, + "marketplace-listing-plan": { + "description": "Marketplace Listing Plan", + "properties": { + "accounts_url": { + "example": "https://api.github.com/marketplace_listing/plans/1313/accounts", + "format": "uri", + "type": "string" + }, + "bullets": { + "example": [ + "Up to 25 private repositories", + "11 concurrent builds" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "example": "A professional-grade CI solution", + "type": "string" + }, + "has_free_trial": { + "example": true, + "type": "boolean" + }, + "id": { + "example": 1313, + "type": "integer" + }, + "monthly_price_in_cents": { + "example": 1099, + "type": "integer" + }, + "name": { + "example": "Pro", + "type": "string" + }, + "number": { + "example": 3, + "type": "integer" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "example": "FLAT_RATE", + "type": "string" + }, + "state": { + "example": "published", + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "url": { + "example": "https://api.github.com/marketplace_listing/plans/1313", + "format": "uri", + "type": "string" + }, + "yearly_price_in_cents": { + "example": 11870, + "type": "integer" + } + }, + "required": [ + "url", + "accounts_url", + "id", + "number", + "name", + "description", + "has_free_trial", + "price_model", + "unit_name", + "monthly_price_in_cents", + "state", + "yearly_price_in_cents", + "bullets" + ], + "title": "Marketplace Listing Plan", + "type": "object" + }, + "marketplace-purchase": { + "description": "Marketplace Purchase", + "properties": { + "email": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "marketplace_pending_change": { + "nullable": true, + "properties": { + "effective_date": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_installed": { + "type": "boolean" + }, + "plan": { + "$ref": "#/components/schemas/marketplace-listing-plan" + }, + "unit_count": { + "nullable": true, + "type": "integer" + } + }, + "type": "object" + }, + "marketplace_purchase": { + "properties": { + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true, + "type": "string" + }, + "is_installed": { + "type": "boolean" + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "type": "boolean" + }, + "plan": { + "$ref": "#/components/schemas/marketplace-listing-plan" + }, + "unit_count": { + "nullable": true, + "type": "integer" + }, + "updated_at": { + "type": "string" + } + }, + "type": "object" + }, + "organization_billing_email": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "url", + "id", + "type", + "login", + "marketplace_purchase" + ], + "title": "Marketplace Purchase", + "type": "object" + }, + "merged-upstream": { + "description": "Results of a successful merge upstream request", + "properties": { + "base_branch": { + "type": "string" + }, + "merge_type": { + "enum": [ + "merge", + "fast-forward", + "none" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "title": "Merged upstream", + "type": "object" + }, + "metadata": { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ], + "nullable": true + }, + "description": "User-defined metadata to store domain-specific information limited to 8 keys with scalar values.", + "maxProperties": 8, + "title": "metadata", + "type": "object" + }, + "migration": { + "description": "A migration.", + "properties": { + "archive_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "example": "2015-07-06T15:33:38-07:00", + "format": "date-time", + "type": "string" + }, + "exclude": { + "items": {}, + "type": "array" + }, + "exclude_attachments": { + "type": "boolean" + }, + "exclude_git_data": { + "type": "boolean" + }, + "exclude_metadata": { + "type": "boolean" + }, + "exclude_owner_projects": { + "type": "boolean" + }, + "exclude_releases": { + "type": "boolean" + }, + "guid": { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "type": "string" + }, + "id": { + "example": 79, + "type": "integer" + }, + "lock_repositories": { + "example": true, + "type": "boolean" + }, + "node_id": { + "type": "string" + }, + "org_metadata_only": { + "type": "boolean" + }, + "owner": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "repositories": { + "description": "The repositories included in the migration. Only returned for export migrations.", + "items": { + "$ref": "#/components/schemas/repository" + }, + "type": "array" + }, + "state": { + "example": "pending", + "type": "string" + }, + "updated_at": { + "example": "2015-07-06T15:33:38-07:00", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/orgs/octo-org/migrations/79", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "guid", + "state", + "lock_repositories", + "exclude_metadata", + "exclude_git_data", + "exclude_attachments", + "exclude_releases", + "exclude_owner_projects", + "org_metadata_only", + "repositories", + "url", + "created_at", + "updated_at" + ], + "title": "Migration", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "properties": { + "closed_at": { + "example": "2013-02-12T13:22:01Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "example": 8, + "type": "integer" + }, + "created_at": { + "example": "2011-04-10T20:09:31Z", + "format": "date-time", + "type": "string" + }, + "creator": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "description": { + "example": "Tracking milestone for version 1.0", + "nullable": true, + "type": "string" + }, + "due_on": { + "example": "2012-10-09T23:39:01Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World/milestones/v1.0", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1002604, + "type": "integer" + }, + "labels_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "format": "uri", + "type": "string" + }, + "node_id": { + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "example": 42, + "type": "integer" + }, + "open_issues": { + "example": 4, + "type": "integer" + }, + "state": { + "default": "open", + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "example": "open", + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "updated_at": { + "example": "2014-03-03T18:58:10Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ], + "title": "Milestone", + "type": "object" + }, + "milestoned-issue-event": { + "description": "Milestoned Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "milestone": { + "properties": { + "title": { + "type": "string" + } + }, + "required": [ + "title" + ], + "type": "object" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "url": { + "type": "string" + } + }, + "required": [ + "milestone", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ], + "title": "Milestoned Issue Event", + "type": "object" + }, + "minimal-repository": { + "description": "Minimal Repository", + "properties": { + "allow_forking": { + "type": "boolean" + }, + "archive_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "type": "string" + }, + "blobs_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "type": "string" + }, + "branches_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "code_of_conduct": { + "$ref": "#/components/schemas/code-of-conduct" + }, + "collaborators_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "type": "string" + }, + "comments_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}", + "type": "string" + }, + "commits_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "type": "string" + }, + "compare_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "type": "string" + }, + "contents_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "type": "string" + }, + "contributors_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/contributors", + "format": "uri", + "type": "string" + }, + "created_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/deployments", + "format": "uri", + "type": "string" + }, + "description": { + "example": "This your first repo!", + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/downloads", + "format": "uri", + "type": "string" + }, + "events_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/events", + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "example": 0, + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/forks", + "format": "uri", + "type": "string" + }, + "full_name": { + "example": "octocat/Hello-World", + "type": "string" + }, + "git_commits_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "type": "string" + }, + "git_refs_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "type": "string" + }, + "git_tags_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_discussions": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/hooks", + "format": "uri", + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1296269, + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "type": "string" + }, + "issue_events_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "type": "string" + }, + "issues_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}", + "type": "string" + }, + "keys_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "type": "string" + }, + "labels_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/languages", + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "merges_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/merges", + "format": "uri", + "type": "string" + }, + "milestones_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "type": "string" + }, + "mirror_url": { + "nullable": true, + "type": "string" + }, + "name": { + "example": "Hello-World", + "type": "string" + }, + "network_count": { + "type": "integer" + }, + "node_id": { + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "type": "string" + }, + "notifications_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "type": "string" + }, + "open_issues": { + "example": 0, + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "type": "string" + }, + "pushed_at": { + "example": "2011-01-26T19:06:43Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "releases_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}", + "type": "string" + }, + "role_name": { + "example": "admin", + "type": "string" + }, + "security_and_analysis": { + "$ref": "#/components/schemas/security-and-analysis" + }, + "size": { + "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers", + "format": "uri", + "type": "string" + }, + "statuses_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "type": "string" + }, + "subscribers_count": { + "type": "integer" + }, + "subscribers_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers", + "format": "uri", + "type": "string" + }, + "subscription_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/subscription", + "format": "uri", + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/tags", + "format": "uri", + "type": "string" + }, + "teams_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/teams", + "format": "uri", + "type": "string" + }, + "temp_clone_token": { + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "type": "string" + }, + "updated_at": { + "example": "2011-01-26T19:14:43Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "visibility": { + "type": "string" + }, + "watchers": { + "example": 0, + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "example": false, + "type": "boolean" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "title": "Minimal Repository", + "type": "object" + }, + "moved-column-in-project-issue-event": { + "description": "Moved Column in Project Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "project_card": { + "properties": { + "column_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "previous_column_name": { + "type": "string" + }, + "project_id": { + "type": "integer" + }, + "project_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "project_id", + "project_url", + "column_name" + ], + "type": "object" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ], + "title": "Moved Column in Project Issue Event", + "type": "object" + }, + "nullable-alert-updated-at": { + "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "nullable": true, + "readOnly": true, + "type": "string" + }, + "nullable-code-of-conduct-simple": { + "description": "Code of Conduct Simple", + "nullable": true, + "properties": { + "html_url": { + "example": "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md", + "format": "uri", + "nullable": true, + "type": "string" + }, + "key": { + "example": "citizen_code_of_conduct", + "type": "string" + }, + "name": { + "example": "Citizen Code of Conduct", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/github/docs/community/code_of_conduct", + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "key", + "name", + "html_url" + ], + "title": "Code Of Conduct Simple", + "type": "object" + }, + "nullable-codespace-machine": { + "description": "A description of the machine powering a codespace.", + "nullable": true, + "properties": { + "cpus": { + "description": "How many cores are available to the codespace.", + "example": 4, + "type": "integer" + }, + "display_name": { + "description": "The display name of the machine includes cores, memory, and storage.", + "example": "4 cores, 8 GB RAM, 64 GB storage", + "type": "string" + }, + "memory_in_bytes": { + "description": "How much memory is available to the codespace.", + "example": 8589934592, + "type": "integer" + }, + "name": { + "description": "The name of the machine.", + "example": "standardLinux", + "type": "string" + }, + "operating_system": { + "description": "The operating system of the machine.", + "example": "linux", + "type": "string" + }, + "prebuild_availability": { + "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value will be \"none\" if no prebuild is available. Latest values \"ready\" and \"in_progress\" indicate the prebuild availability status.", + "enum": [ + "none", + "ready", + "in_progress" + ], + "example": "ready", + "nullable": true, + "type": "string" + }, + "storage_in_bytes": { + "description": "How much storage is available to the codespace.", + "example": 68719476736, + "type": "integer" + } + }, + "required": [ + "name", + "display_name", + "operating_system", + "storage_in_bytes", + "memory_in_bytes", + "cpus", + "prebuild_availability" + ], + "title": "Codespace machine", + "type": "object" + }, + "nullable-collaborator": { + "description": "Collaborator", + "nullable": true, + "properties": { + "avatar_url": { + "example": "https://github.com/images/error/octocat_happy.gif", + "format": "uri", + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "example": "https://api.github.com/users/octocat/events{/privacy}", + "type": "string" + }, + "followers_url": { + "example": "https://api.github.com/users/octocat/followers", + "format": "uri", + "type": "string" + }, + "following_url": { + "example": "https://api.github.com/users/octocat/following{/other_user}", + "type": "string" + }, + "gists_url": { + "example": "https://api.github.com/users/octocat/gists{/gist_id}", + "type": "string" + }, + "gravatar_id": { + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true, + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "login": { + "example": "octocat", + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "example": "MDQ6VXNlcjE=", + "type": "string" + }, + "organizations_url": { + "example": "https://api.github.com/users/octocat/orgs", + "format": "uri", + "type": "string" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "received_events_url": { + "example": "https://api.github.com/users/octocat/received_events", + "format": "uri", + "type": "string" + }, + "repos_url": { + "example": "https://api.github.com/users/octocat/repos", + "format": "uri", + "type": "string" + }, + "role_name": { + "example": "admin", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "type": "string" + }, + "subscriptions_url": { + "example": "https://api.github.com/users/octocat/subscriptions", + "format": "uri", + "type": "string" + }, + "type": { + "example": "User", + "type": "string" + }, + "url": { + "example": "https://api.github.com/users/octocat", + "format": "uri", + "type": "string" + } + }, + "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", + "role_name" + ], + "title": "Collaborator", + "type": "object" + }, + "nullable-community-health-file": { + "nullable": true, + "properties": { + "html_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url" + ], + "title": "Community Health File", + "type": "object" + }, + "nullable-git-user": { + "description": "Metaproperties for Git author/committer information.", + "nullable": true, + "properties": { + "date": { + "example": "\"2007-10-29T02:42:39.000-07:00\"", + "type": "string" + }, + "email": { + "example": "\"chris@ozmm.org\"", + "type": "string" + }, + "name": { + "example": "\"Chris Wanstrath\"", + "type": "string" + } + }, + "title": "Git User", + "type": "object" + }, + "nullable-integration": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "client_id": { + "example": "\"Iv1.25b5d1e65ffc4022\"", + "type": "string" + }, + "client_secret": { + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"", + "type": "string" + }, + "created_at": { + "example": "2017-07-08T16:18:44-04:00", + "format": "date-time", + "type": "string" + }, + "description": { + "example": "The description of the app.", + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "external_url": { + "example": "https://example.com", + "format": "uri", + "type": "string" + }, + "html_url": { + "example": "https://github.com/apps/super-ci", + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "node_id": { + "example": "MDExOkludGVncmF0aW9uMQ==", + "type": "string" + }, + "owner": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "pem": { + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"", + "type": "string" + }, + "permissions": { + "additionalProperties": { + "type": "string" + }, + "description": "The set of permissions for the GitHub app", + "example": { + "deployments": "write", + "issues": "read" + }, + "properties": { + "checks": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + }, + "issues": { + "type": "string" + }, + "metadata": { + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "updated_at": { + "example": "2017-07-08T16:18:44-04:00", + "format": "date-time", + "type": "string" + }, + "webhook_secret": { + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ], + "title": "GitHub app", + "type": "object" + }, + "nullable-issue": { + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "nullable": true, + "properties": { + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "assignee": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "assignees": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "nullable": true, + "type": "array" + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "nullable": true, + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "properties": { + "color": { + "nullable": true, + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "format": "int64", + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + } + ] + }, + "type": "array" + }, + "labels_url": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "$ref": "#/components/schemas/nullable-milestone" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ], + "type": "object" + }, + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "enum": [ + "completed", + "reopened", + "not_planned" + ], + "example": "not_planned", + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "author_association", + "created_at", + "updated_at" + ], + "title": "Issue", + "type": "object" + }, + "nullable-license-simple": { + "description": "License Simple", + "nullable": true, + "properties": { + "html_url": { + "format": "uri", + "type": "string" + }, + "key": { + "example": "mit", + "type": "string" + }, + "name": { + "example": "MIT License", + "type": "string" + }, + "node_id": { + "example": "MDc6TGljZW5zZW1pdA==", + "type": "string" + }, + "spdx_id": { + "example": "MIT", + "nullable": true, + "type": "string" + }, + "url": { + "example": "https://api.github.com/licenses/mit", + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "title": "License Simple", + "type": "object" + }, + "nullable-milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "example": "2013-02-12T13:22:01Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "example": 8, + "type": "integer" + }, + "created_at": { + "example": "2011-04-10T20:09:31Z", + "format": "date-time", + "type": "string" + }, + "creator": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "description": { + "example": "Tracking milestone for version 1.0", + "nullable": true, + "type": "string" + }, + "due_on": { + "example": "2012-10-09T23:39:01Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World/milestones/v1.0", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1002604, + "type": "integer" + }, + "labels_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "format": "uri", + "type": "string" + }, + "node_id": { + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "example": 42, + "type": "integer" + }, + "open_issues": { + "example": 4, + "type": "integer" + }, + "state": { + "default": "open", + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "example": "open", + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "updated_at": { + "example": "2014-03-03T18:58:10Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ], + "title": "Milestone", + "type": "object" + }, + "nullable-minimal-repository": { + "description": "Minimal Repository", + "nullable": true, + "properties": { + "allow_forking": { + "type": "boolean" + }, + "archive_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "type": "string" + }, + "blobs_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "type": "string" + }, + "branches_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "code_of_conduct": { + "$ref": "#/components/schemas/code-of-conduct" + }, + "collaborators_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "type": "string" + }, + "comments_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}", + "type": "string" + }, + "commits_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "type": "string" + }, + "compare_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "type": "string" + }, + "contents_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "type": "string" + }, + "contributors_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/contributors", + "format": "uri", + "type": "string" + }, + "created_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/deployments", + "format": "uri", + "type": "string" + }, + "description": { + "example": "This your first repo!", + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/downloads", + "format": "uri", + "type": "string" + }, + "events_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/events", + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "example": 0, + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/forks", + "format": "uri", + "type": "string" + }, + "full_name": { + "example": "octocat/Hello-World", + "type": "string" + }, + "git_commits_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "type": "string" + }, + "git_refs_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "type": "string" + }, + "git_tags_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_discussions": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/hooks", + "format": "uri", + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1296269, + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "type": "string" + }, + "issue_events_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "type": "string" + }, + "issues_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}", + "type": "string" + }, + "keys_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "type": "string" + }, + "labels_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/languages", + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "merges_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/merges", + "format": "uri", + "type": "string" + }, + "milestones_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "type": "string" + }, + "mirror_url": { + "nullable": true, + "type": "string" + }, + "name": { + "example": "Hello-World", + "type": "string" + }, + "network_count": { + "type": "integer" + }, + "node_id": { + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "type": "string" + }, + "notifications_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "type": "string" + }, + "open_issues": { + "example": 0, + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "type": "string" + }, + "pushed_at": { + "example": "2011-01-26T19:06:43Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "releases_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}", + "type": "string" + }, + "role_name": { + "example": "admin", + "type": "string" + }, + "security_and_analysis": { + "$ref": "#/components/schemas/security-and-analysis" + }, + "size": { + "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers", + "format": "uri", + "type": "string" + }, + "statuses_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "type": "string" + }, + "subscribers_count": { + "type": "integer" + }, + "subscribers_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers", + "format": "uri", + "type": "string" + }, + "subscription_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/subscription", + "format": "uri", + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/tags", + "format": "uri", + "type": "string" + }, + "teams_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/teams", + "format": "uri", + "type": "string" + }, + "temp_clone_token": { + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "type": "string" + }, + "updated_at": { + "example": "2011-01-26T19:14:43Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "visibility": { + "type": "string" + }, + "watchers": { + "example": 0, + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "example": false, + "type": "boolean" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "title": "Minimal Repository", + "type": "object" + }, + "nullable-repository": { + "description": "A repository on GitHub.", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow Auto-merge to be used on pull requests.", + "example": false, + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "example": true, + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "example": true, + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "example": true, + "type": "boolean" + }, + "allow_update_branch": { + "default": false, + "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.", + "example": false, + "type": "boolean" + }, + "anonymous_access_enabled": { + "description": "Whether anonymous git access is enabled for this repository", + "type": "boolean" + }, + "archive_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "type": "string" + }, + "blobs_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "type": "string" + }, + "branches_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "type": "string" + }, + "clone_url": { + "example": "https://github.com/octocat/Hello-World.git", + "type": "string" + }, + "collaborators_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "type": "string" + }, + "comments_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}", + "type": "string" + }, + "commits_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "type": "string" + }, + "compare_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "type": "string" + }, + "contents_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "type": "string" + }, + "contributors_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/contributors", + "format": "uri", + "type": "string" + }, + "created_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "default_branch": { + "description": "The default branch of the repository.", + "example": "master", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "example": false, + "type": "boolean" + }, + "deployments_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/deployments", + "format": "uri", + "type": "string" + }, + "description": { + "example": "This your first repo!", + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository disabled.", + "type": "boolean" + }, + "downloads_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/downloads", + "format": "uri", + "type": "string" + }, + "events_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/events", + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "example": 9, + "type": "integer" + }, + "forks_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/forks", + "format": "uri", + "type": "string" + }, + "full_name": { + "example": "octocat/Hello-World", + "type": "string" + }, + "git_commits_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "type": "string" + }, + "git_refs_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "type": "string" + }, + "git_tags_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "type": "string" + }, + "git_url": { + "example": "git:github.com/octocat/Hello-World.git", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "example": true, + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "example": true, + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "example": true, + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "example": true, + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "example": true, + "type": "boolean" + }, + "homepage": { + "example": "https://github.com", + "format": "uri", + "nullable": true, + "type": "string" + }, + "hooks_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/hooks", + "format": "uri", + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer" + }, + "is_template": { + "default": false, + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "example": true, + "type": "boolean" + }, + "issue_comment_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "type": "string" + }, + "issue_events_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "type": "string" + }, + "issues_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}", + "type": "string" + }, + "keys_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "type": "string" + }, + "labels_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/languages", + "format": "uri", + "type": "string" + }, + "license": { + "$ref": "#/components/schemas/nullable-license-simple" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/merges", + "format": "uri", + "type": "string" + }, + "milestones_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "type": "string" + }, + "mirror_url": { + "example": "git:git.example.com/octocat/Hello-World", + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "example": "Team Environment", + "type": "string" + }, + "network_count": { + "type": "integer" + }, + "node_id": { + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "type": "string" + }, + "notifications_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "example": 0, + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ], + "type": "object" + }, + "private": { + "default": false, + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "pulls_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "type": "string" + }, + "pushed_at": { + "example": "2011-01-26T19:06:43Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "releases_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}", + "type": "string" + }, + "size": { + "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", + "example": 108, + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "example": "git@github.com:octocat/Hello-World.git", + "type": "string" + }, + "stargazers_count": { + "example": 80, + "type": "integer" + }, + "stargazers_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers", + "format": "uri", + "type": "string" + }, + "starred_at": { + "example": "\"2020-07-09T00:17:42Z\"", + "type": "string" + }, + "statuses_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "type": "string" + }, + "subscribers_count": { + "type": "integer" + }, + "subscribers_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers", + "format": "uri", + "type": "string" + }, + "subscription_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/subscription", + "format": "uri", + "type": "string" + }, + "svn_url": { + "example": "https://svn.github.com/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "tags_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/tags", + "format": "uri", + "type": "string" + }, + "teams_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/teams", + "format": "uri", + "type": "string" + }, + "temp_clone_token": { + "type": "string" + }, + "template_repository": { + "nullable": true, + "properties": { + "allow_auto_merge": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "network_count": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_count": { + "type": "integer" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "temp_clone_token": { + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "watchers_count": { + "type": "integer" + } + }, + "type": "object" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "type": "string" + }, + "updated_at": { + "example": "2011-01-26T19:14:43Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "deprecated": true, + "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.", + "type": "boolean" + }, + "visibility": { + "default": "public", + "description": "The repository visibility: public, private, or internal.", + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "example": 80, + "type": "integer" + }, + "web_commit_signoff_required": { + "default": false, + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ], + "title": "Repository", + "type": "object" + }, + "nullable-scoped-installation": { + "nullable": true, + "properties": { + "account": { + "$ref": "#/components/schemas/simple-user" + }, + "has_multiple_single_files": { + "example": true, + "type": "boolean" + }, + "permissions": { + "$ref": "#/components/schemas/app-permissions" + }, + "repositories_url": { + "example": "https://api.github.com/users/octocat/repos", + "format": "uri", + "type": "string" + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "enum": [ + "all", + "selected" + ], + "type": "string" + }, + "single_file_name": { + "example": "config.yaml", + "nullable": true, + "type": "string" + }, + "single_file_paths": { + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "permissions", + "repository_selection", + "single_file_name", + "repositories_url", + "account" + ], + "title": "Scoped Installation", + "type": "object" + }, + "nullable-simple-commit": { + "description": "A commit.", + "nullable": true, + "properties": { + "author": { + "nullable": true, + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name", + "email" + ], + "type": "object" + }, + "committer": { + "nullable": true, + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name", + "email" + ], + "type": "object" + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "timestamp": { + "format": "date-time", + "type": "string" + }, + "tree_id": { + "type": "string" + } + }, + "required": [ + "id", + "tree_id", + "message", + "timestamp", + "author", + "committer" + ], + "title": "Simple Commit", + "type": "object" + }, + "nullable-simple-user": { + "description": "A GitHub user.", + "nullable": true, + "properties": { + "avatar_url": { + "example": "https://github.com/images/error/octocat_happy.gif", + "format": "uri", + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "example": "https://api.github.com/users/octocat/events{/privacy}", + "type": "string" + }, + "followers_url": { + "example": "https://api.github.com/users/octocat/followers", + "format": "uri", + "type": "string" + }, + "following_url": { + "example": "https://api.github.com/users/octocat/following{/other_user}", + "type": "string" + }, + "gists_url": { + "example": "https://api.github.com/users/octocat/gists{/gist_id}", + "type": "string" + }, + "gravatar_id": { + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true, + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "login": { + "example": "octocat", + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "example": "MDQ6VXNlcjE=", + "type": "string" + }, + "organizations_url": { + "example": "https://api.github.com/users/octocat/orgs", + "format": "uri", + "type": "string" + }, + "received_events_url": { + "example": "https://api.github.com/users/octocat/received_events", + "format": "uri", + "type": "string" + }, + "repos_url": { + "example": "https://api.github.com/users/octocat/repos", + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "example": "\"2020-07-09T00:17:55Z\"", + "type": "string" + }, + "starred_url": { + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "type": "string" + }, + "subscriptions_url": { + "example": "https://api.github.com/users/octocat/subscriptions", + "format": "uri", + "type": "string" + }, + "type": { + "example": "User", + "type": "string" + }, + "url": { + "example": "https://api.github.com/users/octocat", + "format": "uri", + "type": "string" + } + }, + "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" + ], + "title": "Simple User", + "type": "object" + }, + "nullable-team-simple": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "example": "A great team.", + "nullable": true, + "type": "string" + }, + "html_url": { + "example": "https://github.com/orgs/rails/teams/core", + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "example": 1, + "type": "integer" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + }, + "members_url": { + "example": "https://api.github.com/organizations/1/team/1/members{/member}", + "type": "string" + }, + "name": { + "description": "Name of the team", + "example": "Justice League", + "type": "string" + }, + "node_id": { + "example": "MDQ6VGVhbTE=", + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "example": "admin", + "type": "string" + }, + "privacy": { + "description": "The level of privacy this team should have", + "example": "closed", + "type": "string" + }, + "repositories_url": { + "example": "https://api.github.com/organizations/1/team/1/repos", + "format": "uri", + "type": "string" + }, + "slug": { + "example": "justice-league", + "type": "string" + }, + "url": { + "description": "URL for the team", + "example": "https://api.github.com/organizations/1/team/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "title": "Team Simple", + "type": "object" + }, + "oidc-custom-sub": { + "description": "Actions OIDC Subject customization", + "properties": { + "include_claim_keys": { + "description": "Array of unique strings. Each claim key can only contain alphanumeric characters and underscores.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "include_claim_keys" + ], + "title": "Actions OIDC Subject customization", + "type": "object" + }, + "oidc-custom-sub-repo": { + "description": "Actions OIDC subject customization for a repository", + "properties": { + "include_claim_keys": { + "description": "Array of unique strings. Each claim key can only contain alphanumeric characters and underscores.", + "items": { + "type": "string" + }, + "type": "array" + }, + "use_default": { + "description": "Whether to use the default template or not. If `true`, the `include_claim_keys` field is ignored.", + "type": "boolean" + } + }, + "required": [ + "use_default" + ], + "title": "Actions OIDC subject customization for a repository", + "type": "object" + }, + "org-hook": { + "description": "Org Hook", + "properties": { + "active": { + "example": true, + "type": "boolean" + }, + "config": { + "properties": { + "content_type": { + "example": "\"form\"", + "type": "string" + }, + "insecure_ssl": { + "example": "\"0\"", + "type": "string" + }, + "secret": { + "example": "\"********\"", + "type": "string" + }, + "url": { + "example": "\"http://example.com/2\"", + "type": "string" + } + }, + "type": "object" + }, + "created_at": { + "example": "2011-09-06T17:26:27Z", + "format": "date-time", + "type": "string" + }, + "deliveries_url": { + "example": "https://api.github.com/orgs/octocat/hooks/1/deliveries", + "format": "uri", + "type": "string" + }, + "events": { + "example": [ + "push", + "pull_request" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "example": 1, + "type": "integer" + }, + "name": { + "example": "web", + "type": "string" + }, + "ping_url": { + "example": "https://api.github.com/orgs/octocat/hooks/1/pings", + "format": "uri", + "type": "string" + }, + "type": { + "type": "string" + }, + "updated_at": { + "example": "2011-09-06T20:39:23Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/orgs/octocat/hooks/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "type", + "name", + "active", + "events", + "config", + "ping_url", + "created_at", + "updated_at" + ], + "title": "Org Hook", + "type": "object" + }, + "org-membership": { + "description": "Org Membership", + "properties": { + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "organization_url": { + "example": "https://api.github.com/orgs/octocat", + "format": "uri", + "type": "string" + }, + "permissions": { + "properties": { + "can_create_repository": { + "type": "boolean" + } + }, + "required": [ + "can_create_repository" + ], + "type": "object" + }, + "role": { + "description": "The user's membership type in the organization.", + "enum": [ + "admin", + "member", + "billing_manager" + ], + "example": "admin", + "type": "string" + }, + "state": { + "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", + "enum": [ + "active", + "pending" + ], + "example": "active", + "type": "string" + }, + "url": { + "example": "https://api.github.com/orgs/octocat/memberships/defunkt", + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "state", + "role", + "organization_url", + "url", + "organization", + "user" + ], + "title": "Org Membership", + "type": "object" + }, + "organization-actions-secret": { + "description": "Secrets for GitHub Actions for an organization.", + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "description": "The name of the secret.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "selected_repositories_url": { + "example": "https://api.github.com/organizations/org/secrets/my_secret/repositories", + "format": "uri", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "visibility": { + "description": "Visibility of a secret", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + } + }, + "required": [ + "name", + "created_at", + "updated_at", + "visibility" + ], + "title": "Actions Secret for an Organization", + "type": "object" + }, + "organization-actions-variable": { + "description": "Organization variable for GitHub Actions.", + "properties": { + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "format": "date-time", + "type": "string" + }, + "name": { + "description": "The name of the variable.", + "example": "USERNAME", + "type": "string" + }, + "selected_repositories_url": { + "example": "https://api.github.com/organizations/org/variables/USERNAME/repositories", + "format": "uri", + "type": "string" + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "format": "date-time", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at", + "visibility" + ], + "title": "Actions Variable for an Organization", + "type": "object" + }, + "organization-dependabot-secret": { + "description": "Secrets for GitHub Dependabot for an organization.", + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "description": "The name of the secret.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "selected_repositories_url": { + "example": "https://api.github.com/organizations/org/dependabot/secrets/my_secret/repositories", + "format": "uri", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "visibility": { + "description": "Visibility of a secret", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + } + }, + "required": [ + "name", + "created_at", + "updated_at", + "visibility" + ], + "title": "Dependabot Secret for an Organization", + "type": "object" + }, + "organization-full": { + "description": "Organization Full", + "properties": { + "advanced_security_enabled_for_new_repositories": { + "description": "Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "example": false, + "type": "boolean" + }, + "avatar_url": { + "example": "https://github.com/images/error/octocat_happy.gif", + "type": "string" + }, + "billing_email": { + "example": "org@example.com", + "format": "email", + "nullable": true, + "type": "string" + }, + "blog": { + "example": "https://github.com/blog", + "format": "uri", + "type": "string" + }, + "collaborators": { + "example": 8, + "nullable": true, + "type": "integer" + }, + "company": { + "example": "GitHub", + "type": "string" + }, + "created_at": { + "example": "2008-01-14T04:33:35Z", + "format": "date-time", + "type": "string" + }, + "default_repository_permission": { + "nullable": true, + "type": "string" + }, + "dependabot_alerts_enabled_for_new_repositories": { + "description": "Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to\nthis organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "example": false, + "type": "boolean" + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "description": "Whether dependabot security updates are automatically enabled for new repositories and repositories transferred\nto this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "example": false, + "type": "boolean" + }, + "dependency_graph_enabled_for_new_repositories": { + "description": "Whether dependency graph is automatically enabled for new repositories and repositories transferred to this\norganization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "example": false, + "type": "boolean" + }, + "description": { + "example": "A great organization", + "nullable": true, + "type": "string" + }, + "disk_usage": { + "example": 10000, + "nullable": true, + "type": "integer" + }, + "email": { + "example": "octocat@github.com", + "format": "email", + "type": "string" + }, + "events_url": { + "example": "https://api.github.com/orgs/github/events", + "format": "uri", + "type": "string" + }, + "followers": { + "example": 20, + "type": "integer" + }, + "following": { + "example": 0, + "type": "integer" + }, + "has_organization_projects": { + "example": true, + "type": "boolean" + }, + "has_repository_projects": { + "example": true, + "type": "boolean" + }, + "hooks_url": { + "example": "https://api.github.com/orgs/github/hooks", + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "is_verified": { + "example": true, + "type": "boolean" + }, + "issues_url": { + "example": "https://api.github.com/orgs/github/issues", + "type": "string" + }, + "location": { + "example": "San Francisco", + "type": "string" + }, + "login": { + "example": "github", + "type": "string" + }, + "members_allowed_repository_creation_type": { + "example": "all", + "type": "string" + }, + "members_can_create_internal_repositories": { + "example": true, + "type": "boolean" + }, + "members_can_create_pages": { + "example": true, + "type": "boolean" + }, + "members_can_create_private_pages": { + "example": true, + "type": "boolean" + }, + "members_can_create_private_repositories": { + "example": true, + "type": "boolean" + }, + "members_can_create_public_pages": { + "example": true, + "type": "boolean" + }, + "members_can_create_public_repositories": { + "example": true, + "type": "boolean" + }, + "members_can_create_repositories": { + "example": true, + "nullable": true, + "type": "boolean" + }, + "members_can_fork_private_repositories": { + "example": false, + "nullable": true, + "type": "boolean" + }, + "members_url": { + "example": "https://api.github.com/orgs/github/members{/member}", + "type": "string" + }, + "name": { + "example": "github", + "type": "string" + }, + "node_id": { + "example": "MDEyOk9yZ2FuaXphdGlvbjE=", + "type": "string" + }, + "owned_private_repos": { + "example": 100, + "type": "integer" + }, + "plan": { + "properties": { + "filled_seats": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "private_repos": { + "type": "integer" + }, + "seats": { + "type": "integer" + }, + "space": { + "type": "integer" + } + }, + "required": [ + "name", + "space", + "private_repos" + ], + "type": "object" + }, + "private_gists": { + "example": 81, + "nullable": true, + "type": "integer" + }, + "public_gists": { + "example": 1, + "type": "integer" + }, + "public_members_url": { + "example": "https://api.github.com/orgs/github/public_members{/member}", + "type": "string" + }, + "public_repos": { + "example": 2, + "type": "integer" + }, + "repos_url": { + "example": "https://api.github.com/orgs/github/repos", + "format": "uri", + "type": "string" + }, + "secret_scanning_enabled_for_new_repositories": { + "description": "Whether secret scanning is automatically enabled for new repositories and repositories transferred to this\norganization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "example": false, + "type": "boolean" + }, + "secret_scanning_push_protection_custom_link": { + "description": "An optional URL string to display to contributors who are blocked from pushing a secret.", + "example": "https://github.com/test-org/test-repo/blob/main/README.md", + "nullable": true, + "type": "string" + }, + "secret_scanning_push_protection_custom_link_enabled": { + "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection.", + "example": false, + "type": "boolean" + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "description": "Whether secret scanning push protection is automatically enabled for new repositories and repositories\ntransferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "example": false, + "type": "boolean" + }, + "total_private_repos": { + "example": 100, + "type": "integer" + }, + "twitter_username": { + "example": "github", + "nullable": true, + "type": "string" + }, + "two_factor_requirement_enabled": { + "example": true, + "nullable": true, + "type": "boolean" + }, + "type": { + "example": "Organization", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/orgs/github", + "format": "uri", + "type": "string" + }, + "web_commit_signoff_required": { + "example": false, + "type": "boolean" + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description", + "html_url", + "has_organization_projects", + "has_repository_projects", + "public_repos", + "public_gists", + "followers", + "following", + "type", + "created_at", + "updated_at" + ], + "title": "Organization Full", + "type": "object" + }, + "organization-invitation": { + "description": "Organization Invitation", + "properties": { + "created_at": { + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "failed_at": { + "nullable": true, + "type": "string" + }, + "failed_reason": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "invitation_source": { + "example": "\"member\"", + "type": "string" + }, + "invitation_teams_url": { + "example": "\"https://api.github.com/organizations/16/invitations/1/teams\"", + "type": "string" + }, + "inviter": { + "$ref": "#/components/schemas/simple-user" + }, + "login": { + "nullable": true, + "type": "string" + }, + "node_id": { + "example": "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\"", + "type": "string" + }, + "role": { + "type": "string" + }, + "team_count": { + "type": "integer" + } + }, + "required": [ + "id", + "login", + "email", + "role", + "created_at", + "inviter", + "team_count", + "invitation_teams_url", + "node_id" + ], + "title": "Organization Invitation", + "type": "object" + }, + "organization-secret-scanning-alert": { + "properties": { + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_url": { + "description": "The REST API URL of the code locations for this alert.", + "format": "uri", + "type": "string" + }, + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "push_protection_bypassed": { + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true, + "type": "boolean" + }, + "push_protection_bypassed_at": { + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "push_protection_bypassed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolution_comment": { + "description": "The comment that was optionally added when this alert was closed", + "nullable": true, + "type": "string" + }, + "resolved_at": { + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "resolved_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "secret": { + "description": "The secret that was detected.", + "type": "string" + }, + "secret_type": { + "description": "The type of secret that secret scanning detected.", + "type": "string" + }, + "secret_type_display_name": { + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security).\"", + "type": "string" + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "updated_at": { + "$ref": "#/components/schemas/nullable-alert-updated-at" + }, + "url": { + "$ref": "#/components/schemas/alert-url" + } + }, + "type": "object" + }, + "organization-simple": { + "description": "A GitHub organization.", + "properties": { + "avatar_url": { + "example": "https://github.com/images/error/octocat_happy.gif", + "type": "string" + }, + "description": { + "example": "A great organization", + "nullable": true, + "type": "string" + }, + "events_url": { + "example": "https://api.github.com/orgs/github/events", + "format": "uri", + "type": "string" + }, + "hooks_url": { + "example": "https://api.github.com/orgs/github/hooks", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "issues_url": { + "example": "https://api.github.com/orgs/github/issues", + "type": "string" + }, + "login": { + "example": "github", + "type": "string" + }, + "members_url": { + "example": "https://api.github.com/orgs/github/members{/member}", + "type": "string" + }, + "node_id": { + "example": "MDEyOk9yZ2FuaXphdGlvbjE=", + "type": "string" + }, + "public_members_url": { + "example": "https://api.github.com/orgs/github/public_members{/member}", + "type": "string" + }, + "repos_url": { + "example": "https://api.github.com/orgs/github/repos", + "format": "uri", + "type": "string" + }, + "url": { + "example": "https://api.github.com/orgs/github", + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ], + "title": "Organization Simple", + "type": "object" + }, + "package": { + "description": "A software package", + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "html_url": { + "example": "https://github.com/orgs/github/packages/container/package/super-linter", + "type": "string" + }, + "id": { + "description": "Unique identifier of the package.", + "example": 1, + "type": "integer" + }, + "name": { + "description": "The name of the package.", + "example": "super-linter", + "type": "string" + }, + "owner": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "package_type": { + "enum": [ + "npm", + "maven", + "rubygems", + "docker", + "nuget", + "container" + ], + "example": "docker", + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/nullable-minimal-repository" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/orgs/github/packages/container/super-linter", + "type": "string" + }, + "version_count": { + "description": "The number of versions of the package.", + "example": 1, + "type": "integer" + }, + "visibility": { + "enum": [ + "private", + "public" + ], + "example": "private", + "type": "string" + } + }, + "required": [ + "id", + "name", + "package_type", + "visibility", + "url", + "html_url", + "version_count", + "created_at", + "updated_at" + ], + "title": "Package", + "type": "object" + }, + "package-version": { + "description": "A version of a software package", + "properties": { + "created_at": { + "example": "2011-04-10T20:09:31Z", + "format": "date-time", + "type": "string" + }, + "deleted_at": { + "example": "2014-03-03T18:58:10Z", + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "html_url": { + "example": "https://github.com/orgs/github/packages/container/super-linter/786068", + "type": "string" + }, + "id": { + "description": "Unique identifier of the package version.", + "example": 1, + "type": "integer" + }, + "license": { + "example": "MIT", + "type": "string" + }, + "metadata": { + "properties": { + "container": { + "properties": { + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "tags" + ], + "title": "Container Metadata", + "type": "object" + }, + "docker": { + "properties": { + "tag": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "tags" + ], + "title": "Docker Metadata", + "type": "object" + }, + "package_type": { + "enum": [ + "npm", + "maven", + "rubygems", + "docker", + "nuget", + "container" + ], + "example": "docker", + "type": "string" + } + }, + "required": [ + "package_type" + ], + "title": "Package Version Metadata", + "type": "object" + }, + "name": { + "description": "The name of the package version.", + "example": "latest", + "type": "string" + }, + "package_html_url": { + "example": "https://github.com/orgs/github/packages/container/package/super-linter", + "type": "string" + }, + "updated_at": { + "example": "2014-03-03T18:58:10Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/orgs/github/packages/container/super-linter/versions/786068", + "type": "string" + } + }, + "required": [ + "id", + "name", + "url", + "package_html_url", + "created_at", + "updated_at" + ], + "title": "Package Version", + "type": "object" + }, + "packages-billing-usage": { + "properties": { + "included_gigabytes_bandwidth": { + "description": "Free storage space (GB) for GitHub Packages.", + "type": "integer" + }, + "total_gigabytes_bandwidth_used": { + "description": "Sum of the free and paid storage space (GB) for GitHuub Packages.", + "type": "integer" + }, + "total_paid_gigabytes_bandwidth_used": { + "description": "Total paid storage space (GB) for GitHuub Packages.", + "type": "integer" + } + }, + "required": [ + "total_gigabytes_bandwidth_used", + "total_paid_gigabytes_bandwidth_used", + "included_gigabytes_bandwidth" + ], + "type": "object" + }, + "page": { + "description": "The configuration for GitHub Pages for a repository.", + "properties": { + "build_type": { + "description": "The process in which the Page will be built.", + "enum": [ + "legacy", + "workflow" + ], + "example": "legacy", + "nullable": true, + "type": "string" + }, + "cname": { + "description": "The Pages site's custom domain", + "example": "example.com", + "nullable": true, + "type": "string" + }, + "custom_404": { + "default": false, + "description": "Whether the Page has a custom 404 page.", + "example": false, + "type": "boolean" + }, + "html_url": { + "description": "The web address the Page can be accessed from.", + "example": "https://example.com", + "format": "uri", + "type": "string" + }, + "https_certificate": { + "$ref": "#/components/schemas/pages-https-certificate" + }, + "https_enforced": { + "description": "Whether https is enabled on the domain", + "example": true, + "type": "boolean" + }, + "pending_domain_unverified_at": { + "description": "The timestamp when a pending domain becomes unverified.", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "protected_domain_state": { + "description": "The state if the domain is verified", + "enum": [ + "pending", + "verified", + "unverified" + ], + "example": "pending", + "nullable": true, + "type": "string" + }, + "public": { + "description": "Whether the GitHub Pages site is publicly visible. If set to `true`, the site is accessible to anyone on the internet. If set to `false`, the site will only be accessible to users who have at least `read` access to the repository that published the site.", + "example": true, + "type": "boolean" + }, + "source": { + "$ref": "#/components/schemas/pages-source-hash" + }, + "status": { + "description": "The status of the most recent build of the Page.", + "enum": [ + "built", + "building", + "errored" + ], + "example": "built", + "nullable": true, + "type": "string" + }, + "url": { + "description": "The API address for accessing this Page resource.", + "example": "https://api.github.com/repos/github/hello-world/pages", + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "status", + "cname", + "custom_404", + "public" + ], + "title": "GitHub Pages", + "type": "object" + }, + "page-build": { + "description": "Page Build", + "properties": { + "commit": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "duration": { + "type": "integer" + }, + "error": { + "properties": { + "message": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "pusher": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "status": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "status", + "error", + "pusher", + "commit", + "duration", + "created_at", + "updated_at" + ], + "title": "Page Build", + "type": "object" + }, + "page-build-status": { + "description": "Page Build Status", + "properties": { + "status": { + "example": "queued", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/github/hello-world/pages/builds/latest", + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "status" + ], + "title": "Page Build Status", + "type": "object" + }, + "page-deployment": { + "description": "The GitHub Pages deployment status.", + "properties": { + "page_url": { + "description": "The URI to the deployed GitHub Pages.", + "example": "hello-world.github.io", + "format": "uri", + "type": "string" + }, + "preview_url": { + "description": "The URI to the deployed GitHub Pages preview.", + "example": "monalisa-1231a2312sa32-23sda74.drafts.github.io", + "format": "uri", + "type": "string" + }, + "status_url": { + "description": "The URI to monitor GitHub Pages deployment status.", + "example": "https://api.github.com/repos/github/hello-world/pages/deployments/4fd754f7e594640989b406850d0bc8f06a121251/status", + "format": "uri", + "type": "string" + } + }, + "required": [ + "status_url", + "page_url" + ], + "title": "GitHub Pages", + "type": "object" + }, + "pages-health-check": { + "description": "Pages Health Check Status", + "properties": { + "alt_domain": { + "nullable": true, + "properties": { + "caa_error": { + "nullable": true, + "type": "string" + }, + "dns_resolves": { + "type": "boolean" + }, + "enforces_https": { + "type": "boolean" + }, + "has_cname_record": { + "nullable": true, + "type": "boolean" + }, + "has_mx_records_present": { + "nullable": true, + "type": "boolean" + }, + "host": { + "type": "string" + }, + "https_error": { + "nullable": true, + "type": "string" + }, + "is_a_record": { + "nullable": true, + "type": "boolean" + }, + "is_apex_domain": { + "type": "boolean" + }, + "is_cloudflare_ip": { + "nullable": true, + "type": "boolean" + }, + "is_cname_to_fastly": { + "nullable": true, + "type": "boolean" + }, + "is_cname_to_github_user_domain": { + "nullable": true, + "type": "boolean" + }, + "is_cname_to_pages_dot_github_dot_com": { + "nullable": true, + "type": "boolean" + }, + "is_fastly_ip": { + "nullable": true, + "type": "boolean" + }, + "is_https_eligible": { + "nullable": true, + "type": "boolean" + }, + "is_non_github_pages_ip_present": { + "nullable": true, + "type": "boolean" + }, + "is_old_ip_address": { + "nullable": true, + "type": "boolean" + }, + "is_pages_domain": { + "type": "boolean" + }, + "is_pointed_to_github_pages_ip": { + "nullable": true, + "type": "boolean" + }, + "is_proxied": { + "nullable": true, + "type": "boolean" + }, + "is_served_by_pages": { + "nullable": true, + "type": "boolean" + }, + "is_valid": { + "type": "boolean" + }, + "is_valid_domain": { + "type": "boolean" + }, + "nameservers": { + "type": "string" + }, + "reason": { + "nullable": true, + "type": "string" + }, + "responds_to_https": { + "type": "boolean" + }, + "should_be_a_record": { + "nullable": true, + "type": "boolean" + }, + "uri": { + "type": "string" + } + }, + "type": "object" + }, + "domain": { + "properties": { + "caa_error": { + "nullable": true, + "type": "string" + }, + "dns_resolves": { + "type": "boolean" + }, + "enforces_https": { + "type": "boolean" + }, + "has_cname_record": { + "nullable": true, + "type": "boolean" + }, + "has_mx_records_present": { + "nullable": true, + "type": "boolean" + }, + "host": { + "type": "string" + }, + "https_error": { + "nullable": true, + "type": "string" + }, + "is_a_record": { + "nullable": true, + "type": "boolean" + }, + "is_apex_domain": { + "type": "boolean" + }, + "is_cloudflare_ip": { + "nullable": true, + "type": "boolean" + }, + "is_cname_to_fastly": { + "nullable": true, + "type": "boolean" + }, + "is_cname_to_github_user_domain": { + "nullable": true, + "type": "boolean" + }, + "is_cname_to_pages_dot_github_dot_com": { + "nullable": true, + "type": "boolean" + }, + "is_fastly_ip": { + "nullable": true, + "type": "boolean" + }, + "is_https_eligible": { + "nullable": true, + "type": "boolean" + }, + "is_non_github_pages_ip_present": { + "nullable": true, + "type": "boolean" + }, + "is_old_ip_address": { + "nullable": true, + "type": "boolean" + }, + "is_pages_domain": { + "type": "boolean" + }, + "is_pointed_to_github_pages_ip": { + "nullable": true, + "type": "boolean" + }, + "is_proxied": { + "nullable": true, + "type": "boolean" + }, + "is_served_by_pages": { + "nullable": true, + "type": "boolean" + }, + "is_valid": { + "type": "boolean" + }, + "is_valid_domain": { + "type": "boolean" + }, + "nameservers": { + "type": "string" + }, + "reason": { + "nullable": true, + "type": "string" + }, + "responds_to_https": { + "type": "boolean" + }, + "should_be_a_record": { + "nullable": true, + "type": "boolean" + }, + "uri": { + "type": "string" + } + }, + "type": "object" + } + }, + "title": "Pages Health Check Status", + "type": "object" + }, + "pages-https-certificate": { + "properties": { + "description": { + "example": "Certificate is approved", + "type": "string" + }, + "domains": { + "description": "Array of the domain set and its alternate name (if it is configured)", + "example": [ + "example.com", + "www.example.com" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "expires_at": { + "format": "date", + "type": "string" + }, + "state": { + "enum": [ + "new", + "authorization_created", + "authorization_pending", + "authorized", + "authorization_revoked", + "issued", + "uploaded", + "approved", + "errored", + "bad_authz", + "destroy_pending", + "dns_changed" + ], + "example": "approved", + "type": "string" + } + }, + "required": [ + "state", + "description", + "domains" + ], + "title": "Pages Https Certificate", + "type": "object" + }, + "pages-source-hash": { + "properties": { + "branch": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "branch", + "path" + ], + "title": "Pages Source Hash", + "type": "object" + }, + "participation-stats": { + "properties": { + "all": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "owner": { + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "all", + "owner" + ], + "title": "Participation Stats", + "type": "object" + }, + "pending-deployment": { + "description": "Details of a deployment that is waiting for protection rules to pass", + "properties": { + "current_user_can_approve": { + "description": "Whether the currently authenticated user can approve the deployment", + "example": true, + "type": "boolean" + }, + "environment": { + "properties": { + "html_url": { + "example": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging", + "type": "string" + }, + "id": { + "description": "The id of the environment.", + "example": 56780428, + "type": "integer" + }, + "name": { + "description": "The name of the environment.", + "example": "staging", + "type": "string" + }, + "node_id": { + "example": "MDExOkVudmlyb25tZW50NTY3ODA0Mjg=", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/github/hello-world/environments/staging", + "type": "string" + } + }, + "type": "object" + }, + "reviewers": { + "description": "The people or teams that may approve jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.", + "items": { + "properties": { + "reviewer": { + "anyOf": [ + { + "$ref": "#/components/schemas/simple-user" + }, + { + "$ref": "#/components/schemas/team" + } + ] + }, + "type": { + "$ref": "#/components/schemas/deployment-reviewer-type" + } + }, + "type": "object" + }, + "type": "array" + }, + "wait_timer": { + "description": "The set duration of the wait timer", + "example": 30, + "type": "integer" + }, + "wait_timer_started_at": { + "description": "The time that the wait timer began.", + "example": "2020-11-23T22:00:40Z", + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "environment", + "wait_timer", + "wait_timer_started_at", + "current_user_can_approve", + "reviewers" + ], + "title": "Pending Deployment", + "type": "object" + }, + "porter-author": { + "description": "Porter Author", + "properties": { + "email": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "import_url": { + "format": "uri", + "type": "string" + }, + "name": { + "type": "string" + }, + "remote_id": { + "type": "string" + }, + "remote_name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "remote_id", + "remote_name", + "email", + "name", + "url", + "import_url" + ], + "title": "Porter Author", + "type": "object" + }, + "porter-large-file": { + "description": "Porter Large File", + "properties": { + "oid": { + "type": "string" + }, + "path": { + "type": "string" + }, + "ref_name": { + "type": "string" + }, + "size": { + "type": "integer" + } + }, + "required": [ + "oid", + "path", + "ref_name", + "size" + ], + "title": "Porter Large File", + "type": "object" + }, + "private-user": { + "description": "Private User", + "properties": { + "avatar_url": { + "example": "https://github.com/images/error/octocat_happy.gif", + "format": "uri", + "type": "string" + }, + "bio": { + "example": "There once was...", + "nullable": true, + "type": "string" + }, + "blog": { + "example": "https://github.com/blog", + "nullable": true, + "type": "string" + }, + "business_plus": { + "type": "boolean" + }, + "collaborators": { + "example": 8, + "type": "integer" + }, + "company": { + "example": "GitHub", + "nullable": true, + "type": "string" + }, + "created_at": { + "example": "2008-01-14T04:33:35Z", + "format": "date-time", + "type": "string" + }, + "disk_usage": { + "example": 10000, + "type": "integer" + }, + "email": { + "example": "octocat@github.com", + "format": "email", + "nullable": true, + "type": "string" + }, + "events_url": { + "example": "https://api.github.com/users/octocat/events{/privacy}", + "type": "string" + }, + "followers": { + "example": 20, + "type": "integer" + }, + "followers_url": { + "example": "https://api.github.com/users/octocat/followers", + "format": "uri", + "type": "string" + }, + "following": { + "example": 0, + "type": "integer" + }, + "following_url": { + "example": "https://api.github.com/users/octocat/following{/other_user}", + "type": "string" + }, + "gists_url": { + "example": "https://api.github.com/users/octocat/gists{/gist_id}", + "type": "string" + }, + "gravatar_id": { + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true, + "type": "string" + }, + "hireable": { + "nullable": true, + "type": "boolean" + }, + "html_url": { + "example": "https://github.com/octocat", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "ldap_dn": { + "type": "string" + }, + "location": { + "example": "San Francisco", + "nullable": true, + "type": "string" + }, + "login": { + "example": "octocat", + "type": "string" + }, + "name": { + "example": "monalisa octocat", + "nullable": true, + "type": "string" + }, + "node_id": { + "example": "MDQ6VXNlcjE=", + "type": "string" + }, + "organizations_url": { + "example": "https://api.github.com/users/octocat/orgs", + "format": "uri", + "type": "string" + }, + "owned_private_repos": { + "example": 100, + "type": "integer" + }, + "plan": { + "properties": { + "collaborators": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "private_repos": { + "type": "integer" + }, + "space": { + "type": "integer" + } + }, + "required": [ + "collaborators", + "name", + "space", + "private_repos" + ], + "type": "object" + }, + "private_gists": { + "example": 81, + "type": "integer" + }, + "public_gists": { + "example": 1, + "type": "integer" + }, + "public_repos": { + "example": 2, + "type": "integer" + }, + "received_events_url": { + "example": "https://api.github.com/users/octocat/received_events", + "format": "uri", + "type": "string" + }, + "repos_url": { + "example": "https://api.github.com/users/octocat/repos", + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "type": "string" + }, + "subscriptions_url": { + "example": "https://api.github.com/users/octocat/subscriptions", + "format": "uri", + "type": "string" + }, + "suspended_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "total_private_repos": { + "example": 100, + "type": "integer" + }, + "twitter_username": { + "example": "monalisa", + "nullable": true, + "type": "string" + }, + "two_factor_authentication": { + "example": true, + "type": "boolean" + }, + "type": { + "example": "User", + "type": "string" + }, + "updated_at": { + "example": "2008-01-14T04:33:35Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/users/octocat", + "format": "uri", + "type": "string" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url", + "bio", + "blog", + "company", + "email", + "followers", + "following", + "hireable", + "location", + "name", + "public_gists", + "public_repos", + "created_at", + "updated_at", + "collaborators", + "disk_usage", + "owned_private_repos", + "private_gists", + "total_private_repos", + "two_factor_authentication" + ], + "title": "Private User", + "type": "object" + }, + "project": { + "description": "Projects are a way to organize columns and cards of work.", + "properties": { + "body": { + "description": "Body of the project", + "example": "This project represents the sprint of the first week in January", + "nullable": true, + "type": "string" + }, + "columns_url": { + "example": "https://api.github.com/projects/1002604/columns", + "format": "uri", + "type": "string" + }, + "created_at": { + "example": "2011-04-10T20:09:31Z", + "format": "date-time", + "type": "string" + }, + "creator": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "html_url": { + "example": "https://github.com/api-playground/projects-test/projects/12", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1002604, + "type": "integer" + }, + "name": { + "description": "Name of the project", + "example": "Week One Sprint", + "type": "string" + }, + "node_id": { + "example": "MDc6UHJvamVjdDEwMDI2MDQ=", + "type": "string" + }, + "number": { + "example": 1, + "type": "integer" + }, + "organization_permission": { + "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", + "enum": [ + "read", + "write", + "admin", + "none" + ], + "type": "string" + }, + "owner_url": { + "example": "https://api.github.com/repos/api-playground/projects-test", + "format": "uri", + "type": "string" + }, + "private": { + "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", + "type": "boolean" + }, + "state": { + "description": "State of the project; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "updated_at": { + "example": "2014-03-03T18:58:10Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/projects/1002604", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "number", + "name", + "body", + "state", + "url", + "html_url", + "owner_url", + "creator", + "columns_url", + "created_at", + "updated_at" + ], + "title": "Project", + "type": "object" + }, + "project-card": { + "description": "Project cards represent a scope of work.", + "properties": { + "archived": { + "description": "Whether or not the card is archived", + "example": false, + "type": "boolean" + }, + "column_name": { + "type": "string" + }, + "column_url": { + "example": "https://api.github.com/projects/columns/367", + "format": "uri", + "type": "string" + }, + "content_url": { + "example": "https://api.github.com/repos/api-playground/projects-test/issues/3", + "format": "uri", + "type": "string" + }, + "created_at": { + "example": "2016-09-05T14:21:06Z", + "format": "date-time", + "type": "string" + }, + "creator": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "id": { + "description": "The project card's ID", + "example": 42, + "type": "integer" + }, + "node_id": { + "example": "MDExOlByb2plY3RDYXJkMTQ3OA==", + "type": "string" + }, + "note": { + "example": "Add payload for delete Project column", + "nullable": true, + "type": "string" + }, + "project_id": { + "type": "string" + }, + "project_url": { + "example": "https://api.github.com/projects/120", + "format": "uri", + "type": "string" + }, + "updated_at": { + "example": "2016-09-05T14:20:22Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/projects/columns/cards/1478", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "note", + "url", + "column_url", + "project_url", + "creator", + "created_at", + "updated_at" + ], + "title": "Project Card", + "type": "object" + }, + "project-collaborator-permission": { + "description": "Project Collaborator Permission", + "properties": { + "permission": { + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "permission", + "user" + ], + "title": "Project Collaborator Permission", + "type": "object" + }, + "project-column": { + "description": "Project columns contain cards of work.", + "properties": { + "cards_url": { + "example": "https://api.github.com/projects/columns/367/cards", + "format": "uri", + "type": "string" + }, + "created_at": { + "example": "2016-09-05T14:18:44Z", + "format": "date-time", + "type": "string" + }, + "id": { + "description": "The unique identifier of the project column", + "example": 42, + "type": "integer" + }, + "name": { + "description": "Name of the project column", + "example": "Remaining tasks", + "type": "string" + }, + "node_id": { + "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=", + "type": "string" + }, + "project_url": { + "example": "https://api.github.com/projects/120", + "format": "uri", + "type": "string" + }, + "updated_at": { + "example": "2016-09-05T14:22:28Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/projects/columns/367", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "project_url", + "cards_url", + "name", + "created_at", + "updated_at" + ], + "title": "Project Column", + "type": "object" + }, + "projects-v2": { + "description": "A projects v2 project", + "properties": { + "closed_at": { + "example": "2022-04-28T12:00:00Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "created_at": { + "example": "2022-04-28T12:00:00Z", + "format": "date-time", + "type": "string" + }, + "creator": { + "$ref": "#/components/schemas/simple-user" + }, + "deleted_at": { + "example": "2022-04-28T12:00:00Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "deleted_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "public": { + "type": "boolean" + }, + "short_description": { + "nullable": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "example": "2022-04-28T12:00:00Z", + "format": "date-time", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "creator", + "title", + "description", + "public", + "closed_at", + "created_at", + "updated_at", + "number", + "short_description", + "deleted_at", + "deleted_by" + ], + "title": "Projects v2 Project", + "type": "object" + }, + "projects-v2-item": { + "description": "An item belonging to a project", + "properties": { + "archived_at": { + "example": "2022-04-28T12:00:00Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "content_node_id": { + "type": "string" + }, + "content_type": { + "$ref": "#/components/schemas/projects-v2-item-content-type" + }, + "created_at": { + "example": "2022-04-28T12:00:00Z", + "format": "date-time", + "type": "string" + }, + "creator": { + "$ref": "#/components/schemas/simple-user" + }, + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "project_node_id": { + "type": "string" + }, + "updated_at": { + "example": "2022-04-28T12:00:00Z", + "format": "date-time", + "type": "string" + } + }, + "required": [ + "id", + "content_node_id", + "content_type", + "created_at", + "updated_at", + "archived_at" + ], + "title": "Projects v2 Item", + "type": "object" + }, + "projects-v2-item-content-type": { + "description": "The type of content tracked in a project item", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ], + "title": "Projects v2 Item Content Type", + "type": "string" + }, + "protected-branch": { + "description": "Branch protections protect branches", + "properties": { + "allow_deletions": { + "additionalProperties": false, + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" + }, + "allow_force_pushes": { + "additionalProperties": false, + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" + }, + "allow_fork_syncing": { + "additionalProperties": false, + "description": "Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing.", + "properties": { + "enabled": { + "default": false, + "type": "boolean" + } + }, + "type": "object" + }, + "block_creations": { + "additionalProperties": false, + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" + }, + "enforce_admins": { + "additionalProperties": false, + "properties": { + "enabled": { + "type": "boolean" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "enabled" + ], + "type": "object" + }, + "lock_branch": { + "additionalProperties": false, + "description": "Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.", + "properties": { + "enabled": { + "default": false, + "type": "boolean" + } + }, + "type": "object" + }, + "required_conversation_resolution": { + "additionalProperties": false, + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "required_linear_history": { + "additionalProperties": false, + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" + }, + "required_pull_request_reviews": { + "properties": { + "bypass_pull_request_allowances": { + "properties": { + "apps": { + "items": { + "$ref": "#/components/schemas/integration" + }, + "type": "array" + }, + "teams": { + "items": { + "$ref": "#/components/schemas/team" + }, + "type": "array" + }, + "users": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + }, + "required": [ + "users", + "teams" + ], + "type": "object" + }, + "dismiss_stale_reviews": { + "type": "boolean" + }, + "dismissal_restrictions": { + "properties": { + "apps": { + "items": { + "$ref": "#/components/schemas/integration" + }, + "type": "array" + }, + "teams": { + "items": { + "$ref": "#/components/schemas/team" + }, + "type": "array" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "users": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + }, + "users_url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "users_url", + "teams_url", + "users", + "teams" + ], + "type": "object" + }, + "require_code_owner_reviews": { + "type": "boolean" + }, + "require_last_push_approval": { + "default": false, + "description": "Whether the most recent push must be approved by someone other than the person who pushed it.", + "type": "boolean" + }, + "required_approving_review_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "required_signatures": { + "properties": { + "enabled": { + "example": true, + "type": "boolean" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures", + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "enabled" + ], + "type": "object" + }, + "required_status_checks": { + "$ref": "#/components/schemas/status-check-policy" + }, + "restrictions": { + "$ref": "#/components/schemas/branch-restriction-policy" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url" + ], + "title": "Protected Branch", + "type": "object" + }, + "protected-branch-admin-enforced": { + "description": "Protected Branch Admin Enforced", + "properties": { + "enabled": { + "example": true, + "type": "boolean" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins", + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "enabled" + ], + "title": "Protected Branch Admin Enforced", + "type": "object" + }, + "protected-branch-pull-request-review": { + "description": "Protected Branch Pull Request Review", + "properties": { + "bypass_pull_request_allowances": { + "description": "Allow specific users, teams, or apps to bypass pull request requirements.", + "properties": { + "apps": { + "description": "The list of apps allowed to bypass pull request requirements.", + "items": { + "$ref": "#/components/schemas/integration" + }, + "type": "array" + }, + "teams": { + "description": "The list of teams allowed to bypass pull request requirements.", + "items": { + "$ref": "#/components/schemas/team" + }, + "type": "array" + }, + "users": { + "description": "The list of users allowed to bypass pull request requirements.", + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + }, + "type": "object" + }, + "dismiss_stale_reviews": { + "example": true, + "type": "boolean" + }, + "dismissal_restrictions": { + "properties": { + "apps": { + "description": "The list of apps with review dismissal access.", + "items": { + "$ref": "#/components/schemas/integration" + }, + "type": "array" + }, + "teams": { + "description": "The list of teams with review dismissal access.", + "items": { + "$ref": "#/components/schemas/team" + }, + "type": "array" + }, + "teams_url": { + "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\"", + "type": "string" + }, + "url": { + "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\"", + "type": "string" + }, + "users": { + "description": "The list of users with review dismissal access.", + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + }, + "users_url": { + "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\"", + "type": "string" + } + }, + "type": "object" + }, + "require_code_owner_reviews": { + "example": true, + "type": "boolean" + }, + "require_last_push_approval": { + "default": false, + "description": "Whether the most recent push must be approved by someone other than the person who pushed it.", + "example": true, + "type": "boolean" + }, + "required_approving_review_count": { + "example": 2, + "maximum": 6, + "minimum": 0, + "type": "integer" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions", + "format": "uri", + "type": "string" + } + }, + "required": [ + "dismiss_stale_reviews", + "require_code_owner_reviews" + ], + "title": "Protected Branch Pull Request Review", + "type": "object" + }, + "protected-branch-required-status-check": { + "description": "Protected Branch Required Status Check", + "properties": { + "checks": { + "items": { + "properties": { + "app_id": { + "nullable": true, + "type": "integer" + }, + "context": { + "type": "string" + } + }, + "required": [ + "context", + "app_id" + ], + "type": "object" + }, + "type": "array" + }, + "contexts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "contexts_url": { + "type": "string" + }, + "enforcement_level": { + "type": "string" + }, + "strict": { + "type": "boolean" + }, + "url": { + "type": "string" + } + }, + "required": [ + "contexts", + "checks" + ], + "title": "Protected Branch Required Status Check", + "type": "object" + }, + "public-user": { + "additionalProperties": false, + "description": "Public User", + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "bio": { + "nullable": true, + "type": "string" + }, + "blog": { + "nullable": true, + "type": "string" + }, + "collaborators": { + "example": 3, + "type": "integer" + }, + "company": { + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "disk_usage": { + "example": 1, + "type": "integer" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers": { + "type": "integer" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following": { + "type": "integer" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "nullable": true, + "type": "string" + }, + "hireable": { + "nullable": true, + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "location": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "owned_private_repos": { + "example": 2, + "type": "integer" + }, + "plan": { + "properties": { + "collaborators": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "private_repos": { + "type": "integer" + }, + "space": { + "type": "integer" + } + }, + "required": [ + "collaborators", + "name", + "space", + "private_repos" + ], + "type": "object" + }, + "private_gists": { + "example": 1, + "type": "integer" + }, + "public_gists": { + "type": "integer" + }, + "public_repos": { + "type": "integer" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "suspended_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "total_private_repos": { + "example": 2, + "type": "integer" + }, + "twitter_username": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url", + "bio", + "blog", + "company", + "email", + "followers", + "following", + "hireable", + "location", + "name", + "public_gists", + "public_repos", + "created_at", + "updated_at" + ], + "title": "Public User", + "type": "object" + }, + "pull-request": { + "description": "Pull requests let you tell others about changes you've pushed to a repository on GitHub. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary.", + "properties": { + "_links": { + "properties": { + "comments": { + "$ref": "#/components/schemas/link" + }, + "commits": { + "$ref": "#/components/schemas/link" + }, + "html": { + "$ref": "#/components/schemas/link" + }, + "issue": { + "$ref": "#/components/schemas/link" + }, + "review_comment": { + "$ref": "#/components/schemas/link" + }, + "review_comments": { + "$ref": "#/components/schemas/link" + }, + "self": { + "$ref": "#/components/schemas/link" + }, + "statuses": { + "$ref": "#/components/schemas/link" + } + }, + "required": [ + "comments", + "commits", + "statuses", + "html", + "issue", + "review_comments", + "review_comment", + "self" + ], + "type": "object" + }, + "active_lock_reason": { + "example": "too heated", + "nullable": true, + "type": "string" + }, + "additions": { + "example": 100, + "type": "integer" + }, + "assignee": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "assignees": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "nullable": true, + "type": "array" + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "auto_merge": { + "$ref": "#/components/schemas/auto-merge" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "allow_forking": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_discussions": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "$ref": "#/components/schemas/nullable-license-simple" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "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" + ], + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ], + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "format": "date-time", + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "temp_clone_token": { + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "type": "boolean" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "has_discussions", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ], + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "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" + ], + "type": "object" + } + }, + "required": [ + "label", + "ref", + "repo", + "sha", + "user" + ], + "type": "object" + }, + "body": { + "example": "Please pull these awesome changes", + "nullable": true, + "type": "string" + }, + "changed_files": { + "example": 5, + "type": "integer" + }, + "closed_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "example": 10, + "type": "integer" + }, + "comments_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "format": "uri", + "type": "string" + }, + "commits": { + "example": 3, + "type": "integer" + }, + "commits_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits", + "format": "uri", + "type": "string" + }, + "created_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "type": "string" + }, + "deletions": { + "example": 3, + "type": "integer" + }, + "diff_url": { + "example": "https://github.com/octocat/Hello-World/pull/1347.diff", + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "example": false, + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "nullable": true, + "properties": { + "allow_forking": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_discussions": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "nullable": true, + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "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" + ], + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ], + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "format": "date-time", + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "temp_clone_token": { + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "type": "boolean" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "has_discussions", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ], + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "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" + ], + "type": "object" + } + }, + "required": [ + "label", + "ref", + "repo", + "sha", + "user" + ], + "type": "object" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World/pull/1347", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "issue_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "format": "int64", + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ], + "type": "object" + }, + "type": "array" + }, + "locked": { + "example": true, + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "example": true, + "type": "boolean" + }, + "merge_commit_sha": { + "example": "e5bd3914e2e596debea16f433f57875b5b90bcd6", + "nullable": true, + "type": "string" + }, + "mergeable": { + "example": true, + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "example": "clean", + "type": "string" + }, + "merged": { + "type": "boolean" + }, + "merged_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "milestone": { + "$ref": "#/components/schemas/nullable-milestone" + }, + "node_id": { + "example": "MDExOlB1bGxSZXF1ZXN0MQ==", + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "example": 42, + "type": "integer" + }, + "patch_url": { + "example": "https://github.com/octocat/Hello-World/pull/1347.patch", + "format": "uri", + "type": "string" + }, + "rebaseable": { + "example": true, + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "nullable": true, + "type": "array" + }, + "requested_teams": { + "items": { + "$ref": "#/components/schemas/team-simple" + }, + "nullable": true, + "type": "array" + }, + "review_comment_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}", + "type": "string" + }, + "review_comments": { + "example": 0, + "type": "integer" + }, + "review_comments_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments", + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "example": "open", + "type": "string" + }, + "statuses_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "example": "Amazing new feature", + "type": "string" + }, + "updated_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "_links", + "assignee", + "labels", + "base", + "body", + "closed_at", + "comments_url", + "commits_url", + "created_at", + "diff_url", + "head", + "html_url", + "id", + "node_id", + "issue_url", + "merge_commit_sha", + "merged_at", + "milestone", + "number", + "patch_url", + "review_comment_url", + "review_comments_url", + "statuses_url", + "state", + "locked", + "title", + "updated_at", + "url", + "user", + "author_association", + "auto_merge", + "additions", + "changed_files", + "comments", + "commits", + "deletions", + "mergeable", + "mergeable_state", + "merged", + "maintainer_can_modify", + "merged_by", + "review_comments" + ], + "title": "Pull Request", + "type": "object" + }, + "pull-request-merge-result": { + "description": "Pull Request Merge Result", + "properties": { + "merged": { + "type": "boolean" + }, + "message": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "merged", + "message", + "sha" + ], + "title": "Pull Request Merge Result", + "type": "object" + }, + "pull-request-minimal": { + "properties": { + "base": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "head": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "id": { + "type": "integer" + }, + "number": { + "type": "integer" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "number", + "url", + "head", + "base" + ], + "title": "Pull Request Minimal", + "type": "object" + }, + "pull-request-review": { + "description": "Pull Request Reviews are reviews on pull requests.", + "properties": { + "_links": { + "properties": { + "html": { + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ], + "type": "object" + }, + "pull_request": { + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ], + "type": "object" + } + }, + "required": [ + "html", + "pull_request" + ], + "type": "object" + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "body": { + "description": "The text of the review.", + "example": "This looks great.", + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "commit_id": { + "description": "A commit SHA for the review. If the commit object was garbage collected or forcibly deleted, then it no longer exists in Git and this value will be `null`.", + "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", + "nullable": true, + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80", + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the review", + "example": 42, + "type": "integer" + }, + "node_id": { + "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=", + "type": "string" + }, + "pull_request_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12", + "format": "uri", + "type": "string" + }, + "state": { + "example": "CHANGES_REQUESTED", + "type": "string" + }, + "submitted_at": { + "format": "date-time", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "id", + "node_id", + "user", + "body", + "state", + "commit_id", + "html_url", + "pull_request_url", + "_links", + "author_association" + ], + "title": "Pull Request Review", + "type": "object" + }, + "pull-request-review-comment": { + "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", + "properties": { + "_links": { + "properties": { + "html": { + "properties": { + "href": { + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "href" + ], + "type": "object" + }, + "pull_request": { + "properties": { + "href": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "href" + ], + "type": "object" + }, + "self": { + "properties": { + "href": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "href" + ], + "type": "object" + } + }, + "required": [ + "self", + "html", + "pull_request" + ], + "type": "object" + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "body": { + "description": "The text of the comment.", + "example": "We should probably include a check for null values here.", + "type": "string" + }, + "body_html": { + "example": "\"

comment body

\"", + "type": "string" + }, + "body_text": { + "example": "\"comment body\"", + "type": "string" + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "type": "string" + }, + "created_at": { + "example": "2011-04-14T16:00:49Z", + "format": "date-time", + "type": "string" + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection...", + "type": "string" + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1", + "format": "uri", + "type": "string" + }, + "id": { + "description": "The ID of the pull request review comment.", + "example": 1, + "type": "integer" + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "example": 8, + "type": "integer" + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw", + "type": "string" + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", + "type": "string" + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "original_position": { + "description": "The index of the original line in the diff to which the comment applies. This field is deprecated; use `original_line` instead.", + "example": 4, + "type": "integer" + }, + "original_start_line": { + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true, + "type": "integer" + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "example": "config/database.yaml", + "type": "string" + }, + "position": { + "description": "The line index in the diff to which the comment applies. This field is deprecated; use `line` instead.", + "example": 1, + "type": "integer" + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "example": 42, + "nullable": true, + "type": "integer" + }, + "pull_request_url": { + "description": "URL for the pull request that the review comment belongs to.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1", + "format": "uri", + "type": "string" + }, + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + }, + "side": { + "default": "RIGHT", + "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", + "enum": [ + "LEFT", + "RIGHT" + ], + "type": "string" + }, + "start_line": { + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true, + "type": "integer" + }, + "start_side": { + "default": "RIGHT", + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT" + ], + "nullable": true, + "type": "string" + }, + "updated_at": { + "example": "2011-04-14T16:00:49Z", + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the pull request review comment", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "url", + "id", + "node_id", + "pull_request_review_id", + "diff_hunk", + "path", + "position", + "original_position", + "commit_id", + "original_commit_id", + "user", + "body", + "created_at", + "updated_at", + "html_url", + "pull_request_url", + "author_association", + "_links" + ], + "title": "Pull Request Review Comment", + "type": "object" + }, + "pull-request-review-request": { + "description": "Pull Request Review Request", + "properties": { + "teams": { + "items": { + "$ref": "#/components/schemas/team" + }, + "type": "array" + }, + "users": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "type": "array" + } + }, + "required": [ + "users", + "teams" + ], + "title": "Pull Request Review Request", + "type": "object" + }, + "pull-request-simple": { + "description": "Pull Request Simple", + "properties": { + "_links": { + "properties": { + "comments": { + "$ref": "#/components/schemas/link" + }, + "commits": { + "$ref": "#/components/schemas/link" + }, + "html": { + "$ref": "#/components/schemas/link" + }, + "issue": { + "$ref": "#/components/schemas/link" + }, + "review_comment": { + "$ref": "#/components/schemas/link" + }, + "review_comments": { + "$ref": "#/components/schemas/link" + }, + "self": { + "$ref": "#/components/schemas/link" + }, + "statuses": { + "$ref": "#/components/schemas/link" + } + }, + "required": [ + "comments", + "commits", + "statuses", + "html", + "issue", + "review_comments", + "review_comment", + "self" + ], + "type": "object" + }, + "active_lock_reason": { + "example": "too heated", + "nullable": true, + "type": "string" + }, + "assignee": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "assignees": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "nullable": true, + "type": "array" + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "auto_merge": { + "$ref": "#/components/schemas/auto-merge" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "$ref": "#/components/schemas/repository" + }, + "sha": { + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "label", + "ref", + "repo", + "sha", + "user" + ], + "type": "object" + }, + "body": { + "example": "Please pull these awesome changes", + "nullable": true, + "type": "string" + }, + "closed_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "format": "uri", + "type": "string" + }, + "commits_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits", + "format": "uri", + "type": "string" + }, + "created_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "type": "string" + }, + "diff_url": { + "example": "https://github.com/octocat/Hello-World/pull/1347.diff", + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "example": false, + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "$ref": "#/components/schemas/repository" + }, + "sha": { + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "label", + "ref", + "repo", + "sha", + "user" + ], + "type": "object" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World/pull/1347", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "issue_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "id": { + "format": "int64", + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ], + "type": "object" + }, + "type": "array" + }, + "locked": { + "example": true, + "type": "boolean" + }, + "merge_commit_sha": { + "example": "e5bd3914e2e596debea16f433f57875b5b90bcd6", + "nullable": true, + "type": "string" + }, + "merged_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "milestone": { + "$ref": "#/components/schemas/nullable-milestone" + }, + "node_id": { + "example": "MDExOlB1bGxSZXF1ZXN0MQ==", + "type": "string" + }, + "number": { + "example": 1347, + "type": "integer" + }, + "patch_url": { + "example": "https://github.com/octocat/Hello-World/pull/1347.patch", + "format": "uri", + "type": "string" + }, + "requested_reviewers": { + "items": { + "$ref": "#/components/schemas/simple-user" + }, + "nullable": true, + "type": "array" + }, + "requested_teams": { + "items": { + "$ref": "#/components/schemas/team" + }, + "nullable": true, + "type": "array" + }, + "review_comment_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}", + "type": "string" + }, + "review_comments_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments", + "format": "uri", + "type": "string" + }, + "state": { + "example": "open", + "type": "string" + }, + "statuses_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", + "format": "uri", + "type": "string" + }, + "title": { + "example": "new-feature", + "type": "string" + }, + "updated_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "_links", + "assignee", + "labels", + "base", + "body", + "closed_at", + "comments_url", + "commits_url", + "created_at", + "diff_url", + "head", + "html_url", + "id", + "node_id", + "issue_url", + "merge_commit_sha", + "merged_at", + "milestone", + "number", + "patch_url", + "review_comment_url", + "review_comments_url", + "statuses_url", + "state", + "locked", + "title", + "updated_at", + "url", + "user", + "author_association", + "auto_merge" + ], + "title": "Pull Request Simple", + "type": "object" + }, + "rate-limit": { + "properties": { + "limit": { + "type": "integer" + }, + "remaining": { + "type": "integer" + }, + "reset": { + "type": "integer" + }, + "used": { + "type": "integer" + } + }, + "required": [ + "limit", + "remaining", + "reset", + "used" + ], + "title": "Rate Limit", + "type": "object" + }, + "rate-limit-overview": { + "description": "Rate Limit Overview", + "properties": { + "rate": { + "$ref": "#/components/schemas/rate-limit" + }, + "resources": { + "properties": { + "actions_runner_registration": { + "$ref": "#/components/schemas/rate-limit" + }, + "code_scanning_upload": { + "$ref": "#/components/schemas/rate-limit" + }, + "core": { + "$ref": "#/components/schemas/rate-limit" + }, + "dependency_snapshots": { + "$ref": "#/components/schemas/rate-limit" + }, + "graphql": { + "$ref": "#/components/schemas/rate-limit" + }, + "integration_manifest": { + "$ref": "#/components/schemas/rate-limit" + }, + "scim": { + "$ref": "#/components/schemas/rate-limit" + }, + "search": { + "$ref": "#/components/schemas/rate-limit" + }, + "source_import": { + "$ref": "#/components/schemas/rate-limit" + } + }, + "required": [ + "core", + "search" + ], + "type": "object" + } + }, + "required": [ + "rate", + "resources" + ], + "title": "Rate Limit Overview", + "type": "object" + }, + "reaction": { + "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "properties": { + "content": { + "description": "The reaction to use", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "example": "heart", + "type": "string" + }, + "created_at": { + "example": "2016-05-20T20:09:31Z", + "format": "date-time", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "node_id": { + "example": "MDg6UmVhY3Rpb24x", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "id", + "node_id", + "user", + "content", + "created_at" + ], + "title": "Reaction", + "type": "object" + }, + "reaction-rollup": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reaction Rollup", + "type": "object" + }, + "referenced-workflow": { + "description": "A workflow referenced/reused by the initial caller workflow", + "properties": { + "path": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "path", + "sha" + ], + "title": "Referenced workflow", + "type": "object" + }, + "referrer-traffic": { + "description": "Referrer Traffic", + "properties": { + "count": { + "example": 4, + "type": "integer" + }, + "referrer": { + "example": "Google", + "type": "string" + }, + "uniques": { + "example": 3, + "type": "integer" + } + }, + "required": [ + "referrer", + "uniques", + "count" + ], + "title": "Referrer Traffic", + "type": "object" + }, + "release": { + "description": "A release.", + "properties": { + "assets": { + "items": { + "$ref": "#/components/schemas/release-asset" + }, + "type": "array" + }, + "assets_url": { + "format": "uri", + "type": "string" + }, + "author": { + "$ref": "#/components/schemas/simple-user" + }, + "body": { + "nullable": true, + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "discussion_url": { + "description": "The URL of the release discussion.", + "format": "uri", + "type": "string" + }, + "draft": { + "description": "true to create a draft (unpublished) release, false to create a published one.", + "example": false, + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "mentions_count": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "prerelease": { + "description": "Whether to identify the release as a prerelease or a full release.", + "example": false, + "type": "boolean" + }, + "published_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + }, + "tag_name": { + "description": "The name of the tag.", + "example": "v1.0.0", + "type": "string" + }, + "tarball_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "target_commitish": { + "description": "Specifies the commitish value that determines where the Git tag is created from.", + "example": "master", + "type": "string" + }, + "upload_url": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "zipball_url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "assets_url", + "upload_url", + "tarball_url", + "zipball_url", + "created_at", + "published_at", + "draft", + "id", + "node_id", + "author", + "html_url", + "name", + "prerelease", + "tag_name", + "target_commitish", + "assets", + "url" + ], + "title": "Release", + "type": "object" + }, + "release-asset": { + "description": "Data related to a release.", + "properties": { + "browser_download_url": { + "format": "uri", + "type": "string" + }, + "content_type": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "download_count": { + "type": "integer" + }, + "id": { + "type": "integer" + }, + "label": { + "nullable": true, + "type": "string" + }, + "name": { + "description": "The file name of the asset.", + "example": "Team Environment", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "state": { + "description": "State of the release asset.", + "enum": [ + "uploaded", + "open" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "uploader": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "name", + "content_type", + "size", + "state", + "url", + "node_id", + "download_count", + "label", + "uploader", + "browser_download_url", + "created_at", + "updated_at" + ], + "title": "Release Asset", + "type": "object" + }, + "release-notes-content": { + "description": "Generated name and body describing a release", + "properties": { + "body": { + "description": "The generated body describing the contents of the release supporting markdown formatting", + "type": "string" + }, + "name": { + "description": "The generated name of the release", + "example": "Release v1.0.0 is now available!", + "type": "string" + } + }, + "required": [ + "name", + "body" + ], + "title": "Generated Release Notes Content", + "type": "object" + }, + "removed-from-project-issue-event": { + "description": "Removed from Project Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "project_card": { + "properties": { + "column_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "previous_column_name": { + "type": "string" + }, + "project_id": { + "type": "integer" + }, + "project_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "project_id", + "project_url", + "column_name" + ], + "type": "object" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ], + "title": "Removed from Project Issue Event", + "type": "object" + }, + "renamed-issue-event": { + "description": "Renamed Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "rename": { + "properties": { + "from": { + "type": "string" + }, + "to": { + "type": "string" + } + }, + "required": [ + "from", + "to" + ], + "type": "object" + }, + "url": { + "type": "string" + } + }, + "required": [ + "rename", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ], + "title": "Renamed Issue Event", + "type": "object" + }, + "repo-codespaces-secret": { + "description": "Set repository secrets for GitHub Codespaces.", + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "description": "The name of the secret.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ], + "title": "Codespaces Secret", + "type": "object" + }, + "repo-required-workflow": { + "description": "A GitHub Actions required workflow", + "properties": { + "badge_url": { + "example": "https://github.com/sample-org/sample-repo/workflows/required/sample-org/source-repo/.github/workflows/required_ci.yaml/badge.svg", + "type": "string" + }, + "created_at": { + "example": "2019-12-06T14:20:20.000Z", + "format": "date-time", + "type": "string" + }, + "html_url": { + "example": "https://github.com/sample-org/source-repo/blob/main/.github/workflows/required_ci.yaml", + "type": "string" + }, + "id": { + "example": 5, + "type": "integer" + }, + "name": { + "example": "Required CI", + "type": "string" + }, + "node_id": { + "example": "MDg6V29ya2Zsb3cxMg==", + "type": "string" + }, + "path": { + "example": ".github/workflows/required_ci.yaml", + "type": "string" + }, + "source_repository": { + "$ref": "#/components/schemas/minimal-repository" + }, + "state": { + "enum": [ + "active", + "deleted" + ], + "example": "active", + "type": "string" + }, + "updated_at": { + "example": "2019-12-06T14:20:20.000Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/sample-org/sample-repo/actions/required_workflows/5", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "name", + "path", + "state", + "source_repository", + "url", + "html_url", + "badge_url", + "created_at", + "updated_at" + ], + "title": "Required workflow", + "type": "object" + }, + "repo-search-result-item": { + "description": "Repo Search Result Item", + "properties": { + "allow_auto_merge": { + "type": "boolean" + }, + "allow_forking": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_discussions": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "$ref": "#/components/schemas/nullable-license-simple" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ], + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "format": "date-time", + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "score": { + "type": "number" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "temp_clone_token": { + "type": "string" + }, + "text_matches": { + "$ref": "#/components/schemas/search-result-text-matches" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "example": false, + "type": "boolean" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at", + "score" + ], + "title": "Repo Search Result Item", + "type": "object" + }, + "repository": { + "description": "A repository on GitHub.", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow Auto-merge to be used on pull requests.", + "example": false, + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "example": true, + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "example": true, + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "example": true, + "type": "boolean" + }, + "allow_update_branch": { + "default": false, + "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.", + "example": false, + "type": "boolean" + }, + "anonymous_access_enabled": { + "description": "Whether anonymous git access is enabled for this repository", + "type": "boolean" + }, + "archive_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "type": "string" + }, + "blobs_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "type": "string" + }, + "branches_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "type": "string" + }, + "clone_url": { + "example": "https://github.com/octocat/Hello-World.git", + "type": "string" + }, + "collaborators_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "type": "string" + }, + "comments_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}", + "type": "string" + }, + "commits_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "type": "string" + }, + "compare_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "type": "string" + }, + "contents_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "type": "string" + }, + "contributors_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/contributors", + "format": "uri", + "type": "string" + }, + "created_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "default_branch": { + "description": "The default branch of the repository.", + "example": "master", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "example": false, + "type": "boolean" + }, + "deployments_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/deployments", + "format": "uri", + "type": "string" + }, + "description": { + "example": "This your first repo!", + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository disabled.", + "type": "boolean" + }, + "downloads_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/downloads", + "format": "uri", + "type": "string" + }, + "events_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/events", + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "example": 9, + "type": "integer" + }, + "forks_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/forks", + "format": "uri", + "type": "string" + }, + "full_name": { + "example": "octocat/Hello-World", + "type": "string" + }, + "git_commits_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "type": "string" + }, + "git_refs_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "type": "string" + }, + "git_tags_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "type": "string" + }, + "git_url": { + "example": "git:github.com/octocat/Hello-World.git", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "example": true, + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "example": true, + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "example": true, + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "example": true, + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "example": true, + "type": "boolean" + }, + "homepage": { + "example": "https://github.com", + "format": "uri", + "nullable": true, + "type": "string" + }, + "hooks_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/hooks", + "format": "uri", + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer" + }, + "is_template": { + "default": false, + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "example": true, + "type": "boolean" + }, + "issue_comment_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "type": "string" + }, + "issue_events_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "type": "string" + }, + "issues_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}", + "type": "string" + }, + "keys_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "type": "string" + }, + "labels_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/languages", + "format": "uri", + "type": "string" + }, + "license": { + "$ref": "#/components/schemas/nullable-license-simple" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/merges", + "format": "uri", + "type": "string" + }, + "milestones_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "type": "string" + }, + "mirror_url": { + "example": "git:git.example.com/octocat/Hello-World", + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "example": "Team Environment", + "type": "string" + }, + "network_count": { + "type": "integer" + }, + "node_id": { + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "type": "string" + }, + "notifications_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "example": 0, + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ], + "type": "object" + }, + "private": { + "default": false, + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "pulls_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "type": "string" + }, + "pushed_at": { + "example": "2011-01-26T19:06:43Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "releases_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}", + "type": "string" + }, + "size": { + "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", + "example": 108, + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "example": "git@github.com:octocat/Hello-World.git", + "type": "string" + }, + "stargazers_count": { + "example": 80, + "type": "integer" + }, + "stargazers_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers", + "format": "uri", + "type": "string" + }, + "starred_at": { + "example": "\"2020-07-09T00:17:42Z\"", + "type": "string" + }, + "statuses_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "type": "string" + }, + "subscribers_count": { + "type": "integer" + }, + "subscribers_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers", + "format": "uri", + "type": "string" + }, + "subscription_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/subscription", + "format": "uri", + "type": "string" + }, + "svn_url": { + "example": "https://svn.github.com/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "tags_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/tags", + "format": "uri", + "type": "string" + }, + "teams_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/teams", + "format": "uri", + "type": "string" + }, + "temp_clone_token": { + "type": "string" + }, + "template_repository": { + "nullable": true, + "properties": { + "allow_auto_merge": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "network_count": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_count": { + "type": "integer" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "temp_clone_token": { + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "watchers_count": { + "type": "integer" + } + }, + "type": "object" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "type": "string" + }, + "updated_at": { + "example": "2011-01-26T19:14:43Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "deprecated": true, + "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.", + "type": "boolean" + }, + "visibility": { + "default": "public", + "description": "The repository visibility: public, private, or internal.", + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "example": 80, + "type": "integer" + }, + "web_commit_signoff_required": { + "default": false, + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ], + "title": "Repository", + "type": "object" + }, + "repository-collaborator-permission": { + "description": "Repository Collaborator Permission", + "properties": { + "permission": { + "type": "string" + }, + "role_name": { + "example": "admin", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-collaborator" + } + }, + "required": [ + "permission", + "role_name", + "user" + ], + "title": "Repository Collaborator Permission", + "type": "object" + }, + "repository-invitation": { + "description": "Repository invitations let you manage who you collaborate with.", + "properties": { + "created_at": { + "example": "2016-06-13T14:52:50-05:00", + "format": "date-time", + "type": "string" + }, + "expired": { + "description": "Whether or not the invitation has expired", + "type": "boolean" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World/invitations", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository invitation.", + "example": 42, + "type": "integer" + }, + "invitee": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "inviter": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "node_id": { + "type": "string" + }, + "permissions": { + "description": "The permission associated with the invitation.", + "enum": [ + "read", + "write", + "admin", + "triage", + "maintain" + ], + "example": "read", + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/minimal-repository" + }, + "url": { + "description": "URL for the repository invitation", + "example": "https://api.github.com/user/repository-invitations/1", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "permissions", + "inviter", + "invitee", + "repository", + "url", + "html_url", + "created_at" + ], + "title": "Repository Invitation", + "type": "object" + }, + "repository-subscription": { + "description": "Repository invitations let you manage who you collaborate with.", + "properties": { + "created_at": { + "example": "2012-10-06T21:34:12Z", + "format": "date-time", + "type": "string" + }, + "ignored": { + "description": "Determines if all notifications should be blocked from this repository.", + "type": "boolean" + }, + "reason": { + "nullable": true, + "type": "string" + }, + "repository_url": { + "example": "https://api.github.com/repos/octocat/example", + "format": "uri", + "type": "string" + }, + "subscribed": { + "description": "Determines if notifications should be received from this repository.", + "example": true, + "type": "boolean" + }, + "url": { + "example": "https://api.github.com/repos/octocat/example/subscription", + "format": "uri", + "type": "string" + } + }, + "required": [ + "created_at", + "ignored", + "reason", + "subscribed", + "url", + "repository_url" + ], + "title": "Repository Invitation", + "type": "object" + }, + "required-workflow": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "description": "Unique identifier for a required workflow", + "type": "number" + }, + "name": { + "description": "Name present in the workflow file", + "type": "string" + }, + "path": { + "description": "Path of the workflow file", + "type": "string" + }, + "ref": { + "description": "Ref at which the workflow file will be selected", + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/minimal-repository" + }, + "scope": { + "description": "Scope of the required workflow", + "enum": [ + "all", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "example": "https://api.github.com/organizations/org/actions/required_workflows/1/repositories", + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the required workflow", + "enum": [ + "active", + "deleted" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "scope", + "ref", + "state", + "created_at", + "updated_at", + "repository" + ], + "type": "object" + }, + "review-comment": { + "description": "Legacy Review Comment", + "properties": { + "_links": { + "properties": { + "html": { + "$ref": "#/components/schemas/link" + }, + "pull_request": { + "$ref": "#/components/schemas/link" + }, + "self": { + "$ref": "#/components/schemas/link" + } + }, + "required": [ + "self", + "html", + "pull_request" + ], + "type": "object" + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "body": { + "example": "Great stuff", + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "commit_id": { + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "type": "string" + }, + "created_at": { + "example": "2011-04-14T16:00:49Z", + "format": "date-time", + "type": "string" + }, + "diff_hunk": { + "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection...", + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1", + "format": "uri", + "type": "string" + }, + "id": { + "example": 10, + "type": "integer" + }, + "in_reply_to_id": { + "example": 8, + "type": "integer" + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "node_id": { + "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw", + "type": "string" + }, + "original_commit_id": { + "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", + "type": "string" + }, + "original_line": { + "description": "The original line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "original_position": { + "example": 4, + "type": "integer" + }, + "original_start_line": { + "description": "The original first line of the range for a multi-line comment.", + "example": 2, + "nullable": true, + "type": "integer" + }, + "path": { + "example": "file1.txt", + "type": "string" + }, + "position": { + "example": 1, + "nullable": true, + "type": "integer" + }, + "pull_request_review_id": { + "example": 42, + "nullable": true, + "type": "integer" + }, + "pull_request_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1", + "format": "uri", + "type": "string" + }, + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + }, + "side": { + "default": "RIGHT", + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT" + ], + "type": "string" + }, + "start_line": { + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true, + "type": "integer" + }, + "start_side": { + "default": "RIGHT", + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT" + ], + "nullable": true, + "type": "string" + }, + "updated_at": { + "example": "2011-04-14T16:00:49Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "id", + "node_id", + "url", + "body", + "diff_hunk", + "path", + "position", + "original_position", + "commit_id", + "original_commit_id", + "user", + "pull_request_review_id", + "html_url", + "pull_request_url", + "_links", + "author_association", + "created_at", + "updated_at" + ], + "title": "Legacy Review Comment", + "type": "object" + }, + "review-dismissed-issue-event": { + "description": "Review Dismissed Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "dismissed_review": { + "properties": { + "dismissal_commit_id": { + "type": "string" + }, + "dismissal_message": { + "nullable": true, + "type": "string" + }, + "review_id": { + "type": "integer" + }, + "state": { + "type": "string" + } + }, + "required": [ + "state", + "review_id", + "dismissal_message" + ], + "type": "object" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "url": { + "type": "string" + } + }, + "required": [ + "dismissed_review", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ], + "title": "Review Dismissed Issue Event", + "type": "object" + }, + "review-request-removed-issue-event": { + "description": "Review Request Removed Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "requested_reviewer": { + "$ref": "#/components/schemas/simple-user" + }, + "requested_team": { + "$ref": "#/components/schemas/team" + }, + "review_requester": { + "$ref": "#/components/schemas/simple-user" + }, + "url": { + "type": "string" + } + }, + "required": [ + "review_requester", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ], + "title": "Review Request Removed Issue Event", + "type": "object" + }, + "review-requested-issue-event": { + "description": "Review Requested Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "requested_reviewer": { + "$ref": "#/components/schemas/simple-user" + }, + "requested_team": { + "$ref": "#/components/schemas/team" + }, + "review_requester": { + "$ref": "#/components/schemas/simple-user" + }, + "url": { + "type": "string" + } + }, + "required": [ + "review_requester", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ], + "title": "Review Requested Issue Event", + "type": "object" + }, + "root": { + "properties": { + "authorizations_url": { + "format": "uri-template", + "type": "string" + }, + "code_search_url": { + "format": "uri-template", + "type": "string" + }, + "commit_search_url": { + "format": "uri-template", + "type": "string" + }, + "current_user_authorizations_html_url": { + "format": "uri-template", + "type": "string" + }, + "current_user_repositories_url": { + "format": "uri-template", + "type": "string" + }, + "current_user_url": { + "format": "uri-template", + "type": "string" + }, + "emails_url": { + "format": "uri-template", + "type": "string" + }, + "emojis_url": { + "format": "uri-template", + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "feeds_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri-template", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "hub_url": { + "format": "uri-template", + "type": "string" + }, + "issue_search_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "label_search_url": { + "format": "uri-template", + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "organization_repositories_url": { + "format": "uri-template", + "type": "string" + }, + "organization_teams_url": { + "format": "uri-template", + "type": "string" + }, + "organization_url": { + "format": "uri-template", + "type": "string" + }, + "public_gists_url": { + "format": "uri-template", + "type": "string" + }, + "rate_limit_url": { + "format": "uri-template", + "type": "string" + }, + "repository_search_url": { + "format": "uri-template", + "type": "string" + }, + "repository_url": { + "format": "uri-template", + "type": "string" + }, + "starred_gists_url": { + "format": "uri-template", + "type": "string" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "topic_search_url": { + "format": "uri-template", + "type": "string" + }, + "user_organizations_url": { + "format": "uri-template", + "type": "string" + }, + "user_repositories_url": { + "format": "uri-template", + "type": "string" + }, + "user_search_url": { + "format": "uri-template", + "type": "string" + }, + "user_url": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "current_user_url", + "current_user_authorizations_html_url", + "authorizations_url", + "code_search_url", + "commit_search_url", + "emails_url", + "emojis_url", + "events_url", + "feeds_url", + "followers_url", + "following_url", + "gists_url", + "hub_url", + "issue_search_url", + "issues_url", + "keys_url", + "label_search_url", + "notifications_url", + "organization_url", + "organization_repositories_url", + "organization_teams_url", + "public_gists_url", + "rate_limit_url", + "repository_url", + "repository_search_url", + "current_user_repositories_url", + "starred_url", + "starred_gists_url", + "user_url", + "user_organizations_url", + "user_repositories_url", + "user_search_url" + ], + "type": "object" + }, + "runner": { + "description": "A self hosted runner", + "properties": { + "busy": { + "type": "boolean" + }, + "id": { + "description": "The id of the runner.", + "example": 5, + "type": "integer" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/runner-label" + }, + "type": "array" + }, + "name": { + "description": "The name of the runner.", + "example": "iMac", + "type": "string" + }, + "os": { + "description": "The Operating System of the runner.", + "example": "macos", + "type": "string" + }, + "status": { + "description": "The status of the runner.", + "example": "online", + "type": "string" + } + }, + "required": [ + "id", + "name", + "os", + "status", + "busy", + "labels" + ], + "title": "Self hosted runners", + "type": "object" + }, + "runner-application": { + "description": "Runner Application", + "properties": { + "architecture": { + "type": "string" + }, + "download_url": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "os": { + "type": "string" + }, + "sha256_checksum": { + "type": "string" + }, + "temp_download_token": { + "description": "A short lived bearer token used to download the runner, if needed.", + "type": "string" + } + }, + "required": [ + "os", + "architecture", + "download_url", + "filename" + ], + "title": "Runner Application", + "type": "object" + }, + "runner-label": { + "description": "A label for a self hosted runner", + "properties": { + "id": { + "description": "Unique identifier of the label.", + "type": "integer" + }, + "name": { + "description": "Name of the label.", + "type": "string" + }, + "type": { + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ], + "type": "string" + } + }, + "required": [ + "name" + ], + "title": "Self hosted runner label", + "type": "object" + }, + "scim-error": { + "description": "Scim Error", + "properties": { + "detail": { + "nullable": true, + "type": "string" + }, + "documentation_url": { + "nullable": true, + "type": "string" + }, + "message": { + "nullable": true, + "type": "string" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "scimType": { + "nullable": true, + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "title": "Scim Error", + "type": "object" + }, + "search-result-text-matches": { + "items": { + "properties": { + "fragment": { + "type": "string" + }, + "matches": { + "items": { + "properties": { + "indices": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "text": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "object_type": { + "nullable": true, + "type": "string" + }, + "object_url": { + "type": "string" + }, + "property": { + "type": "string" + } + }, + "type": "object" + }, + "title": "Search Result Text Matches", + "type": "array" + }, + "secret-scanning-alert": { + "properties": { + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_url": { + "description": "The REST API URL of the code locations for this alert.", + "format": "uri", + "type": "string" + }, + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "push_protection_bypassed": { + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true, + "type": "boolean" + }, + "push_protection_bypassed_at": { + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "push_protection_bypassed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolution_comment": { + "description": "An optional comment to resolve an alert.", + "nullable": true, + "type": "string" + }, + "resolved_at": { + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "resolved_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "secret": { + "description": "The secret that was detected.", + "type": "string" + }, + "secret_type": { + "description": "The type of secret that secret scanning detected.", + "type": "string" + }, + "secret_type_display_name": { + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security).\"", + "type": "string" + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "updated_at": { + "$ref": "#/components/schemas/nullable-alert-updated-at" + }, + "url": { + "$ref": "#/components/schemas/alert-url" + } + }, + "type": "object" + }, + "secret-scanning-alert-resolution": { + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + null, + "false_positive", + "wont_fix", + "revoked", + "used_in_tests" + ], + "nullable": true, + "type": "string" + }, + "secret-scanning-alert-resolution-comment": { + "description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.", + "nullable": true, + "type": "string" + }, + "secret-scanning-alert-state": { + "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", + "enum": [ + "open", + "resolved" + ], + "type": "string" + }, + "secret-scanning-location": { + "properties": { + "details": { + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + } + ] + }, + "type": { + "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.", + "enum": [ + "commit", + "issue_title", + "issue_body", + "issue_comment" + ], + "example": "commit", + "type": "string" + } + }, + "required": [ + "type", + "details" + ], + "type": "object" + }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "properties": { + "blob_sha": { + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "type": "string" + }, + "blob_url": { + "description": "The API URL to get the associated blob resource", + "type": "string" + }, + "commit_sha": { + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "type": "string" + }, + "commit_url": { + "description": "The API URL to get the associated commit resource", + "type": "string" + }, + "end_column": { + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII", + "type": "number" + }, + "end_line": { + "description": "Line number at which the secret ends in the file", + "type": "number" + }, + "path": { + "description": "The file path in the repository", + "example": "/example/secrets.txt", + "type": "string" + }, + "start_column": { + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII", + "type": "number" + }, + "start_line": { + "description": "Line number at which the secret starts in the file", + "type": "number" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ], + "type": "object" + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "properties": { + "issue_body_url": { + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "format": "uri", + "type": "string" + } + }, + "required": [ + "issue_body_url" + ], + "type": "object" + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "properties": { + "issue_comment_url": { + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451", + "format": "uri", + "type": "string" + } + }, + "required": [ + "issue_comment_url" + ], + "type": "object" + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "properties": { + "issue_title_url": { + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "format": "uri", + "type": "string" + } + }, + "required": [ + "issue_title_url" + ], + "type": "object" + }, + "security-and-analysis": { + "nullable": true, + "properties": { + "advanced_security": { + "properties": { + "status": { + "enum": [ + "enabled", + "disabled" + ], + "type": "string" + } + }, + "type": "object" + }, + "secret_scanning": { + "properties": { + "status": { + "enum": [ + "enabled", + "disabled" + ], + "type": "string" + } + }, + "type": "object" + }, + "secret_scanning_push_protection": { + "properties": { + "status": { + "enum": [ + "enabled", + "disabled" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "selected-actions": { + "properties": { + "github_owned_allowed": { + "description": "Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization.", + "type": "boolean" + }, + "patterns_allowed": { + "description": "Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.\n\n**Note**: The `patterns_allowed` setting only applies to public repositories.", + "items": { + "type": "string" + }, + "type": "array" + }, + "verified_allowed": { + "description": "Whether actions from GitHub Marketplace verified creators are allowed. Set to `true` to allow all actions by GitHub Marketplace verified creators.", + "type": "boolean" + } + }, + "type": "object" + }, + "selected-actions-url": { + "description": "The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`.", + "type": "string" + }, + "short-blob": { + "description": "Short Blob", + "properties": { + "sha": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "url", + "sha" + ], + "title": "Short Blob", + "type": "object" + }, + "short-branch": { + "description": "Short Branch", + "properties": { + "commit": { + "properties": { + "sha": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "url" + ], + "type": "object" + }, + "name": { + "type": "string" + }, + "protected": { + "type": "boolean" + }, + "protection": { + "$ref": "#/components/schemas/branch-protection" + }, + "protection_url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "commit", + "protected" + ], + "title": "Short Branch", + "type": "object" + }, + "simple-check-suite": { + "description": "A suite of checks performed on the code of a given code change", + "properties": { + "after": { + "example": "d6fde92930d4715a2b49857d24b940956b26d2d3", + "nullable": true, + "type": "string" + }, + "app": { + "$ref": "#/components/schemas/integration" + }, + "before": { + "example": "146e867f55c26428e5f9fade55a9bbf5e95a7912", + "nullable": true, + "type": "string" + }, + "conclusion": { + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "skipped", + "timed_out", + "action_required", + "stale", + "startup_failure" + ], + "example": "neutral", + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "head_branch": { + "example": "master", + "nullable": true, + "type": "string" + }, + "head_sha": { + "description": "The SHA of the head commit that is being checked.", + "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d", + "type": "string" + }, + "id": { + "example": 5, + "type": "integer" + }, + "node_id": { + "example": "MDEwOkNoZWNrU3VpdGU1", + "type": "string" + }, + "pull_requests": { + "items": { + "$ref": "#/components/schemas/pull-request-minimal" + }, + "type": "array" + }, + "repository": { + "$ref": "#/components/schemas/minimal-repository" + }, + "status": { + "enum": [ + "queued", + "in_progress", + "completed", + "pending", + "waiting" + ], + "example": "completed", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/github/hello-world/check-suites/5", + "type": "string" + } + }, + "type": "object" + }, + "simple-commit": { + "description": "A commit.", + "properties": { + "author": { + "nullable": true, + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name", + "email" + ], + "type": "object" + }, + "committer": { + "nullable": true, + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name", + "email" + ], + "type": "object" + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "timestamp": { + "format": "date-time", + "type": "string" + }, + "tree_id": { + "type": "string" + } + }, + "required": [ + "id", + "tree_id", + "message", + "timestamp", + "author", + "committer" + ], + "title": "Simple Commit", + "type": "object" + }, + "simple-commit-status": { + "properties": { + "avatar_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "context": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "required": { + "nullable": true, + "type": "boolean" + }, + "state": { + "type": "string" + }, + "target_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "description", + "id", + "node_id", + "state", + "context", + "target_url", + "avatar_url", + "url", + "created_at", + "updated_at" + ], + "title": "Simple Commit Status", + "type": "object" + }, + "simple-installation": { + "description": "The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App.", + "properties": { + "id": { + "description": "The ID of the installation.", + "example": 1, + "type": "integer" + }, + "node_id": { + "description": "The global node ID of the installation.", + "example": "MDQ6VXNlcjU4MzIzMQ==", + "type": "string" + } + }, + "required": [ + "id", + "node_id" + ], + "title": "Simple Installation", + "type": "object" + }, + "simple-repository": { + "description": "A GitHub repository.", + "properties": { + "archive_url": { + "description": "A template for the API URL to download the repository as an archive.", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "type": "string" + }, + "assignees_url": { + "description": "A template for the API URL to list the available assignees for issues in the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "type": "string" + }, + "blobs_url": { + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "type": "string" + }, + "branches_url": { + "description": "A template for the API URL to get information about branches in the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "type": "string" + }, + "collaborators_url": { + "description": "A template for the API URL to get information about collaborators of the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "type": "string" + }, + "comments_url": { + "description": "A template for the API URL to get information about comments on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "type": "string" + }, + "commits_url": { + "description": "A template for the API URL to get information about commits on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "type": "string" + }, + "compare_url": { + "description": "A template for the API URL to compare two commits or refs.", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "type": "string" + }, + "contents_url": { + "description": "A template for the API URL to get the contents of the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "type": "string" + }, + "contributors_url": { + "description": "A template for the API URL to list the contributors to the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "format": "uri", + "type": "string" + }, + "deployments_url": { + "description": "The API URL to list the deployments of the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "format": "uri", + "type": "string" + }, + "description": { + "description": "The repository description.", + "example": "This your first repo!", + "nullable": true, + "type": "string" + }, + "downloads_url": { + "description": "The API URL to list the downloads on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "format": "uri", + "type": "string" + }, + "events_url": { + "description": "The API URL to list the events of the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "format": "uri", + "type": "string" + }, + "fork": { + "description": "Whether the repository is a fork.", + "type": "boolean" + }, + "forks_url": { + "description": "The API URL to list the forks of the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "format": "uri", + "type": "string" + }, + "full_name": { + "description": "The full, globally unique, name of the repository.", + "example": "octocat/Hello-World", + "type": "string" + }, + "git_commits_url": { + "description": "A template for the API URL to get information about Git commits of the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "type": "string" + }, + "git_refs_url": { + "description": "A template for the API URL to get information about Git refs of the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "type": "string" + }, + "git_tags_url": { + "description": "A template for the API URL to get information about Git tags of the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "type": "string" + }, + "hooks_url": { + "description": "The API URL to list the hooks on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "format": "uri", + "type": "string" + }, + "html_url": { + "description": "The URL to view the repository on GitHub.com.", + "example": "https://github.com/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "id": { + "description": "A unique identifier of the repository.", + "example": 1296269, + "type": "integer" + }, + "issue_comment_url": { + "description": "A template for the API URL to get information about issue comments on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "type": "string" + }, + "issue_events_url": { + "description": "A template for the API URL to get information about issue events on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "type": "string" + }, + "issues_url": { + "description": "A template for the API URL to get information about issues on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "type": "string" + }, + "keys_url": { + "description": "A template for the API URL to get information about deploy keys on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "type": "string" + }, + "labels_url": { + "description": "A template for the API URL to get information about labels of the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "type": "string" + }, + "languages_url": { + "description": "The API URL to get information about the languages of the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "format": "uri", + "type": "string" + }, + "merges_url": { + "description": "The API URL to merge branches in the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "format": "uri", + "type": "string" + }, + "milestones_url": { + "description": "A template for the API URL to get information about milestones of the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "example": "Hello-World", + "type": "string" + }, + "node_id": { + "description": "The GraphQL identifier of the repository.", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "type": "string" + }, + "notifications_url": { + "description": "A template for the API URL to get information about notifications on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "type": "string" + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "private": { + "description": "Whether the repository is private.", + "type": "boolean" + }, + "pulls_url": { + "description": "A template for the API URL to get information about pull requests on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "type": "string" + }, + "releases_url": { + "description": "A template for the API URL to get information about releases on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "type": "string" + }, + "stargazers_url": { + "description": "The API URL to list the stargazers on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "format": "uri", + "type": "string" + }, + "statuses_url": { + "description": "A template for the API URL to get information about statuses of a commit.", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "type": "string" + }, + "subscribers_url": { + "description": "The API URL to list the subscribers on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "format": "uri", + "type": "string" + }, + "subscription_url": { + "description": "The API URL to subscribe to notifications for this repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "format": "uri", + "type": "string" + }, + "tags_url": { + "description": "The API URL to get information about tags on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "format": "uri", + "type": "string" + }, + "teams_url": { + "description": "The API URL to list the teams on the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "format": "uri", + "type": "string" + }, + "trees_url": { + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "type": "string" + }, + "url": { + "description": "The URL to get more information about the repository from the GitHub API.", + "example": "https://api.github.com/repos/octocat/Hello-World", + "format": "uri", + "type": "string" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "title": "Simple Repository", + "type": "object" + }, + "simple-user": { + "description": "A GitHub user.", + "properties": { + "avatar_url": { + "example": "https://github.com/images/error/octocat_happy.gif", + "format": "uri", + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "example": "https://api.github.com/users/octocat/events{/privacy}", + "type": "string" + }, + "followers_url": { + "example": "https://api.github.com/users/octocat/followers", + "format": "uri", + "type": "string" + }, + "following_url": { + "example": "https://api.github.com/users/octocat/following{/other_user}", + "type": "string" + }, + "gists_url": { + "example": "https://api.github.com/users/octocat/gists{/gist_id}", + "type": "string" + }, + "gravatar_id": { + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true, + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "login": { + "example": "octocat", + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "example": "MDQ6VXNlcjE=", + "type": "string" + }, + "organizations_url": { + "example": "https://api.github.com/users/octocat/orgs", + "format": "uri", + "type": "string" + }, + "received_events_url": { + "example": "https://api.github.com/users/octocat/received_events", + "format": "uri", + "type": "string" + }, + "repos_url": { + "example": "https://api.github.com/users/octocat/repos", + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "example": "\"2020-07-09T00:17:55Z\"", + "type": "string" + }, + "starred_url": { + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "type": "string" + }, + "subscriptions_url": { + "example": "https://api.github.com/users/octocat/subscriptions", + "format": "uri", + "type": "string" + }, + "type": { + "example": "User", + "type": "string" + }, + "url": { + "example": "https://api.github.com/users/octocat", + "format": "uri", + "type": "string" + } + }, + "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" + ], + "title": "Simple User", + "type": "object" + }, + "snapshot": { + "additionalProperties": false, + "description": "Create a new snapshot of a repository's dependencies.", + "properties": { + "detector": { + "additionalProperties": false, + "description": "A description of the detector used.", + "properties": { + "name": { + "description": "The name of the detector used.", + "example": "docker buildtime detector", + "type": "string" + }, + "url": { + "description": "The url of the detector used.", + "example": "http://example.com/docker-buildtimer-detector", + "type": "string" + }, + "version": { + "description": "The version of the detector used.", + "example": "1.0.0", + "type": "string" + } + }, + "required": [ + "name", + "version", + "url" + ], + "type": "object" + }, + "job": { + "additionalProperties": false, + "properties": { + "correlator": { + "description": "Correlator provides a key that is used to group snapshots submitted over time. Only the \"latest\" submitted snapshot for a given combination of `job.correlator` and `detector.name` will be considered when calculating a repository's current dependencies. Correlator should be as unique as it takes to distinguish all detection runs for a given \"wave\" of CI workflow you run. If you're using GitHub Actions, a good default value for this could be the environment variables GITHUB_WORKFLOW and GITHUB_JOB concatenated together. If you're using a build matrix, then you'll also need to add additional key(s) to distinguish between each submission inside a matrix variation.", + "example": "yourworkflowname_yourjobname", + "type": "string" + }, + "html_url": { + "description": "The url for the job.", + "example": "http://example.com/build", + "type": "string" + }, + "id": { + "description": "The external ID of the job.", + "example": "5622a2b0-63f6-4732-8c34-a1ab27e102a11", + "type": "string" + } + }, + "required": [ + "id", + "correlator" + ], + "type": "object" + }, + "manifests": { + "additionalProperties": { + "$ref": "#/components/schemas/manifest" + }, + "description": "A collection of package manifests, which are a collection of related dependencies declared in a file or representing a logical group of dependencies.", + "type": "object" + }, + "metadata": { + "$ref": "#/components/schemas/metadata" + }, + "ref": { + "description": "The repository branch that triggered this snapshot.", + "example": "refs/heads/main", + "pattern": "^refs/", + "type": "string" + }, + "scanned": { + "description": "The time at which the snapshot was scanned.", + "example": "2020-06-13T14:52:50-05:00", + "format": "date-time", + "type": "string" + }, + "sha": { + "description": "The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.", + "example": "ddc951f4b1293222421f2c8df679786153acf689", + "maxLength": 40, + "minLength": 40, + "type": "string" + }, + "version": { + "description": "The version of the repository snapshot submission.", + "type": "integer" + } + }, + "required": [ + "detector", + "version", + "ref", + "sha", + "job", + "scanned" + ], + "title": "snapshot", + "type": "object" + }, + "ssh-signing-key": { + "description": "A public SSH key used to sign Git commits", + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "integer" + }, + "key": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "key", + "id", + "title", + "created_at" + ], + "title": "SSH Signing Key", + "type": "object" + }, + "stargazer": { + "description": "Stargazer", + "properties": { + "starred_at": { + "format": "date-time", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/nullable-simple-user" + } + }, + "required": [ + "starred_at", + "user" + ], + "title": "Stargazer", + "type": "object" + }, + "starred-repository": { + "description": "Starred Repository", + "properties": { + "repo": { + "$ref": "#/components/schemas/repository" + }, + "starred_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "starred_at", + "repo" + ], + "title": "Starred Repository", + "type": "object" + }, + "state-change-issue-event": { + "description": "State Change Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ], + "title": "State Change Issue Event", + "type": "object" + }, + "status": { + "description": "The status of a commit.", + "properties": { + "avatar_url": { + "nullable": true, + "type": "string" + }, + "context": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "creator": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "state": { + "type": "string" + }, + "target_url": { + "nullable": true, + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "url", + "avatar_url", + "id", + "node_id", + "state", + "description", + "target_url", + "context", + "created_at", + "updated_at", + "creator" + ], + "title": "Status", + "type": "object" + }, + "status-check-policy": { + "description": "Status Check Policy", + "properties": { + "checks": { + "items": { + "properties": { + "app_id": { + "nullable": true, + "type": "integer" + }, + "context": { + "example": "continuous-integration/travis-ci", + "type": "string" + } + }, + "required": [ + "context", + "app_id" + ], + "type": "object" + }, + "type": "array" + }, + "contexts": { + "example": [ + "continuous-integration/travis-ci" + ], + "items": { + "type": "string" + }, + "type": "array" + }, + "contexts_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts", + "format": "uri", + "type": "string" + }, + "strict": { + "example": true, + "type": "boolean" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks", + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "contexts_url", + "strict", + "contexts", + "checks" + ], + "title": "Status Check Policy", + "type": "object" + }, + "tag": { + "description": "Tag", + "properties": { + "commit": { + "properties": { + "sha": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "url" + ], + "type": "object" + }, + "name": { + "example": "v0.1", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "tarball_url": { + "example": "https://github.com/octocat/Hello-World/tarball/v0.1", + "format": "uri", + "type": "string" + }, + "zipball_url": { + "example": "https://github.com/octocat/Hello-World/zipball/v0.1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "node_id", + "commit", + "zipball_url", + "tarball_url" + ], + "title": "Tag", + "type": "object" + }, + "tag-protection": { + "description": "Tag protection", + "properties": { + "created_at": { + "example": "2011-01-26T19:01:12Z", + "type": "string" + }, + "enabled": { + "example": true, + "type": "boolean" + }, + "id": { + "example": 2, + "type": "integer" + }, + "pattern": { + "example": "v1.*", + "type": "string" + }, + "updated_at": { + "example": "2011-01-26T19:01:12Z", + "type": "string" + } + }, + "required": [ + "pattern" + ], + "title": "Tag protection", + "type": "object" + }, + "team": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "description": { + "nullable": true, + "type": "string" + }, + "html_url": { + "example": "https://github.com/orgs/rails/teams/core", + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "members_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "$ref": "#/components/schemas/nullable-team-simple" + }, + "permission": { + "type": "string" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ], + "type": "object" + }, + "privacy": { + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ], + "title": "Team", + "type": "object" + }, + "team-discussion": { + "description": "A team discussion is a persistent record of a free-form conversation within a team.", + "properties": { + "author": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "body": { + "description": "The main text of the discussion.", + "example": "Please suggest improvements to our workflow in comments.", + "type": "string" + }, + "body_html": { + "example": "

Hi! This is an area for us to collaborate as a team

", + "type": "string" + }, + "body_version": { + "description": "The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.", + "example": "0307116bbf7ced493b8d8a346c650b71", + "type": "string" + }, + "comments_count": { + "example": 0, + "type": "integer" + }, + "comments_url": { + "example": "https://api.github.com/organizations/1/team/2343027/discussions/1/comments", + "format": "uri", + "type": "string" + }, + "created_at": { + "example": "2018-01-25T18:56:31Z", + "format": "date-time", + "type": "string" + }, + "html_url": { + "example": "https://github.com/orgs/github/teams/justice-league/discussions/1", + "format": "uri", + "type": "string" + }, + "last_edited_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "node_id": { + "example": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==", + "type": "string" + }, + "number": { + "description": "The unique sequence number of a team discussion.", + "example": 42, + "type": "integer" + }, + "pinned": { + "description": "Whether or not this discussion should be pinned for easy retrieval.", + "example": true, + "type": "boolean" + }, + "private": { + "description": "Whether or not this discussion should be restricted to team members and organization administrators.", + "example": true, + "type": "boolean" + }, + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + }, + "team_url": { + "example": "https://api.github.com/organizations/1/team/2343027", + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the discussion.", + "example": "How can we improve our workflow?", + "type": "string" + }, + "updated_at": { + "example": "2018-01-25T18:56:31Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/organizations/1/team/2343027/discussions/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "author", + "body", + "body_html", + "body_version", + "comments_count", + "comments_url", + "created_at", + "last_edited_at", + "html_url", + "pinned", + "private", + "node_id", + "number", + "team_url", + "title", + "updated_at", + "url" + ], + "title": "Team Discussion", + "type": "object" + }, + "team-discussion-comment": { + "description": "A reply to a discussion within a team.", + "properties": { + "author": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "body": { + "description": "The main text of the comment.", + "example": "I agree with this suggestion.", + "type": "string" + }, + "body_html": { + "example": "

Do you like apples?

", + "type": "string" + }, + "body_version": { + "description": "The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.", + "example": "0307116bbf7ced493b8d8a346c650b71", + "type": "string" + }, + "created_at": { + "example": "2018-01-15T23:53:58Z", + "format": "date-time", + "type": "string" + }, + "discussion_url": { + "example": "https://api.github.com/organizations/1/team/2403582/discussions/1", + "format": "uri", + "type": "string" + }, + "html_url": { + "example": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1", + "format": "uri", + "type": "string" + }, + "last_edited_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "node_id": { + "example": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=", + "type": "string" + }, + "number": { + "description": "The unique sequence number of a team discussion comment.", + "example": 42, + "type": "integer" + }, + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + }, + "updated_at": { + "example": "2018-01-15T23:53:58Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "author", + "body", + "body_html", + "body_version", + "created_at", + "last_edited_at", + "discussion_url", + "html_url", + "node_id", + "number", + "updated_at", + "url" + ], + "title": "Team Discussion Comment", + "type": "object" + }, + "team-full": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "created_at": { + "example": "2017-07-14T16:53:42Z", + "format": "date-time", + "type": "string" + }, + "description": { + "example": "A great team.", + "nullable": true, + "type": "string" + }, + "html_url": { + "example": "https://github.com/orgs/rails/teams/core", + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "example": 42, + "type": "integer" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + }, + "members_count": { + "example": 3, + "type": "integer" + }, + "members_url": { + "example": "https://api.github.com/organizations/1/team/1/members{/member}", + "type": "string" + }, + "name": { + "description": "Name of the team", + "example": "Developers", + "type": "string" + }, + "node_id": { + "example": "MDQ6VGVhbTE=", + "type": "string" + }, + "organization": { + "$ref": "#/components/schemas/team-organization" + }, + "parent": { + "$ref": "#/components/schemas/nullable-team-simple" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "example": "push", + "type": "string" + }, + "privacy": { + "description": "The level of privacy this team should have", + "enum": [ + "closed", + "secret" + ], + "example": "closed", + "type": "string" + }, + "repos_count": { + "example": 10, + "type": "integer" + }, + "repositories_url": { + "example": "https://api.github.com/organizations/1/team/1/repos", + "format": "uri", + "type": "string" + }, + "slug": { + "example": "justice-league", + "type": "string" + }, + "updated_at": { + "example": "2017-08-17T12:37:15Z", + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the team", + "example": "https://api.github.com/organizations/1/team/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "created_at", + "updated_at", + "members_count", + "repos_count", + "organization" + ], + "title": "Full Team", + "type": "object" + }, + "team-membership": { + "description": "Team Membership", + "properties": { + "role": { + "default": "member", + "description": "The role of the user in the team.", + "enum": [ + "member", + "maintainer" + ], + "example": "member", + "type": "string" + }, + "state": { + "description": "The state of the user's membership in the team.", + "enum": [ + "active", + "pending" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "role", + "state", + "url" + ], + "title": "Team Membership", + "type": "object" + }, + "team-organization": { + "description": "Team Organization", + "properties": { + "avatar_url": { + "example": "https://github.com/images/error/octocat_happy.gif", + "type": "string" + }, + "billing_email": { + "example": "org@example.com", + "format": "email", + "nullable": true, + "type": "string" + }, + "blog": { + "example": "https://github.com/blog", + "format": "uri", + "type": "string" + }, + "collaborators": { + "example": 8, + "nullable": true, + "type": "integer" + }, + "company": { + "example": "GitHub", + "type": "string" + }, + "created_at": { + "example": "2008-01-14T04:33:35Z", + "format": "date-time", + "type": "string" + }, + "default_repository_permission": { + "nullable": true, + "type": "string" + }, + "description": { + "example": "A great organization", + "nullable": true, + "type": "string" + }, + "disk_usage": { + "example": 10000, + "nullable": true, + "type": "integer" + }, + "email": { + "example": "octocat@github.com", + "format": "email", + "type": "string" + }, + "events_url": { + "example": "https://api.github.com/orgs/github/events", + "format": "uri", + "type": "string" + }, + "followers": { + "example": 20, + "type": "integer" + }, + "following": { + "example": 0, + "type": "integer" + }, + "has_organization_projects": { + "example": true, + "type": "boolean" + }, + "has_repository_projects": { + "example": true, + "type": "boolean" + }, + "hooks_url": { + "example": "https://api.github.com/orgs/github/hooks", + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat", + "format": "uri", + "type": "string" + }, + "id": { + "example": 1, + "type": "integer" + }, + "is_verified": { + "example": true, + "type": "boolean" + }, + "issues_url": { + "example": "https://api.github.com/orgs/github/issues", + "type": "string" + }, + "location": { + "example": "San Francisco", + "type": "string" + }, + "login": { + "example": "github", + "type": "string" + }, + "members_allowed_repository_creation_type": { + "example": "all", + "type": "string" + }, + "members_can_create_internal_repositories": { + "example": true, + "type": "boolean" + }, + "members_can_create_pages": { + "example": true, + "type": "boolean" + }, + "members_can_create_private_pages": { + "example": true, + "type": "boolean" + }, + "members_can_create_private_repositories": { + "example": true, + "type": "boolean" + }, + "members_can_create_public_pages": { + "example": true, + "type": "boolean" + }, + "members_can_create_public_repositories": { + "example": true, + "type": "boolean" + }, + "members_can_create_repositories": { + "example": true, + "nullable": true, + "type": "boolean" + }, + "members_can_fork_private_repositories": { + "example": false, + "nullable": true, + "type": "boolean" + }, + "members_url": { + "example": "https://api.github.com/orgs/github/members{/member}", + "type": "string" + }, + "name": { + "example": "github", + "type": "string" + }, + "node_id": { + "example": "MDEyOk9yZ2FuaXphdGlvbjE=", + "type": "string" + }, + "owned_private_repos": { + "example": 100, + "type": "integer" + }, + "plan": { + "properties": { + "filled_seats": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "private_repos": { + "type": "integer" + }, + "seats": { + "type": "integer" + }, + "space": { + "type": "integer" + } + }, + "required": [ + "name", + "space", + "private_repos" + ], + "type": "object" + }, + "private_gists": { + "example": 81, + "nullable": true, + "type": "integer" + }, + "public_gists": { + "example": 1, + "type": "integer" + }, + "public_members_url": { + "example": "https://api.github.com/orgs/github/public_members{/member}", + "type": "string" + }, + "public_repos": { + "example": 2, + "type": "integer" + }, + "repos_url": { + "example": "https://api.github.com/orgs/github/repos", + "format": "uri", + "type": "string" + }, + "total_private_repos": { + "example": 100, + "type": "integer" + }, + "twitter_username": { + "example": "github", + "nullable": true, + "type": "string" + }, + "two_factor_requirement_enabled": { + "example": true, + "nullable": true, + "type": "boolean" + }, + "type": { + "example": "Organization", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/orgs/github", + "format": "uri", + "type": "string" + }, + "web_commit_signoff_required": { + "example": false, + "type": "boolean" + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description", + "html_url", + "has_organization_projects", + "has_repository_projects", + "public_repos", + "public_gists", + "followers", + "following", + "type", + "created_at", + "updated_at" + ], + "title": "Team Organization", + "type": "object" + }, + "team-project": { + "description": "A team's access to a project.", + "properties": { + "body": { + "nullable": true, + "type": "string" + }, + "columns_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "creator": { + "$ref": "#/components/schemas/simple-user" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "organization_permission": { + "description": "The organization permission for this project. Only present when owner is an organization.", + "type": "string" + }, + "owner_url": { + "type": "string" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "read": { + "type": "boolean" + }, + "write": { + "type": "boolean" + } + }, + "required": [ + "read", + "write", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the project is private or not. Only present when owner is an organization.", + "type": "boolean" + }, + "state": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "owner_url", + "url", + "html_url", + "columns_url", + "id", + "node_id", + "name", + "body", + "number", + "state", + "creator", + "created_at", + "updated_at", + "permissions" + ], + "title": "Team Project", + "type": "object" + }, + "team-repository": { + "description": "A team's access to a repository.", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow Auto-merge to be used on pull requests.", + "example": false, + "type": "boolean" + }, + "allow_forking": { + "default": false, + "description": "Whether to allow forking this repo", + "example": false, + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "example": true, + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "example": true, + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "example": true, + "type": "boolean" + }, + "archive_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "type": "string" + }, + "blobs_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "type": "string" + }, + "branches_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "type": "string" + }, + "clone_url": { + "example": "https://github.com/octocat/Hello-World.git", + "type": "string" + }, + "collaborators_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "type": "string" + }, + "comments_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}", + "type": "string" + }, + "commits_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "type": "string" + }, + "compare_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "type": "string" + }, + "contents_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "type": "string" + }, + "contributors_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/contributors", + "format": "uri", + "type": "string" + }, + "created_at": { + "example": "2011-01-26T19:01:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "default_branch": { + "description": "The default branch of the repository.", + "example": "master", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "example": false, + "type": "boolean" + }, + "deployments_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/deployments", + "format": "uri", + "type": "string" + }, + "description": { + "example": "This your first repo!", + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository disabled.", + "type": "boolean" + }, + "downloads_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/downloads", + "format": "uri", + "type": "string" + }, + "events_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/events", + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "example": 9, + "type": "integer" + }, + "forks_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/forks", + "format": "uri", + "type": "string" + }, + "full_name": { + "example": "octocat/Hello-World", + "type": "string" + }, + "git_commits_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "type": "string" + }, + "git_refs_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "type": "string" + }, + "git_tags_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "type": "string" + }, + "git_url": { + "example": "git:github.com/octocat/Hello-World.git", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "example": true, + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "example": true, + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "example": true, + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "example": true, + "type": "boolean" + }, + "homepage": { + "example": "https://github.com", + "format": "uri", + "nullable": true, + "type": "string" + }, + "hooks_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/hooks", + "format": "uri", + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer" + }, + "is_template": { + "default": false, + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "example": true, + "type": "boolean" + }, + "issue_comment_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "type": "string" + }, + "issue_events_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "type": "string" + }, + "issues_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}", + "type": "string" + }, + "keys_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "type": "string" + }, + "labels_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/languages", + "format": "uri", + "type": "string" + }, + "license": { + "$ref": "#/components/schemas/nullable-license-simple" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/merges", + "format": "uri", + "type": "string" + }, + "milestones_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "type": "string" + }, + "mirror_url": { + "example": "git:git.example.com/octocat/Hello-World", + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "example": "Team Environment", + "type": "string" + }, + "network_count": { + "type": "integer" + }, + "node_id": { + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "type": "string" + }, + "notifications_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "example": 0, + "type": "integer" + }, + "owner": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ], + "type": "object" + }, + "private": { + "default": false, + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "pulls_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "type": "string" + }, + "pushed_at": { + "example": "2011-01-26T19:06:43Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "releases_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}", + "type": "string" + }, + "role_name": { + "example": "admin", + "type": "string" + }, + "size": { + "example": 108, + "type": "integer" + }, + "ssh_url": { + "example": "git@github.com:octocat/Hello-World.git", + "type": "string" + }, + "stargazers_count": { + "example": 80, + "type": "integer" + }, + "stargazers_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers", + "format": "uri", + "type": "string" + }, + "statuses_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "type": "string" + }, + "subscribers_count": { + "type": "integer" + }, + "subscribers_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers", + "format": "uri", + "type": "string" + }, + "subscription_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/subscription", + "format": "uri", + "type": "string" + }, + "svn_url": { + "example": "https://svn.github.com/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "tags_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/tags", + "format": "uri", + "type": "string" + }, + "teams_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/teams", + "format": "uri", + "type": "string" + }, + "temp_clone_token": { + "type": "string" + }, + "template_repository": { + "$ref": "#/components/schemas/nullable-repository" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "type": "string" + }, + "updated_at": { + "example": "2011-01-26T19:14:43Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/octocat/Hello-World", + "format": "uri", + "type": "string" + }, + "visibility": { + "default": "public", + "description": "The repository visibility: public, private, or internal.", + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "example": 80, + "type": "integer" + }, + "web_commit_signoff_required": { + "default": false, + "description": "Whether to require contributors to sign off on web-based commits", + "example": false, + "type": "boolean" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ], + "title": "Team Repository", + "type": "object" + }, + "team-simple": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "description": { + "description": "Description of the team", + "example": "A great team.", + "nullable": true, + "type": "string" + }, + "html_url": { + "example": "https://github.com/orgs/rails/teams/core", + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "example": 1, + "type": "integer" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + }, + "members_url": { + "example": "https://api.github.com/organizations/1/team/1/members{/member}", + "type": "string" + }, + "name": { + "description": "Name of the team", + "example": "Justice League", + "type": "string" + }, + "node_id": { + "example": "MDQ6VGVhbTE=", + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "example": "admin", + "type": "string" + }, + "privacy": { + "description": "The level of privacy this team should have", + "example": "closed", + "type": "string" + }, + "repositories_url": { + "example": "https://api.github.com/organizations/1/team/1/repos", + "format": "uri", + "type": "string" + }, + "slug": { + "example": "justice-league", + "type": "string" + }, + "url": { + "description": "URL for the team", + "example": "https://api.github.com/organizations/1/team/1", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "title": "Team Simple", + "type": "object" + }, + "thread": { + "description": "Thread", + "properties": { + "id": { + "type": "string" + }, + "last_read_at": { + "nullable": true, + "type": "string" + }, + "reason": { + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/minimal-repository" + }, + "subject": { + "properties": { + "latest_comment_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "title", + "url", + "latest_comment_url", + "type" + ], + "type": "object" + }, + "subscription_url": { + "example": "https://api.github.com/notifications/threads/2/subscription", + "type": "string" + }, + "unread": { + "type": "boolean" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "unread", + "reason", + "updated_at", + "last_read_at", + "subject", + "repository", + "url", + "subscription_url" + ], + "title": "Thread", + "type": "object" + }, + "thread-subscription": { + "description": "Thread Subscription", + "properties": { + "created_at": { + "example": "2012-10-06T21:34:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "ignored": { + "type": "boolean" + }, + "reason": { + "nullable": true, + "type": "string" + }, + "repository_url": { + "example": "https://api.github.com/repos/1", + "format": "uri", + "type": "string" + }, + "subscribed": { + "example": true, + "type": "boolean" + }, + "thread_url": { + "example": "https://api.github.com/notifications/threads/1", + "format": "uri", + "type": "string" + }, + "url": { + "example": "https://api.github.com/notifications/threads/1/subscription", + "format": "uri", + "type": "string" + } + }, + "required": [ + "created_at", + "ignored", + "reason", + "url", + "subscribed" + ], + "title": "Thread Subscription", + "type": "object" + }, + "timeline-assigned-issue-event": { + "description": "Timeline Assigned Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "assignee": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" + ], + "title": "Timeline Assigned Issue Event", + "type": "object" + }, + "timeline-comment-event": { + "description": "Timeline Comment Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "body": { + "description": "Contents of the issue comment", + "example": "What version of Safari were you using when you observed this bug?", + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "created_at": { + "example": "2011-04-14T16:00:49Z", + "format": "date-time", + "type": "string" + }, + "event": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the issue comment", + "example": 42, + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + }, + "updated_at": { + "example": "2011-04-14T16:00:49Z", + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "example": "https://api.github.com/repositories/42/issues/comments/1", + "format": "uri", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "event", + "actor", + "id", + "node_id", + "html_url", + "issue_url", + "author_association", + "user", + "url", + "created_at", + "updated_at" + ], + "title": "Timeline Comment Event", + "type": "object" + }, + "timeline-commit-commented-event": { + "description": "Timeline Commit Commented Event", + "properties": { + "comments": { + "items": { + "$ref": "#/components/schemas/commit-comment" + }, + "type": "array" + }, + "commit_id": { + "type": "string" + }, + "event": { + "type": "string" + }, + "node_id": { + "type": "string" + } + }, + "title": "Timeline Commit Commented Event", + "type": "object" + }, + "timeline-committed-event": { + "description": "Timeline Committed Event", + "properties": { + "author": { + "description": "Identifying information for the git-user", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com", + "type": "string" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ], + "type": "object" + }, + "committer": { + "description": "Identifying information for the git-user", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com", + "type": "string" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": [ + "email", + "name", + "date" + ], + "type": "object" + }, + "event": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "message": { + "description": "Message describing the purpose of the commit", + "example": "Fix #42", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parents": { + "items": { + "properties": { + "html_url": { + "format": "uri", + "type": "string" + }, + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "url", + "html_url" + ], + "type": "object" + }, + "type": "array" + }, + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "tree": { + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "url" + ], + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + }, + "verification": { + "properties": { + "payload": { + "nullable": true, + "type": "string" + }, + "reason": { + "type": "string" + }, + "signature": { + "nullable": true, + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "required": [ + "verified", + "reason", + "signature", + "payload" + ], + "type": "object" + } + }, + "required": [ + "sha", + "node_id", + "url", + "html_url", + "author", + "committer", + "tree", + "message", + "parents", + "verification" + ], + "title": "Timeline Committed Event", + "type": "object" + }, + "timeline-cross-referenced-event": { + "description": "Timeline Cross Referenced Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "event": { + "type": "string" + }, + "source": { + "properties": { + "issue": { + "$ref": "#/components/schemas/issue" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "event", + "created_at", + "updated_at", + "source" + ], + "title": "Timeline Cross Referenced Event", + "type": "object" + }, + "timeline-issue-events": { + "anyOf": [ + { + "$ref": "#/components/schemas/labeled-issue-event" + }, + { + "$ref": "#/components/schemas/unlabeled-issue-event" + }, + { + "$ref": "#/components/schemas/milestoned-issue-event" + }, + { + "$ref": "#/components/schemas/demilestoned-issue-event" + }, + { + "$ref": "#/components/schemas/renamed-issue-event" + }, + { + "$ref": "#/components/schemas/review-requested-issue-event" + }, + { + "$ref": "#/components/schemas/review-request-removed-issue-event" + }, + { + "$ref": "#/components/schemas/review-dismissed-issue-event" + }, + { + "$ref": "#/components/schemas/locked-issue-event" + }, + { + "$ref": "#/components/schemas/added-to-project-issue-event" + }, + { + "$ref": "#/components/schemas/moved-column-in-project-issue-event" + }, + { + "$ref": "#/components/schemas/removed-from-project-issue-event" + }, + { + "$ref": "#/components/schemas/converted-note-to-issue-issue-event" + }, + { + "$ref": "#/components/schemas/timeline-comment-event" + }, + { + "$ref": "#/components/schemas/timeline-cross-referenced-event" + }, + { + "$ref": "#/components/schemas/timeline-committed-event" + }, + { + "$ref": "#/components/schemas/timeline-reviewed-event" + }, + { + "$ref": "#/components/schemas/timeline-line-commented-event" + }, + { + "$ref": "#/components/schemas/timeline-commit-commented-event" + }, + { + "$ref": "#/components/schemas/timeline-assigned-issue-event" + }, + { + "$ref": "#/components/schemas/timeline-unassigned-issue-event" + }, + { + "$ref": "#/components/schemas/state-change-issue-event" + } + ], + "description": "Timeline Event", + "title": "Timeline Event", + "type": "object" + }, + "timeline-line-commented-event": { + "description": "Timeline Line Commented Event", + "properties": { + "comments": { + "items": { + "$ref": "#/components/schemas/pull-request-review-comment" + }, + "type": "array" + }, + "event": { + "type": "string" + }, + "node_id": { + "type": "string" + } + }, + "title": "Timeline Line Commented Event", + "type": "object" + }, + "timeline-reviewed-event": { + "description": "Timeline Reviewed Event", + "properties": { + "_links": { + "properties": { + "html": { + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ], + "type": "object" + }, + "pull_request": { + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ], + "type": "object" + } + }, + "required": [ + "html", + "pull_request" + ], + "type": "object" + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "body": { + "description": "The text of the review.", + "example": "This looks great.", + "nullable": true, + "type": "string" + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "commit_id": { + "description": "A commit SHA for the review.", + "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", + "type": "string" + }, + "event": { + "type": "string" + }, + "html_url": { + "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80", + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the review", + "example": 42, + "type": "integer" + }, + "node_id": { + "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=", + "type": "string" + }, + "pull_request_url": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12", + "format": "uri", + "type": "string" + }, + "state": { + "example": "CHANGES_REQUESTED", + "type": "string" + }, + "submitted_at": { + "format": "date-time", + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "event", + "id", + "node_id", + "user", + "body", + "state", + "commit_id", + "html_url", + "pull_request_url", + "_links", + "author_association" + ], + "title": "Timeline Reviewed Event", + "type": "object" + }, + "timeline-unassigned-issue-event": { + "description": "Timeline Unassigned Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "assignee": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" + ], + "title": "Timeline Unassigned Issue Event", + "type": "object" + }, + "topic": { + "description": "A topic aggregates entities that are related to a subject.", + "properties": { + "names": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "names" + ], + "title": "Topic", + "type": "object" + }, + "topic-search-result-item": { + "description": "Topic Search Result Item", + "properties": { + "aliases": { + "items": { + "properties": { + "topic_relation": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "relation_type": { + "type": "string" + }, + "topic_id": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "nullable": true, + "type": "string" + }, + "curated": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "display_name": { + "nullable": true, + "type": "string" + }, + "featured": { + "type": "boolean" + }, + "logo_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "related": { + "items": { + "properties": { + "topic_relation": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "relation_type": { + "type": "string" + }, + "topic_id": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "released": { + "nullable": true, + "type": "string" + }, + "repository_count": { + "nullable": true, + "type": "integer" + }, + "score": { + "type": "number" + }, + "short_description": { + "nullable": true, + "type": "string" + }, + "text_matches": { + "$ref": "#/components/schemas/search-result-text-matches" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "name", + "display_name", + "short_description", + "description", + "created_by", + "released", + "created_at", + "updated_at", + "featured", + "curated", + "score" + ], + "title": "Topic Search Result Item", + "type": "object" + }, + "traffic": { + "properties": { + "count": { + "type": "integer" + }, + "timestamp": { + "format": "date-time", + "type": "string" + }, + "uniques": { + "type": "integer" + } + }, + "required": [ + "timestamp", + "uniques", + "count" + ], + "title": "Traffic", + "type": "object" + }, + "unassigned-issue-event": { + "description": "Unassigned Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "assignee": { + "$ref": "#/components/schemas/simple-user" + }, + "assigner": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee", + "assigner" + ], + "title": "Unassigned Issue Event", + "type": "object" + }, + "unlabeled-issue-event": { + "description": "Unlabeled Issue Event", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "commit_id": { + "nullable": true, + "type": "string" + }, + "commit_url": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "label": { + "properties": { + "color": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name", + "color" + ], + "type": "object" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "url": { + "type": "string" + } + }, + "required": [ + "label", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ], + "title": "Unlabeled Issue Event", + "type": "object" + }, + "user-marketplace-purchase": { + "description": "User Marketplace Purchase", + "properties": { + "account": { + "$ref": "#/components/schemas/marketplace-account" + }, + "billing_cycle": { + "example": "monthly", + "type": "string" + }, + "free_trial_ends_on": { + "example": "2017-11-11T00:00:00Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "next_billing_date": { + "example": "2017-11-11T00:00:00Z", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "example": true, + "type": "boolean" + }, + "plan": { + "$ref": "#/components/schemas/marketplace-listing-plan" + }, + "unit_count": { + "nullable": true, + "type": "integer" + }, + "updated_at": { + "example": "2017-11-02T01:12:12Z", + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "billing_cycle", + "next_billing_date", + "unit_count", + "updated_at", + "on_free_trial", + "free_trial_ends_on", + "account", + "plan" + ], + "title": "User Marketplace Purchase", + "type": "object" + }, + "user-search-result-item": { + "description": "User Search Result Item", + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "bio": { + "nullable": true, + "type": "string" + }, + "blog": { + "nullable": true, + "type": "string" + }, + "company": { + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers": { + "type": "integer" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following": { + "type": "integer" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "nullable": true, + "type": "string" + }, + "hireable": { + "nullable": true, + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "location": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "public_gists": { + "type": "integer" + }, + "public_repos": { + "type": "integer" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "score": { + "type": "number" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "suspended_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "text_matches": { + "$ref": "#/components/schemas/search-result-text-matches" + }, + "type": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "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", + "score" + ], + "title": "User Search Result Item", + "type": "object" + }, + "validation-error": { + "description": "Validation Error", + "properties": { + "documentation_url": { + "type": "string" + }, + "errors": { + "items": { + "properties": { + "code": { + "type": "string" + }, + "field": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "nullable": true, + "type": "string" + }, + { + "nullable": true, + "type": "integer" + }, + { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + ] + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message", + "documentation_url" + ], + "title": "Validation Error", + "type": "object" + }, + "validation-error-simple": { + "description": "Validation Error Simple", + "properties": { + "documentation_url": { + "type": "string" + }, + "errors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message", + "documentation_url" + ], + "title": "Validation Error Simple", + "type": "object" + }, + "verification": { + "properties": { + "payload": { + "nullable": true, + "type": "string" + }, + "reason": { + "type": "string" + }, + "signature": { + "nullable": true, + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "required": [ + "verified", + "reason", + "payload", + "signature" + ], + "title": "Verification", + "type": "object" + }, + "view-traffic": { + "description": "View Traffic", + "properties": { + "count": { + "example": 14850, + "type": "integer" + }, + "uniques": { + "example": 3782, + "type": "integer" + }, + "views": { + "items": { + "$ref": "#/components/schemas/traffic" + }, + "type": "array" + } + }, + "required": [ + "uniques", + "count", + "views" + ], + "title": "View Traffic", + "type": "object" + }, + "wait-timer": { + "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).", + "example": 30, + "type": "integer" + }, + "webhook-branch-protection-rule-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "rule": { + "description": "The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.", + "properties": { + "admin_enforced": { + "type": "boolean" + }, + "allow_deletions_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "allow_force_pushes_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "authorized_actor_names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "authorized_actors_only": { + "type": "boolean" + }, + "authorized_dismissal_actors_only": { + "type": "boolean" + }, + "create_protected": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "dismiss_stale_reviews_on_push": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "ignore_approvals_from_contributors": { + "type": "boolean" + }, + "linear_history_requirement_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "merge_queue_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "pull_request_reviews_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "repository_id": { + "type": "integer" + }, + "require_code_owner_review": { + "type": "boolean" + }, + "required_approving_review_count": { + "type": "integer" + }, + "required_conversation_resolution_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "required_deployments_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "required_status_checks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "required_status_checks_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "signature_requirement_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "strict_required_status_checks_policy": { + "type": "boolean" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "id", + "repository_id", + "name", + "created_at", + "updated_at", + "pull_request_reviews_enforcement_level", + "required_approving_review_count", + "dismiss_stale_reviews_on_push", + "require_code_owner_review", + "authorized_dismissal_actors_only", + "ignore_approvals_from_contributors", + "required_status_checks", + "required_status_checks_enforcement_level", + "strict_required_status_checks_policy", + "signature_requirement_enforcement_level", + "linear_history_requirement_enforcement_level", + "admin_enforced", + "allow_force_pushes_enforcement_level", + "allow_deletions_enforcement_level", + "merge_queue_enforcement_level", + "required_deployments_enforcement_level", + "required_conversation_resolution_level", + "authorized_actors_only", + "authorized_actor_names" + ], + "title": "branch protection rule", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "rule", + "repository", + "sender" + ], + "title": "branch protection rule created event", + "type": "object" + }, + "webhook-branch-protection-rule-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "rule": { + "description": "The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.", + "properties": { + "admin_enforced": { + "type": "boolean" + }, + "allow_deletions_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "allow_force_pushes_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "authorized_actor_names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "authorized_actors_only": { + "type": "boolean" + }, + "authorized_dismissal_actors_only": { + "type": "boolean" + }, + "create_protected": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "dismiss_stale_reviews_on_push": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "ignore_approvals_from_contributors": { + "type": "boolean" + }, + "linear_history_requirement_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "merge_queue_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "pull_request_reviews_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "repository_id": { + "type": "integer" + }, + "require_code_owner_review": { + "type": "boolean" + }, + "required_approving_review_count": { + "type": "integer" + }, + "required_conversation_resolution_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "required_deployments_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "required_status_checks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "required_status_checks_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "signature_requirement_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "strict_required_status_checks_policy": { + "type": "boolean" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "id", + "repository_id", + "name", + "created_at", + "updated_at", + "pull_request_reviews_enforcement_level", + "required_approving_review_count", + "dismiss_stale_reviews_on_push", + "require_code_owner_review", + "authorized_dismissal_actors_only", + "ignore_approvals_from_contributors", + "required_status_checks", + "required_status_checks_enforcement_level", + "strict_required_status_checks_policy", + "signature_requirement_enforcement_level", + "linear_history_requirement_enforcement_level", + "admin_enforced", + "allow_force_pushes_enforcement_level", + "allow_deletions_enforcement_level", + "merge_queue_enforcement_level", + "required_deployments_enforcement_level", + "required_conversation_resolution_level", + "authorized_actors_only", + "authorized_actor_names" + ], + "title": "branch protection rule", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "rule", + "repository", + "sender" + ], + "title": "branch protection rule deleted event", + "type": "object" + }, + "webhook-branch-protection-rule-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "description": "If the action was `edited`, the changes to the rule.", + "properties": { + "admin_enforced": { + "properties": { + "from": { + "nullable": true, + "type": "boolean" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "authorized_actor_names": { + "properties": { + "from": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "authorized_actors_only": { + "properties": { + "from": { + "nullable": true, + "type": "boolean" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "authorized_dismissal_actors_only": { + "properties": { + "from": { + "nullable": true, + "type": "boolean" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "linear_history_requirement_enforcement_level": { + "properties": { + "from": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "required_status_checks": { + "properties": { + "from": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "required_status_checks_enforcement_level": { + "properties": { + "from": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "rule": { + "description": "The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.", + "properties": { + "admin_enforced": { + "type": "boolean" + }, + "allow_deletions_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "allow_force_pushes_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "authorized_actor_names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "authorized_actors_only": { + "type": "boolean" + }, + "authorized_dismissal_actors_only": { + "type": "boolean" + }, + "create_protected": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "dismiss_stale_reviews_on_push": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "ignore_approvals_from_contributors": { + "type": "boolean" + }, + "linear_history_requirement_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "merge_queue_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "pull_request_reviews_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "repository_id": { + "type": "integer" + }, + "require_code_owner_review": { + "type": "boolean" + }, + "required_approving_review_count": { + "type": "integer" + }, + "required_conversation_resolution_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "required_deployments_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "required_status_checks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "required_status_checks_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "signature_requirement_enforcement_level": { + "enum": [ + "off", + "non_admins", + "everyone" + ], + "type": "string" + }, + "strict_required_status_checks_policy": { + "type": "boolean" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "id", + "repository_id", + "name", + "created_at", + "updated_at", + "pull_request_reviews_enforcement_level", + "required_approving_review_count", + "dismiss_stale_reviews_on_push", + "require_code_owner_review", + "authorized_dismissal_actors_only", + "ignore_approvals_from_contributors", + "required_status_checks", + "required_status_checks_enforcement_level", + "strict_required_status_checks_policy", + "signature_requirement_enforcement_level", + "linear_history_requirement_enforcement_level", + "admin_enforced", + "allow_force_pushes_enforcement_level", + "allow_deletions_enforcement_level", + "merge_queue_enforcement_level", + "required_deployments_enforcement_level", + "required_conversation_resolution_level", + "authorized_actors_only", + "authorized_actor_names" + ], + "title": "branch protection rule", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "rule", + "repository", + "sender" + ], + "title": "branch protection rule edited event", + "type": "object" + }, + "webhook-check-run-completed": { + "properties": { + "action": { + "enum": [ + "completed" + ], + "type": "string" + }, + "check_run": { + "$ref": "#/components/schemas/check-run-with-simple-check-suite" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "check_run", + "repository", + "sender" + ], + "title": "Check Run Completed Event", + "type": "object" + }, + "webhook-check-run-completed-form-encoded": { + "description": "The check_run.completed webhook encoded with URL encoding", + "properties": { + "payload": { + "description": "A URL-encoded string of the check_run.completed JSON payload. The decoded payload is a JSON object.", + "type": "string" + } + }, + "required": [ + "payload" + ], + "title": "Check Run Completed Event", + "type": "object" + }, + "webhook-check-run-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "check_run": { + "$ref": "#/components/schemas/check-run-with-simple-check-suite" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "check_run", + "repository", + "sender" + ], + "title": "Check Run Created Event", + "type": "object" + }, + "webhook-check-run-created-form-encoded": { + "description": "The check_run.created webhook encoded with URL encoding", + "properties": { + "payload": { + "description": "A URL-encoded string of the check_run.created JSON payload. The decoded payload is a JSON object.", + "type": "string" + } + }, + "required": [ + "payload" + ], + "title": "Check Run Created Event", + "type": "object" + }, + "webhook-check-run-requested-action": { + "properties": { + "action": { + "enum": [ + "requested_action" + ], + "type": "string" + }, + "check_run": { + "$ref": "#/components/schemas/check-run-with-simple-check-suite" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "requested_action": { + "description": "The action requested by the user.", + "properties": { + "identifier": { + "description": "The integrator reference of the action requested by the user.", + "type": "string" + } + }, + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "check_run", + "repository", + "sender" + ], + "title": "Check Run Requested Action Event", + "type": "object" + }, + "webhook-check-run-requested-action-form-encoded": { + "description": "The check_run.requested_action webhook encoded with URL encoding", + "properties": { + "payload": { + "description": "A URL-encoded string of the check_run.requested_action JSON payload. The decoded payload is a JSON object.", + "type": "string" + } + }, + "required": [ + "payload" + ], + "title": "Check Run Requested Action Event", + "type": "object" + }, + "webhook-check-run-rerequested": { + "properties": { + "action": { + "enum": [ + "rerequested" + ], + "type": "string" + }, + "check_run": { + "$ref": "#/components/schemas/check-run-with-simple-check-suite" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "check_run", + "repository", + "sender" + ], + "title": "Check Run Re-Requested Event", + "type": "object" + }, + "webhook-check-run-rerequested-form-encoded": { + "description": "The check_run.rerequested webhook encoded with URL encoding", + "properties": { + "payload": { + "description": "A URL-encoded string of the check_run.rerequested JSON payload. The decoded payload is a JSON object.", + "type": "string" + } + }, + "required": [ + "payload" + ], + "title": "Check Run Re-Requested Event", + "type": "object" + }, + "webhook-check-suite-completed": { + "properties": { + "action": { + "enum": [ + "completed" + ], + "type": "string" + }, + "actions_meta": { + "nullable": true, + "type": "object" + }, + "check_suite": { + "description": "The [check_suite](https://docs.github.com/rest/reference/checks#suites).", + "properties": { + "after": { + "nullable": true, + "type": "string" + }, + "app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "merge_group", + "pull_request_review_thread", + "workflow_job", + "merge_queue_entry", + "security_and_analysis", + "projects_v2_item", + "secret_scanning_alert_location" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "before": { + "nullable": true, + "type": "string" + }, + "check_runs_url": { + "format": "uri", + "type": "string" + }, + "conclusion": { + "description": "The summary conclusion for all check runs that are part of the check suite. Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has `completed`.", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + null, + "skipped", + "startup_failure" + ], + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "head_branch": { + "description": "The head branch name the changes are on.", + "nullable": true, + "type": "string" + }, + "head_commit": { + "properties": { + "author": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "committer": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tree_id": { + "type": "string" + } + }, + "required": [ + "id", + "tree_id", + "message", + "timestamp", + "author", + "committer" + ], + "title": "SimpleCommit", + "type": "object" + }, + "head_sha": { + "description": "The SHA of the head commit that is being checked.", + "type": "string" + }, + "id": { + "type": "integer" + }, + "latest_check_runs_count": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "pull_requests": { + "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty.", + "items": { + "properties": { + "base": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "head": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "id": { + "type": "integer" + }, + "number": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "id", + "number", + "head", + "base" + ], + "title": "Check Run Pull Request", + "type": "object" + }, + "type": "array" + }, + "rerequestable": { + "type": "boolean" + }, + "runs_rerequestable": { + "type": "boolean" + }, + "status": { + "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`.", + "enum": [ + "requested", + "in_progress", + "completed", + "queued", + null, + "pending" + ], + "nullable": true, + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL that points to the check suite API resource.", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "head_branch", + "head_sha", + "status", + "conclusion", + "url", + "before", + "after", + "pull_requests", + "app", + "created_at", + "updated_at", + "latest_check_runs_count", + "check_runs_url", + "head_commit" + ], + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "check_suite", + "repository", + "sender" + ], + "title": "check_suite completed event", + "type": "object" + }, + "webhook-check-suite-requested": { + "properties": { + "action": { + "enum": [ + "requested" + ], + "type": "string" + }, + "actions_meta": { + "nullable": true, + "type": "object" + }, + "check_suite": { + "description": "The [check_suite](https://docs.github.com/rest/reference/checks#suites).", + "properties": { + "after": { + "nullable": true, + "type": "string" + }, + "app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "pull_request_review_thread", + "workflow_job", + "merge_queue_entry", + "security_and_analysis", + "secret_scanning_alert_location", + "projects_v2_item", + "merge_group", + "repository_import" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "before": { + "nullable": true, + "type": "string" + }, + "check_runs_url": { + "format": "uri", + "type": "string" + }, + "conclusion": { + "description": "The summary conclusion for all check runs that are part of the check suite. Can be one of `success`, `failure`,` neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has completed.", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + null, + "skipped" + ], + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "head_branch": { + "description": "The head branch name the changes are on.", + "nullable": true, + "type": "string" + }, + "head_commit": { + "properties": { + "author": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "committer": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tree_id": { + "type": "string" + } + }, + "required": [ + "id", + "tree_id", + "message", + "timestamp", + "author", + "committer" + ], + "title": "SimpleCommit", + "type": "object" + }, + "head_sha": { + "description": "The SHA of the head commit that is being checked.", + "type": "string" + }, + "id": { + "type": "integer" + }, + "latest_check_runs_count": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "pull_requests": { + "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty.", + "items": { + "properties": { + "base": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "head": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "id": { + "type": "integer" + }, + "number": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "id", + "number", + "head", + "base" + ], + "title": "Check Run Pull Request", + "type": "object" + }, + "type": "array" + }, + "rerequestable": { + "type": "boolean" + }, + "runs_rerequestable": { + "type": "boolean" + }, + "status": { + "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`.", + "enum": [ + "requested", + "in_progress", + "completed", + "queued", + null + ], + "nullable": true, + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL that points to the check suite API resource.", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "head_branch", + "head_sha", + "status", + "conclusion", + "url", + "before", + "after", + "pull_requests", + "app", + "created_at", + "updated_at", + "latest_check_runs_count", + "check_runs_url", + "head_commit" + ], + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "check_suite", + "repository", + "sender" + ], + "title": "check_suite requested event", + "type": "object" + }, + "webhook-check-suite-rerequested": { + "properties": { + "action": { + "enum": [ + "rerequested" + ], + "type": "string" + }, + "actions_meta": { + "nullable": true, + "properties": { + "rerun_info": { + "properties": { + "job_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "plan_id": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "check_suite": { + "description": "The [check_suite](https://docs.github.com/rest/reference/checks#suites).", + "properties": { + "after": { + "nullable": true, + "type": "string" + }, + "app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "pull_request_review_thread", + "merge_queue_entry", + "workflow_job" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "before": { + "nullable": true, + "type": "string" + }, + "check_runs_url": { + "format": "uri", + "type": "string" + }, + "conclusion": { + "description": "The summary conclusion for all check runs that are part of the check suite. Can be one of `success`, `failure`,` neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has completed.", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + null + ], + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "head_branch": { + "description": "The head branch name the changes are on.", + "nullable": true, + "type": "string" + }, + "head_commit": { + "properties": { + "author": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "committer": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tree_id": { + "type": "string" + } + }, + "required": [ + "id", + "tree_id", + "message", + "timestamp", + "author", + "committer" + ], + "title": "SimpleCommit", + "type": "object" + }, + "head_sha": { + "description": "The SHA of the head commit that is being checked.", + "type": "string" + }, + "id": { + "type": "integer" + }, + "latest_check_runs_count": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "pull_requests": { + "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty.", + "items": { + "properties": { + "base": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "head": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "id": { + "type": "integer" + }, + "number": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "id", + "number", + "head", + "base" + ], + "title": "Check Run Pull Request", + "type": "object" + }, + "type": "array" + }, + "rerequestable": { + "type": "boolean" + }, + "runs_rerequestable": { + "type": "boolean" + }, + "status": { + "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`.", + "enum": [ + "requested", + "in_progress", + "completed", + "queued", + null + ], + "nullable": true, + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL that points to the check suite API resource.", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "head_branch", + "head_sha", + "status", + "conclusion", + "url", + "before", + "after", + "pull_requests", + "app", + "created_at", + "updated_at", + "latest_check_runs_count", + "check_runs_url", + "head_commit" + ], + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "check_suite", + "repository", + "sender" + ], + "title": "check_suite rerequested event", + "type": "object" + }, + "webhook-code-scanning-alert-appeared-in-branch": { + "properties": { + "action": { + "enum": [ + "appeared_in_branch" + ], + "type": "string" + }, + "alert": { + "description": "The code scanning alert involved in the event.", + "properties": { + "created_at": { + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", + "format": "date-time", + "type": "string" + }, + "dismissed_at": { + "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "dismissed_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "dismissed_reason": { + "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", + "enum": [ + "false positive", + "won't fix", + "used in tests", + null + ], + "nullable": true, + "type": "string" + }, + "html_url": { + "description": "The GitHub URL of the alert resource.", + "format": "uri", + "type": "string" + }, + "most_recent_instance": { + "nullable": true, + "properties": { + "analysis_key": { + "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", + "type": "string" + }, + "classifications": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commit_sha": { + "type": "string" + }, + "environment": { + "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", + "type": "string" + }, + "location": { + "properties": { + "end_column": { + "type": "integer" + }, + "end_line": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "start_column": { + "type": "integer" + }, + "start_line": { + "type": "integer" + } + }, + "type": "object" + }, + "message": { + "properties": { + "text": { + "type": "string" + } + }, + "type": "object" + }, + "ref": { + "description": "The full Git reference, formatted as `refs/heads/`.", + "type": "string" + }, + "state": { + "description": "State of a code scanning alert.", + "enum": [ + "open", + "dismissed", + "fixed" + ], + "type": "string" + } + }, + "required": [ + "ref", + "analysis_key", + "environment", + "state" + ], + "title": "Alert Instance", + "type": "object" + }, + "number": { + "description": "The code scanning alert number.", + "type": "integer" + }, + "rule": { + "properties": { + "description": { + "description": "A short description of the rule used to detect the alert.", + "type": "string" + }, + "id": { + "description": "A unique identifier for the rule used to detect the alert.", + "type": "string" + }, + "severity": { + "description": "The severity of the alert.", + "enum": [ + "none", + "note", + "warning", + "error", + null + ], + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "severity", + "description" + ], + "type": "object" + }, + "state": { + "description": "State of a code scanning alert.", + "enum": [ + "open", + "dismissed", + "fixed" + ], + "type": "string" + }, + "tool": { + "properties": { + "name": { + "description": "The name of the tool used to generate the code scanning analysis alert.", + "type": "string" + }, + "version": { + "description": "The version of the tool used to detect the alert.", + "nullable": true, + "type": "string" + } + }, + "required": [ + "name", + "version" + ], + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "number", + "created_at", + "url", + "html_url", + "state", + "dismissed_by", + "dismissed_at", + "dismissed_reason", + "rule", + "tool" + ], + "type": "object" + }, + "commit_oid": { + "description": "The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "ref": { + "description": "The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "ref", + "commit_oid", + "repository", + "sender" + ], + "title": "code_scanning_alert appeared_in_branch event", + "type": "object" + }, + "webhook-code-scanning-alert-closed-by-user": { + "properties": { + "action": { + "enum": [ + "closed_by_user" + ], + "type": "string" + }, + "alert": { + "description": "The code scanning alert involved in the event.", + "properties": { + "created_at": { + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", + "format": "date-time", + "type": "string" + }, + "dismissed_at": { + "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "type": "string" + }, + "dismissed_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "dismissed_reason": { + "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", + "enum": [ + "false positive", + "won't fix", + "used in tests", + null + ], + "nullable": true, + "type": "string" + }, + "html_url": { + "description": "The GitHub URL of the alert resource.", + "format": "uri", + "type": "string" + }, + "most_recent_instance": { + "nullable": true, + "properties": { + "analysis_key": { + "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", + "type": "string" + }, + "classifications": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commit_sha": { + "type": "string" + }, + "environment": { + "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", + "type": "string" + }, + "location": { + "properties": { + "end_column": { + "type": "integer" + }, + "end_line": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "start_column": { + "type": "integer" + }, + "start_line": { + "type": "integer" + } + }, + "type": "object" + }, + "message": { + "properties": { + "text": { + "type": "string" + } + }, + "type": "object" + }, + "ref": { + "description": "The full Git reference, formatted as `refs/heads/`.", + "type": "string" + }, + "state": { + "description": "State of a code scanning alert.", + "enum": [ + "open", + "dismissed", + "fixed" + ], + "type": "string" + } + }, + "required": [ + "ref", + "analysis_key", + "environment", + "state" + ], + "title": "Alert Instance", + "type": "object" + }, + "number": { + "description": "The code scanning alert number.", + "type": "integer" + }, + "rule": { + "properties": { + "description": { + "description": "A short description of the rule used to detect the alert.", + "type": "string" + }, + "full_description": { + "type": "string" + }, + "help": { + "nullable": true, + "type": "string" + }, + "help_uri": { + "description": "A link to the documentation for the rule used to detect the alert.", + "nullable": true, + "type": "string" + }, + "id": { + "description": "A unique identifier for the rule used to detect the alert.", + "type": "string" + }, + "name": { + "type": "string" + }, + "severity": { + "description": "The severity of the alert.", + "enum": [ + "none", + "note", + "warning", + "error", + null + ], + "nullable": true, + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "required": [ + "id", + "severity", + "description" + ], + "type": "object" + }, + "state": { + "description": "State of a code scanning alert.", + "enum": [ + "dismissed", + "fixed" + ], + "type": "string" + }, + "tool": { + "properties": { + "guid": { + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the tool used to generate the code scanning analysis alert.", + "type": "string" + }, + "version": { + "description": "The version of the tool used to detect the alert.", + "nullable": true, + "type": "string" + } + }, + "required": [ + "name", + "version" + ], + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "number", + "created_at", + "url", + "html_url", + "state", + "dismissed_by", + "dismissed_at", + "dismissed_reason", + "rule", + "tool" + ], + "type": "object" + }, + "commit_oid": { + "description": "The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "ref": { + "description": "The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "ref", + "commit_oid", + "repository", + "sender" + ], + "title": "code_scanning_alert closed_by_user event", + "type": "object" + }, + "webhook-code-scanning-alert-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "alert": { + "description": "The code scanning alert involved in the event.", + "properties": { + "created_at": { + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "dismissed_at": { + "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "dismissed_by": { + "nullable": true + }, + "dismissed_comment": { + "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" + }, + "dismissed_reason": { + "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", + "nullable": true + }, + "fixed_at": { + "nullable": true + }, + "html_url": { + "description": "The GitHub URL of the alert resource.", + "format": "uri", + "type": "string" + }, + "instances_url": { + "type": "string" + }, + "most_recent_instance": { + "nullable": true, + "properties": { + "analysis_key": { + "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", + "type": "string" + }, + "classifications": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commit_sha": { + "type": "string" + }, + "environment": { + "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", + "type": "string" + }, + "location": { + "properties": { + "end_column": { + "type": "integer" + }, + "end_line": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "start_column": { + "type": "integer" + }, + "start_line": { + "type": "integer" + } + }, + "type": "object" + }, + "message": { + "properties": { + "text": { + "type": "string" + } + }, + "type": "object" + }, + "ref": { + "description": "The full Git reference, formatted as `refs/heads/`.", + "type": "string" + }, + "state": { + "description": "State of a code scanning alert.", + "enum": [ + "open", + "dismissed", + "fixed" + ], + "type": "string" + } + }, + "required": [ + "ref", + "analysis_key", + "environment", + "state" + ], + "title": "Alert Instance", + "type": "object" + }, + "number": { + "description": "The code scanning alert number.", + "type": "integer" + }, + "rule": { + "properties": { + "description": { + "description": "A short description of the rule used to detect the alert.", + "type": "string" + }, + "full_description": { + "type": "string" + }, + "help": { + "nullable": true, + "type": "string" + }, + "help_uri": { + "description": "A link to the documentation for the rule used to detect the alert.", + "nullable": true, + "type": "string" + }, + "id": { + "description": "A unique identifier for the rule used to detect the alert.", + "type": "string" + }, + "name": { + "type": "string" + }, + "severity": { + "description": "The severity of the alert.", + "enum": [ + "none", + "note", + "warning", + "error", + null + ], + "nullable": true, + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "required": [ + "id", + "severity", + "description" + ], + "type": "object" + }, + "state": { + "description": "State of a code scanning alert.", + "enum": [ + "open", + "dismissed" + ], + "type": "string" + }, + "tool": { + "nullable": true, + "properties": { + "guid": { + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the tool used to generate the code scanning analysis alert.", + "type": "string" + }, + "version": { + "description": "The version of the tool used to detect the alert.", + "nullable": true, + "type": "string" + } + }, + "required": [ + "name", + "version" + ], + "type": "object" + }, + "updated_at": { + "nullable": true, + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "number", + "created_at", + "url", + "html_url", + "state", + "dismissed_by", + "dismissed_at", + "dismissed_reason", + "rule", + "tool" + ], + "type": "object" + }, + "commit_oid": { + "description": "The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "ref": { + "description": "The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "ref", + "commit_oid", + "repository", + "sender" + ], + "title": "code_scanning_alert created event", + "type": "object" + }, + "webhook-code-scanning-alert-fixed": { + "properties": { + "action": { + "enum": [ + "fixed" + ], + "type": "string" + }, + "alert": { + "description": "The code scanning alert involved in the event.", + "properties": { + "created_at": { + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", + "format": "date-time", + "type": "string" + }, + "dismissed_at": { + "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "dismissed_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "dismissed_reason": { + "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", + "enum": [ + "false positive", + "won't fix", + "used in tests", + null + ], + "nullable": true, + "type": "string" + }, + "html_url": { + "description": "The GitHub URL of the alert resource.", + "format": "uri", + "type": "string" + }, + "instances_url": { + "format": "uri", + "type": "string" + }, + "most_recent_instance": { + "nullable": true, + "properties": { + "analysis_key": { + "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", + "type": "string" + }, + "classifications": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commit_sha": { + "type": "string" + }, + "environment": { + "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", + "type": "string" + }, + "location": { + "properties": { + "end_column": { + "type": "integer" + }, + "end_line": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "start_column": { + "type": "integer" + }, + "start_line": { + "type": "integer" + } + }, + "type": "object" + }, + "message": { + "properties": { + "text": { + "type": "string" + } + }, + "type": "object" + }, + "ref": { + "description": "The full Git reference, formatted as `refs/heads/`.", + "type": "string" + }, + "state": { + "description": "State of a code scanning alert.", + "enum": [ + "open", + "dismissed", + "fixed" + ], + "type": "string" + } + }, + "required": [ + "ref", + "analysis_key", + "environment", + "state" + ], + "title": "Alert Instance", + "type": "object" + }, + "number": { + "description": "The code scanning alert number.", + "type": "integer" + }, + "rule": { + "properties": { + "description": { + "description": "A short description of the rule used to detect the alert.", + "type": "string" + }, + "full_description": { + "type": "string" + }, + "help": { + "nullable": true, + "type": "string" + }, + "help_uri": { + "description": "A link to the documentation for the rule used to detect the alert.", + "nullable": true, + "type": "string" + }, + "id": { + "description": "A unique identifier for the rule used to detect the alert.", + "type": "string" + }, + "name": { + "type": "string" + }, + "severity": { + "description": "The severity of the alert.", + "enum": [ + "none", + "note", + "warning", + "error", + null + ], + "nullable": true, + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "required": [ + "id", + "severity", + "description" + ], + "type": "object" + }, + "state": { + "description": "State of a code scanning alert.", + "enum": [ + "fixed" + ], + "type": "string" + }, + "tool": { + "properties": { + "guid": { + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the tool used to generate the code scanning analysis alert.", + "type": "string" + }, + "version": { + "description": "The version of the tool used to detect the alert.", + "nullable": true, + "type": "string" + } + }, + "required": [ + "name", + "version" + ], + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "number", + "created_at", + "url", + "html_url", + "state", + "dismissed_by", + "dismissed_at", + "dismissed_reason", + "rule", + "tool" + ], + "type": "object" + }, + "commit_oid": { + "description": "The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "ref": { + "description": "The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "ref", + "commit_oid", + "repository", + "sender" + ], + "title": "code_scanning_alert fixed event", + "type": "object" + }, + "webhook-code-scanning-alert-reopened": { + "properties": { + "action": { + "enum": [ + "reopened" + ], + "type": "string" + }, + "alert": { + "description": "The code scanning alert involved in the event.", + "nullable": true, + "properties": { + "created_at": { + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", + "format": "date-time", + "type": "string" + }, + "dismissed_at": { + "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true, + "type": "string" + }, + "dismissed_by": { + "nullable": true, + "type": "object" + }, + "dismissed_reason": { + "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", + "nullable": true, + "type": "string" + }, + "html_url": { + "description": "The GitHub URL of the alert resource.", + "format": "uri", + "type": "string" + }, + "most_recent_instance": { + "nullable": true, + "properties": { + "analysis_key": { + "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", + "type": "string" + }, + "classifications": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commit_sha": { + "type": "string" + }, + "environment": { + "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", + "type": "string" + }, + "location": { + "properties": { + "end_column": { + "type": "integer" + }, + "end_line": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "start_column": { + "type": "integer" + }, + "start_line": { + "type": "integer" + } + }, + "type": "object" + }, + "message": { + "properties": { + "text": { + "type": "string" + } + }, + "type": "object" + }, + "ref": { + "description": "The full Git reference, formatted as `refs/heads/`.", + "type": "string" + }, + "state": { + "description": "State of a code scanning alert.", + "enum": [ + "open", + "dismissed", + "fixed" + ], + "type": "string" + } + }, + "required": [ + "ref", + "analysis_key", + "environment", + "state" + ], + "title": "Alert Instance", + "type": "object" + }, + "number": { + "description": "The code scanning alert number.", + "type": "integer" + }, + "rule": { + "properties": { + "description": { + "description": "A short description of the rule used to detect the alert.", + "type": "string" + }, + "full_description": { + "type": "string" + }, + "help": { + "nullable": true, + "type": "string" + }, + "help_uri": { + "description": "A link to the documentation for the rule used to detect the alert.", + "nullable": true, + "type": "string" + }, + "id": { + "description": "A unique identifier for the rule used to detect the alert.", + "type": "string" + }, + "name": { + "type": "string" + }, + "severity": { + "description": "The severity of the alert.", + "enum": [ + "none", + "note", + "warning", + "error", + null + ], + "nullable": true, + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "required": [ + "id", + "severity", + "description" + ], + "type": "object" + }, + "state": { + "description": "State of a code scanning alert.", + "enum": [ + "open", + "dismissed", + "fixed" + ], + "type": "string" + }, + "tool": { + "properties": { + "guid": { + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the tool used to generate the code scanning analysis alert.", + "type": "string" + }, + "version": { + "description": "The version of the tool used to detect the alert.", + "nullable": true, + "type": "string" + } + }, + "required": [ + "name", + "version" + ], + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "number", + "created_at", + "url", + "html_url", + "state", + "dismissed_by", + "dismissed_at", + "dismissed_reason", + "rule", + "tool" + ], + "type": "object" + }, + "commit_oid": { + "description": "The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", + "nullable": true, + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "ref": { + "description": "The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", + "nullable": true, + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "ref", + "commit_oid", + "repository", + "sender" + ], + "title": "code_scanning_alert reopened event", + "type": "object" + }, + "webhook-code-scanning-alert-reopened-by-user": { + "properties": { + "action": { + "enum": [ + "reopened_by_user" + ], + "type": "string" + }, + "alert": { + "description": "The code scanning alert involved in the event.", + "properties": { + "created_at": { + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", + "format": "date-time", + "type": "string" + }, + "dismissed_at": { + "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "dismissed_by": { + "nullable": true + }, + "dismissed_reason": { + "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", + "nullable": true + }, + "html_url": { + "description": "The GitHub URL of the alert resource.", + "format": "uri", + "type": "string" + }, + "most_recent_instance": { + "nullable": true, + "properties": { + "analysis_key": { + "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", + "type": "string" + }, + "classifications": { + "items": { + "type": "string" + }, + "type": "array" + }, + "commit_sha": { + "type": "string" + }, + "environment": { + "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", + "type": "string" + }, + "location": { + "properties": { + "end_column": { + "type": "integer" + }, + "end_line": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "start_column": { + "type": "integer" + }, + "start_line": { + "type": "integer" + } + }, + "type": "object" + }, + "message": { + "properties": { + "text": { + "type": "string" + } + }, + "type": "object" + }, + "ref": { + "description": "The full Git reference, formatted as `refs/heads/`.", + "type": "string" + }, + "state": { + "description": "State of a code scanning alert.", + "enum": [ + "open", + "dismissed", + "fixed" + ], + "type": "string" + } + }, + "required": [ + "ref", + "analysis_key", + "environment", + "state" + ], + "title": "Alert Instance", + "type": "object" + }, + "number": { + "description": "The code scanning alert number.", + "type": "integer" + }, + "rule": { + "properties": { + "description": { + "description": "A short description of the rule used to detect the alert.", + "type": "string" + }, + "id": { + "description": "A unique identifier for the rule used to detect the alert.", + "type": "string" + }, + "severity": { + "description": "The severity of the alert.", + "enum": [ + "none", + "note", + "warning", + "error", + null + ], + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "severity", + "description" + ], + "type": "object" + }, + "state": { + "description": "State of a code scanning alert.", + "enum": [ + "open", + "fixed" + ], + "type": "string" + }, + "tool": { + "properties": { + "name": { + "description": "The name of the tool used to generate the code scanning analysis alert.", + "type": "string" + }, + "version": { + "description": "The version of the tool used to detect the alert.", + "nullable": true, + "type": "string" + } + }, + "required": [ + "name", + "version" + ], + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "number", + "created_at", + "url", + "html_url", + "state", + "dismissed_by", + "dismissed_at", + "dismissed_reason", + "rule", + "tool" + ], + "type": "object" + }, + "commit_oid": { + "description": "The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "ref": { + "description": "The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "ref", + "commit_oid", + "repository", + "sender" + ], + "title": "code_scanning_alert reopened_by_user event", + "type": "object" + }, + "webhook-commit-comment-created": { + "properties": { + "action": { + "description": "The action performed. Can be `created`.", + "enum": [ + "created" + ], + "type": "string" + }, + "comment": { + "description": "The [commit comment](https://docs.github.com/rest/reference/repos#get-a-commit-comment) resource.", + "properties": { + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "The text of the comment.", + "type": "string" + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "type": "string" + }, + "created_at": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "The ID of the commit comment.", + "type": "integer" + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "nullable": true, + "type": "integer" + }, + "node_id": { + "description": "The node ID of the commit comment.", + "type": "string" + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "nullable": true, + "type": "string" + }, + "position": { + "description": "The line index in the diff to which the comment applies.", + "nullable": true, + "type": "integer" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "updated_at": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "html_url", + "id", + "node_id", + "user", + "position", + "line", + "path", + "commit_id", + "created_at", + "updated_at", + "author_association", + "body" + ], + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "comment", + "repository", + "sender" + ], + "title": "commit_comment created event", + "type": "object" + }, + "webhook-config": { + "description": "Configuration object of the webhook", + "properties": { + "content_type": { + "$ref": "#/components/schemas/webhook-config-content-type" + }, + "insecure_ssl": { + "$ref": "#/components/schemas/webhook-config-insecure-ssl" + }, + "secret": { + "$ref": "#/components/schemas/webhook-config-secret" + }, + "url": { + "$ref": "#/components/schemas/webhook-config-url" + } + }, + "title": "Webhook Configuration", + "type": "object" + }, + "webhook-config-content-type": { + "description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.", + "example": "\"json\"", + "type": "string" + }, + "webhook-config-insecure-ssl": { + "oneOf": [ + { + "description": "Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.**", + "example": "\"0\"", + "type": "string" + }, + { + "type": "number" + } + ] + }, + "webhook-config-secret": { + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).", + "example": "\"********\"", + "type": "string" + }, + "webhook-config-url": { + "description": "The URL to which the payloads will be delivered.", + "example": "https://example.com/webhook", + "format": "uri", + "type": "string" + }, + "webhook-create": { + "properties": { + "description": { + "description": "The repository's current description.", + "nullable": true, + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "master_branch": { + "description": "The name of the repository's default branch (usually `main`).", + "type": "string" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pusher_type": { + "description": "The pusher type for the event. Can be either `user` or a deploy key.", + "type": "string" + }, + "ref": { + "description": "The [`git ref`](https://docs.github.com/rest/reference/git#get-a-reference) resource.", + "type": "string" + }, + "ref_type": { + "description": "The type of Git ref object created in the repository.", + "enum": [ + "tag", + "branch" + ], + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "ref", + "ref_type", + "master_branch", + "description", + "pusher_type", + "repository", + "sender" + ], + "title": "create event", + "type": "object" + }, + "webhook-delete": { + "properties": { + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pusher_type": { + "description": "The pusher type for the event. Can be either `user` or a deploy key.", + "type": "string" + }, + "ref": { + "description": "The [`git ref`](https://docs.github.com/rest/reference/git#get-a-reference) resource.", + "type": "string" + }, + "ref_type": { + "description": "The type of Git ref object deleted in the repository.", + "enum": [ + "tag", + "branch" + ], + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "ref", + "ref_type", + "pusher_type", + "repository", + "sender" + ], + "title": "delete event", + "type": "object" + }, + "webhook-dependabot-alert-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "alert": { + "$ref": "#/components/schemas/dependabot-alert" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository", + "sender" + ], + "title": "Dependabot alert created event", + "type": "object" + }, + "webhook-dependabot-alert-dismissed": { + "properties": { + "action": { + "enum": [ + "dismissed" + ], + "type": "string" + }, + "alert": { + "$ref": "#/components/schemas/dependabot-alert" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository", + "sender" + ], + "title": "Dependabot alert dismissed event", + "type": "object" + }, + "webhook-dependabot-alert-fixed": { + "properties": { + "action": { + "enum": [ + "fixed" + ], + "type": "string" + }, + "alert": { + "$ref": "#/components/schemas/dependabot-alert" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository", + "sender" + ], + "title": "Dependabot alert fixed event", + "type": "object" + }, + "webhook-dependabot-alert-reintroduced": { + "properties": { + "action": { + "enum": [ + "reintroduced" + ], + "type": "string" + }, + "alert": { + "$ref": "#/components/schemas/dependabot-alert" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository", + "sender" + ], + "title": "Dependabot alert reintroduced event", + "type": "object" + }, + "webhook-dependabot-alert-reopened": { + "properties": { + "action": { + "enum": [ + "reopened" + ], + "type": "string" + }, + "alert": { + "$ref": "#/components/schemas/dependabot-alert" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository", + "sender" + ], + "title": "Dependabot alert reopened event", + "type": "object" + }, + "webhook-deploy-key-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "key": { + "description": "The [`deploy key`](https://docs.github.com/rest/reference/deployments#get-a-deploy-key) resource.", + "properties": { + "added_by": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "key": { + "type": "string" + }, + "last_used": { + "nullable": true, + "type": "string" + }, + "read_only": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "required": [ + "id", + "key", + "url", + "title", + "verified", + "created_at", + "read_only" + ], + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "key", + "repository", + "sender" + ], + "title": "deploy_key created event", + "type": "object" + }, + "webhook-deploy-key-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "key": { + "description": "The [`deploy key`](https://docs.github.com/rest/reference/deployments#get-a-deploy-key) resource.", + "properties": { + "added_by": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "key": { + "type": "string" + }, + "last_used": { + "nullable": true, + "type": "string" + }, + "read_only": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "required": [ + "id", + "key", + "url", + "title", + "verified", + "created_at", + "read_only" + ], + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "key", + "repository", + "sender" + ], + "title": "deploy_key deleted event", + "type": "object" + }, + "webhook-deployment-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "deployment": { + "description": "The [deployment](https://docs.github.com/rest/reference/deployments#list-deployments).", + "properties": { + "created_at": { + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "environment": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "original_environment": { + "type": "string" + }, + "payload": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "string" + } + ] + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "workflow_job", + "pull_request_review_thread", + "merge_queue_entry", + "secret_scanning_alert_location", + "merge_group" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "production_environment": { + "type": "boolean" + }, + "ref": { + "type": "string" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "sha": { + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "task": { + "type": "string" + }, + "transient_environment": { + "type": "boolean" + }, + "updated_at": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "id", + "node_id", + "sha", + "ref", + "task", + "payload", + "original_environment", + "environment", + "description", + "creator", + "created_at", + "updated_at", + "statuses_url", + "repository_url" + ], + "title": "Deployment", + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "workflow": { + "nullable": true, + "properties": { + "badge_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "path": { + "type": "string" + }, + "state": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "badge_url", + "created_at", + "html_url", + "id", + "name", + "node_id", + "path", + "state", + "updated_at", + "url" + ], + "title": "Workflow", + "type": "object" + }, + "workflow_run": { + "nullable": true, + "properties": { + "actor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "artifacts_url": { + "type": "string" + }, + "cancel_url": { + "type": "string" + }, + "check_suite_id": { + "type": "integer" + }, + "check_suite_node_id": { + "type": "string" + }, + "check_suite_url": { + "type": "string" + }, + "conclusion": { + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + null + ], + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "display_title": { + "type": "string" + }, + "event": { + "type": "string" + }, + "head_branch": { + "type": "string" + }, + "head_commit": { + "nullable": true + }, + "head_repository": { + "properties": { + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "head_sha": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "jobs_url": { + "type": "string" + }, + "logs_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "path": { + "type": "string" + }, + "previous_attempt_url": { + "nullable": true + }, + "pull_requests": { + "items": { + "properties": { + "base": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "head": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "id": { + "type": "integer" + }, + "number": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "id", + "number", + "head", + "base" + ], + "title": "Check Run Pull Request", + "type": "object" + }, + "type": "array" + }, + "referenced_workflows": { + "items": { + "properties": { + "path": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "path", + "sha" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "repository": { + "properties": { + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "rerun_url": { + "type": "string" + }, + "run_attempt": { + "type": "integer" + }, + "run_number": { + "type": "integer" + }, + "run_started_at": { + "format": "date-time", + "type": "string" + }, + "status": { + "enum": [ + "requested", + "in_progress", + "completed", + "queued", + "waiting", + "pending" + ], + "type": "string" + }, + "triggering_actor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "workflow_id": { + "type": "integer" + }, + "workflow_url": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "node_id", + "head_branch", + "head_sha", + "run_number", + "event", + "status", + "conclusion", + "workflow_id", + "check_suite_id", + "check_suite_node_id", + "url", + "html_url", + "path", + "pull_requests", + "created_at", + "updated_at", + "actor", + "run_attempt", + "run_started_at", + "display_title" + ], + "title": "Deployment Workflow Run", + "type": "object" + } + }, + "required": [ + "action", + "deployment", + "workflow", + "workflow_run", + "repository", + "sender" + ], + "title": "deployment created event", + "type": "object" + }, + "webhook-deployment-status-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "check_run": { + "nullable": true, + "properties": { + "completed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "conclusion": { + "description": "The result of the completed check run. Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has completed.", + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + "skipped", + null + ], + "nullable": true, + "type": "string" + }, + "details_url": { + "format": "uri", + "type": "string" + }, + "external_id": { + "type": "string" + }, + "head_sha": { + "description": "The SHA of the commit that is being checked.", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "The id of the check.", + "type": "integer" + }, + "name": { + "description": "The name of the check run.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "started_at": { + "format": "date-time", + "type": "string" + }, + "status": { + "description": "The current status of the check run. Can be `queued`, `in_progress`, or `completed`.", + "enum": [ + "queued", + "in_progress", + "completed", + "waiting", + "pending" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "name", + "node_id", + "head_sha", + "external_id", + "url", + "html_url", + "details_url", + "status", + "conclusion", + "started_at", + "completed_at" + ], + "type": "object" + }, + "deployment": { + "description": "The [deployment](https://docs.github.com/rest/reference/deployments#list-deployments).", + "properties": { + "created_at": { + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "environment": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "original_environment": { + "type": "string" + }, + "payload": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + } + ] + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "merge_queue_entry", + "workflow_job", + "pull_request_review_thread", + "secret_scanning_alert_location", + "merge_group" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "production_environment": { + "type": "boolean" + }, + "ref": { + "type": "string" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "sha": { + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "task": { + "type": "string" + }, + "transient_environment": { + "type": "boolean" + }, + "updated_at": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "id", + "node_id", + "sha", + "ref", + "task", + "payload", + "original_environment", + "environment", + "description", + "creator", + "created_at", + "updated_at", + "statuses_url", + "repository_url" + ], + "title": "Deployment", + "type": "object" + }, + "deployment_status": { + "description": "The [deployment status](https://docs.github.com/rest/reference/deployments#list-deployment-statuses).", + "properties": { + "created_at": { + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "deployment_url": { + "format": "uri", + "type": "string" + }, + "description": { + "description": "The optional human-readable description added to the status.", + "type": "string" + }, + "environment": { + "type": "string" + }, + "environment_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "log_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "pull_request_review_thread", + "merge_queue_entry", + "workflow_job", + "merge_group", + "secret_scanning_alert_location" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "The new state. Can be `pending`, `success`, `failure`, or `error`.", + "type": "string" + }, + "target_url": { + "description": "The optional link added to the status.", + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "id", + "node_id", + "state", + "creator", + "description", + "environment", + "target_url", + "created_at", + "updated_at", + "deployment_url", + "repository_url" + ], + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "workflow": { + "nullable": true, + "properties": { + "badge_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "path": { + "type": "string" + }, + "state": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "badge_url", + "created_at", + "html_url", + "id", + "name", + "node_id", + "path", + "state", + "updated_at", + "url" + ], + "title": "Workflow", + "type": "object" + }, + "workflow_run": { + "nullable": true, + "properties": { + "actor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "artifacts_url": { + "type": "string" + }, + "cancel_url": { + "type": "string" + }, + "check_suite_id": { + "type": "integer" + }, + "check_suite_node_id": { + "type": "string" + }, + "check_suite_url": { + "type": "string" + }, + "conclusion": { + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + null, + "startup_failure" + ], + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "display_title": { + "type": "string" + }, + "event": { + "type": "string" + }, + "head_branch": { + "type": "string" + }, + "head_commit": { + "nullable": true + }, + "head_repository": { + "properties": { + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "head_sha": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "jobs_url": { + "type": "string" + }, + "logs_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "path": { + "type": "string" + }, + "previous_attempt_url": { + "nullable": true + }, + "pull_requests": { + "items": { + "properties": { + "base": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "head": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "id": { + "type": "integer" + }, + "number": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "id", + "number", + "head", + "base" + ], + "title": "Check Run Pull Request", + "type": "object" + }, + "type": "array" + }, + "referenced_workflows": { + "items": { + "properties": { + "path": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "path", + "sha" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "repository": { + "properties": { + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "rerun_url": { + "type": "string" + }, + "run_attempt": { + "type": "integer" + }, + "run_number": { + "type": "integer" + }, + "run_started_at": { + "format": "date-time", + "type": "string" + }, + "status": { + "enum": [ + "requested", + "in_progress", + "completed", + "queued", + "waiting", + "pending" + ], + "type": "string" + }, + "triggering_actor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "workflow_id": { + "type": "integer" + }, + "workflow_url": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "node_id", + "head_branch", + "head_sha", + "run_number", + "event", + "status", + "conclusion", + "workflow_id", + "check_suite_id", + "check_suite_node_id", + "url", + "html_url", + "path", + "pull_requests", + "created_at", + "updated_at", + "actor", + "triggering_actor", + "run_attempt", + "run_started_at", + "display_title" + ], + "title": "Deployment Workflow Run", + "type": "object" + } + }, + "required": [ + "action", + "deployment_status", + "deployment", + "repository", + "sender" + ], + "title": "deployment_status created event", + "type": "object" + }, + "webhook-discussion-answered": { + "properties": { + "action": { + "enum": [ + "answered" + ], + "type": "string" + }, + "answer": { + "properties": { + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "type": "string" + }, + "child_comment_count": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "discussion_id": { + "type": "integer" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "parent_id": { + "nullable": true + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "id", + "node_id", + "html_url", + "parent_id", + "child_comment_count", + "repository_url", + "discussion_id", + "author_association", + "user", + "created_at", + "updated_at", + "body" + ], + "type": "object" + }, + "discussion": { + "$ref": "#/components/schemas/discussion" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "discussion", + "answer", + "repository", + "sender" + ], + "title": "discussion answered event", + "type": "object" + }, + "webhook-discussion-category-changed": { + "properties": { + "action": { + "enum": [ + "category_changed" + ], + "type": "string" + }, + "changes": { + "properties": { + "category": { + "properties": { + "from": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_answerable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "repository_id": { + "type": "integer" + }, + "slug": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "id", + "repository_id", + "emoji", + "name", + "description", + "created_at", + "updated_at", + "slug", + "is_answerable" + ], + "type": "object" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "required": [ + "category" + ], + "type": "object" + }, + "discussion": { + "$ref": "#/components/schemas/discussion" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "discussion", + "repository", + "sender" + ], + "title": "discussion category changed event", + "type": "object" + }, + "webhook-discussion-comment-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "comment": { + "properties": { + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "type": "string" + }, + "child_comment_count": { + "type": "integer" + }, + "created_at": { + "type": "string" + }, + "discussion_id": { + "type": "integer" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "parent_id": { + "nullable": true, + "type": "integer" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "id", + "node_id", + "html_url", + "parent_id", + "child_comment_count", + "repository_url", + "discussion_id", + "author_association", + "user", + "created_at", + "updated_at", + "body", + "reactions" + ], + "type": "object" + }, + "discussion": { + "$ref": "#/components/schemas/discussion" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "comment", + "discussion", + "repository", + "sender" + ], + "title": "discussion_comment created event", + "type": "object" + }, + "webhook-discussion-comment-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "comment": { + "properties": { + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "type": "string" + }, + "child_comment_count": { + "type": "integer" + }, + "created_at": { + "type": "string" + }, + "discussion_id": { + "type": "integer" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "parent_id": { + "nullable": true, + "type": "integer" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "id", + "node_id", + "html_url", + "parent_id", + "child_comment_count", + "repository_url", + "discussion_id", + "author_association", + "user", + "created_at", + "updated_at", + "body", + "reactions" + ], + "type": "object" + }, + "discussion": { + "$ref": "#/components/schemas/discussion" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "comment", + "discussion", + "repository", + "sender" + ], + "title": "discussion_comment deleted event", + "type": "object" + }, + "webhook-discussion-comment-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "properties": { + "body": { + "properties": { + "from": { + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "required": [ + "body" + ], + "type": "object" + }, + "comment": { + "properties": { + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "type": "string" + }, + "child_comment_count": { + "type": "integer" + }, + "created_at": { + "type": "string" + }, + "discussion_id": { + "type": "integer" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "parent_id": { + "nullable": true, + "type": "integer" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "id", + "node_id", + "html_url", + "parent_id", + "child_comment_count", + "repository_url", + "discussion_id", + "author_association", + "user", + "created_at", + "updated_at", + "body", + "reactions" + ], + "type": "object" + }, + "discussion": { + "$ref": "#/components/schemas/discussion" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "comment", + "discussion", + "repository", + "sender" + ], + "title": "discussion_comment edited event", + "type": "object" + }, + "webhook-discussion-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "discussion": { + "allOf": [ + { + "properties": { + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "answer_chosen_at": { + "nullable": true, + "type": "string" + }, + "answer_chosen_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "answer_html_url": { + "nullable": true, + "type": "string" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "nullable": true, + "type": "string" + }, + "category": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_answerable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "repository_id": { + "type": "integer" + }, + "slug": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "id", + "repository_id", + "emoji", + "name", + "description", + "created_at", + "updated_at", + "slug", + "is_answerable" + ], + "type": "object" + }, + "comments": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "locked": { + "type": "boolean" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "state": { + "enum": [ + "open", + "locked", + "converting", + "transferring" + ], + "type": "string" + }, + "timeline_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "repository_url", + "category", + "answer_html_url", + "answer_chosen_at", + "answer_chosen_by", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "state", + "locked", + "comments", + "created_at", + "updated_at", + "author_association", + "active_lock_reason", + "body" + ], + "title": "Discussion", + "type": "object" + }, + { + "properties": { + "active_lock_reason": { + "nullable": true + }, + "answer_chosen_at": { + "nullable": true + }, + "answer_chosen_by": { + "nullable": true + }, + "answer_html_url": { + "nullable": true, + "type": "string" + }, + "author_association": { + "type": "string" + }, + "body": { + "nullable": true, + "type": "string" + }, + "category": { + "properties": { + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_answerable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "repository_id": { + "type": "integer" + }, + "slug": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "type": "object" + }, + "comments": { + "type": "integer" + }, + "created_at": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "locked": { + "enum": [ + false + ], + "type": "boolean" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "state": { + "enum": [ + "open", + "converting", + "transferring" + ], + "type": "string" + }, + "timeline_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "state", + "locked", + "answer_html_url", + "answer_chosen_at", + "answer_chosen_by" + ], + "type": "object" + } + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "discussion", + "repository", + "sender" + ], + "title": "discussion created event", + "type": "object" + }, + "webhook-discussion-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "discussion": { + "$ref": "#/components/schemas/discussion" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "discussion", + "repository", + "sender" + ], + "title": "discussion deleted event", + "type": "object" + }, + "webhook-discussion-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "properties": { + "body": { + "properties": { + "from": { + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "title": { + "properties": { + "from": { + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "type": "object" + }, + "discussion": { + "$ref": "#/components/schemas/discussion" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "discussion", + "repository", + "sender" + ], + "title": "discussion edited event", + "type": "object" + }, + "webhook-discussion-labeled": { + "properties": { + "action": { + "enum": [ + "labeled" + ], + "type": "string" + }, + "discussion": { + "properties": { + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "answer_chosen_at": { + "nullable": true, + "type": "string" + }, + "answer_chosen_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "answer_html_url": { + "nullable": true, + "type": "string" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "nullable": true, + "type": "string" + }, + "category": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_answerable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "repository_id": { + "type": "integer" + }, + "slug": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "id", + "repository_id", + "emoji", + "name", + "description", + "created_at", + "updated_at", + "slug", + "is_answerable" + ], + "type": "object" + }, + "comments": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "locked": { + "type": "boolean" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "state": { + "enum": [ + "open", + "locked", + "converting", + "transferring" + ], + "type": "string" + }, + "timeline_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "repository_url", + "category", + "answer_html_url", + "answer_chosen_at", + "answer_chosen_by", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "state", + "locked", + "comments", + "created_at", + "updated_at", + "author_association", + "active_lock_reason", + "body" + ], + "title": "Discussion", + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "label": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "discussion", + "label", + "repository", + "sender" + ], + "title": "discussion labeled event", + "type": "object" + }, + "webhook-discussion-locked": { + "properties": { + "action": { + "enum": [ + "locked" + ], + "type": "string" + }, + "discussion": { + "$ref": "#/components/schemas/discussion" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "discussion", + "repository", + "sender" + ], + "title": "discussion locked event", + "type": "object" + }, + "webhook-discussion-pinned": { + "properties": { + "action": { + "enum": [ + "pinned" + ], + "type": "string" + }, + "discussion": { + "$ref": "#/components/schemas/discussion" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "discussion", + "repository", + "sender" + ], + "title": "discussion pinned event", + "type": "object" + }, + "webhook-discussion-transferred": { + "properties": { + "action": { + "enum": [ + "transferred" + ], + "type": "string" + }, + "changes": { + "properties": { + "new_discussion": { + "properties": { + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "answer_chosen_at": { + "nullable": true, + "type": "string" + }, + "answer_chosen_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "answer_html_url": { + "nullable": true, + "type": "string" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "type": "string" + }, + "category": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_answerable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "repository_id": { + "type": "integer" + }, + "slug": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "id", + "repository_id", + "emoji", + "name", + "description", + "created_at", + "updated_at", + "slug", + "is_answerable" + ], + "type": "object" + }, + "comments": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "locked": { + "type": "boolean" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "state": { + "enum": [ + "open", + "locked", + "converting", + "transferring" + ], + "type": "string" + }, + "timeline_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "repository_url", + "category", + "answer_html_url", + "answer_chosen_at", + "answer_chosen_by", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "state", + "locked", + "comments", + "created_at", + "updated_at", + "author_association", + "active_lock_reason", + "body" + ], + "title": "Discussion", + "type": "object" + }, + "new_repository": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + } + }, + "required": [ + "new_discussion", + "new_repository" + ], + "type": "object" + }, + "discussion": { + "$ref": "#/components/schemas/discussion" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "discussion", + "repository", + "sender" + ], + "title": "discussion transferred event", + "type": "object" + }, + "webhook-discussion-unanswered": { + "properties": { + "action": { + "enum": [ + "unanswered" + ], + "type": "string" + }, + "discussion": { + "$ref": "#/components/schemas/discussion" + }, + "old_answer": { + "properties": { + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "type": "string" + }, + "child_comment_count": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "discussion_id": { + "type": "integer" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "parent_id": { + "nullable": true + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "id", + "node_id", + "html_url", + "parent_id", + "child_comment_count", + "repository_url", + "discussion_id", + "author_association", + "user", + "created_at", + "updated_at", + "body" + ], + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "discussion", + "old_answer", + "repository" + ], + "title": "discussion unanswered event", + "type": "object" + }, + "webhook-discussion-unlabeled": { + "properties": { + "action": { + "enum": [ + "unlabeled" + ], + "type": "string" + }, + "discussion": { + "$ref": "#/components/schemas/discussion" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "label": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "discussion", + "label", + "repository", + "sender" + ], + "title": "discussion unlabeled event", + "type": "object" + }, + "webhook-discussion-unlocked": { + "properties": { + "action": { + "enum": [ + "unlocked" + ], + "type": "string" + }, + "discussion": { + "$ref": "#/components/schemas/discussion" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "discussion", + "repository", + "sender" + ], + "title": "discussion unlocked event", + "type": "object" + }, + "webhook-discussion-unpinned": { + "properties": { + "action": { + "enum": [ + "unpinned" + ], + "type": "string" + }, + "discussion": { + "$ref": "#/components/schemas/discussion" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "discussion", + "repository", + "sender" + ], + "title": "discussion unpinned event", + "type": "object" + }, + "webhook-fork": { + "description": "A user forks a repository.", + "properties": { + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "forkee": { + "allOf": [ + { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + { + "properties": { + "allow_forking": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "enum": [ + true + ], + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "nullable": true + }, + "languages_url": { + "type": "string" + }, + "license": { + "nullable": true, + "type": "object" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "nullable": true + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "topics": { + "items": { + "nullable": true + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "visibility": { + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + } + }, + "type": "object" + } + ], + "description": "The created [`repository`](https://docs.github.com/rest/reference/repos#get-a-repository) resource." + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "forkee", + "repository", + "sender" + ], + "title": "fork event", + "type": "object" + }, + "webhook-github-app-authorization-revoked": { + "properties": { + "action": { + "enum": [ + "revoked" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "sender" + ], + "title": "github_app_authorization revoked event", + "type": "object" + }, + "webhook-gollum": { + "properties": { + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pages": { + "description": "The pages that were updated.", + "items": { + "properties": { + "action": { + "description": "The action that was performed on the page. Can be `created` or `edited`.", + "enum": [ + "created", + "edited" + ], + "type": "string" + }, + "html_url": { + "description": "Points to the HTML wiki page.", + "format": "uri", + "type": "string" + }, + "page_name": { + "description": "The name of the page.", + "type": "string" + }, + "sha": { + "description": "The latest commit SHA of the page.", + "type": "string" + }, + "summary": { + "nullable": true, + "type": "string" + }, + "title": { + "description": "The current page title.", + "type": "string" + } + }, + "required": [ + "page_name", + "title", + "summary", + "action", + "sha", + "html_url" + ], + "type": "object" + }, + "type": "array" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "pages", + "repository", + "sender" + ], + "title": "gollum event", + "type": "object" + }, + "webhook-installation-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repositories": { + "description": "An array of repository objects that the installation can access.", + "items": { + "properties": { + "full_name": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private" + ], + "type": "object" + }, + "type": "array" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "requester": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "installation", + "sender" + ], + "title": "installation created event", + "type": "object" + }, + "webhook-installation-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repositories": { + "description": "An array of repository objects that the installation can access.", + "items": { + "properties": { + "full_name": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private" + ], + "type": "object" + }, + "type": "array" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "requester": { + "nullable": true + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "installation", + "sender" + ], + "title": "installation deleted event", + "type": "object" + }, + "webhook-installation-new-permissions-accepted": { + "properties": { + "action": { + "enum": [ + "new_permissions_accepted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repositories": { + "description": "An array of repository objects that the installation can access.", + "items": { + "properties": { + "full_name": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private" + ], + "type": "object" + }, + "type": "array" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "requester": { + "nullable": true + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "installation", + "sender" + ], + "title": "installation new_permissions_accepted event", + "type": "object" + }, + "webhook-installation-repositories-added": { + "properties": { + "action": { + "enum": [ + "added" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repositories_added": { + "description": "An array of repository objects, which were added to the installation.", + "items": { + "properties": { + "full_name": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private" + ], + "type": "object" + }, + "type": "array" + }, + "repositories_removed": { + "description": "An array of repository objects, which were removed from the installation.", + "items": { + "properties": { + "full_name": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + } + }, + "type": "object" + }, + "type": "array" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "enum": [ + "all", + "selected" + ], + "type": "string" + }, + "requester": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "installation", + "repository_selection", + "repositories_added", + "repositories_removed", + "requester", + "sender" + ], + "title": "installation_repositories added event", + "type": "object" + }, + "webhook-installation-repositories-removed": { + "properties": { + "action": { + "enum": [ + "removed" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repositories_added": { + "description": "An array of repository objects, which were added to the installation.", + "items": { + "properties": { + "full_name": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private" + ], + "type": "object" + }, + "type": "array" + }, + "repositories_removed": { + "description": "An array of repository objects, which were removed from the installation.", + "items": { + "properties": { + "full_name": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private" + ], + "type": "object" + }, + "type": "array" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "enum": [ + "all", + "selected" + ], + "type": "string" + }, + "requester": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "installation", + "repository_selection", + "repositories_added", + "repositories_removed", + "requester", + "sender" + ], + "title": "installation_repositories removed event", + "type": "object" + }, + "webhook-installation-suspend": { + "properties": { + "action": { + "enum": [ + "suspend" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repositories": { + "description": "An array of repository objects that the installation can access.", + "items": { + "properties": { + "full_name": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private" + ], + "type": "object" + }, + "type": "array" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "requester": { + "nullable": true + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "installation", + "sender" + ], + "title": "installation suspend event", + "type": "object" + }, + "webhook-installation-target-renamed": { + "properties": { + "account": { + "properties": { + "avatar_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "nullable": true + }, + "events_url": { + "type": "string" + }, + "followers": { + "type": "integer" + }, + "followers_url": { + "type": "string" + }, + "following": { + "type": "integer" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "has_organization_projects": { + "type": "boolean" + }, + "has_repository_projects": { + "type": "boolean" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_verified": { + "type": "boolean" + }, + "issues_url": { + "type": "string" + }, + "login": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "public_gists": { + "type": "integer" + }, + "public_members_url": { + "type": "string" + }, + "public_repos": { + "type": "integer" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "slug": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "website_url": { + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "avatar_url", + "html_url" + ], + "type": "object" + }, + "action": { + "type": "string" + }, + "changes": { + "properties": { + "login": { + "properties": { + "from": { + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "slug": { + "properties": { + "from": { + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "target_type": { + "type": "string" + } + }, + "required": [ + "action", + "target_type", + "account", + "changes", + "installation" + ], + "type": "object" + }, + "webhook-installation-unsuspend": { + "properties": { + "action": { + "enum": [ + "unsuspend" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repositories": { + "description": "An array of repository objects that the installation can access.", + "items": { + "properties": { + "full_name": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private" + ], + "type": "object" + }, + "type": "array" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "requester": { + "nullable": true + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "installation", + "sender" + ], + "title": "installation unsuspend event", + "type": "object" + }, + "webhook-issue-comment-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "comment": { + "description": "The [comment](https://docs.github.com/rest/reference/issues#comments) itself.", + "properties": { + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue comment", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "html_url", + "issue_url", + "id", + "node_id", + "user", + "created_at", + "updated_at", + "author_association", + "performed_via_github_app", + "body", + "reactions" + ], + "title": "issue comment", + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "allOf": [ + { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder", + "pull_request_review_thread" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + { + "properties": { + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "author_association": { + "type": "string" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "nullable": true, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "nullable": true, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "timeline_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "labels", + "state", + "locked", + "assignee" + ], + "type": "object" + } + ], + "description": "The [issue](https://docs.github.com/rest/reference/issues) the comment belongs to." + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "comment", + "repository", + "sender" + ], + "title": "issue_comment created event", + "type": "object" + }, + "webhook-issue-comment-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "comment": { + "description": "The [comment](https://docs.github.com/rest/reference/issues#comments) itself.", + "properties": { + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue comment", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "html_url", + "issue_url", + "id", + "node_id", + "user", + "created_at", + "updated_at", + "author_association", + "performed_via_github_app", + "body", + "reactions" + ], + "title": "issue comment", + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "allOf": [ + { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + { + "properties": { + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "author_association": { + "type": "string" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "nullable": true, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "nullable": true, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "timeline_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "labels", + "state", + "locked", + "assignee" + ], + "type": "object" + } + ], + "description": "The [issue](https://docs.github.com/rest/reference/issues) the comment belongs to." + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "comment", + "repository", + "sender" + ], + "title": "issue_comment deleted event", + "type": "object" + }, + "webhook-issue-comment-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "description": "The changes to the comment.", + "properties": { + "body": { + "properties": { + "from": { + "description": "The previous version of the body.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "type": "object" + }, + "comment": { + "description": "The [comment](https://docs.github.com/rest/reference/issues#comments) itself.", + "properties": { + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue comment", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "performed_via_github_app": { + "$ref": "#/components/schemas/nullable-integration" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "html_url", + "issue_url", + "id", + "node_id", + "user", + "created_at", + "updated_at", + "author_association", + "performed_via_github_app", + "body", + "reactions" + ], + "title": "issue comment", + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "allOf": [ + { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder", + "pull_request_review_thread" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + { + "properties": { + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "author_association": { + "type": "string" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "nullable": true, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "nullable": true, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "timeline_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "labels", + "state", + "locked", + "assignee" + ], + "type": "object" + } + ], + "description": "The [issue](https://docs.github.com/rest/reference/issues) the comment belongs to." + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "issue", + "comment", + "repository", + "sender" + ], + "title": "issue_comment edited event", + "type": "object" + }, + "webhook-issues-assigned": { + "properties": { + "action": { + "description": "The action that was performed.", + "enum": [ + "assigned" + ], + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder", + "pull_request_review_thread" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ], + "title": "issues assigned event", + "type": "object" + }, + "webhook-issues-closed": { + "properties": { + "action": { + "description": "The action that was performed.", + "enum": [ + "closed" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "allOf": [ + { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "security_and_analysis", + "reminder", + "pull_request_review_thread" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + { + "properties": { + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "author_association": { + "type": "string" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "nullable": true, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "nullable": true, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "state": { + "enum": [ + "closed", + "open" + ], + "type": "string" + }, + "timeline_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "state", + "closed_at" + ], + "type": "object" + } + ], + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself." + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ], + "title": "issues closed event", + "type": "object" + }, + "webhook-issues-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ], + "title": "issues deleted event", + "type": "object" + }, + "webhook-issues-demilestoned": { + "properties": { + "action": { + "enum": [ + "demilestoned" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "allOf": [ + { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + { + "properties": { + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "author_association": { + "type": "string" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "nullable": true, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "state": { + "type": "string" + }, + "timeline_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "milestone" + ], + "type": "object" + } + ] + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ], + "title": "issues demilestoned event", + "type": "object" + }, + "webhook-issues-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "description": "The changes to the issue.", + "properties": { + "body": { + "properties": { + "from": { + "description": "The previous version of the body.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "title": { + "properties": { + "from": { + "description": "The previous version of the title.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "security_and_analysis", + "pull_request_review_thread", + "reminder" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + "label": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "issue", + "repository", + "sender" + ], + "title": "issues edited event", + "type": "object" + }, + "webhook-issues-labeled": { + "properties": { + "action": { + "enum": [ + "labeled" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "pull_request_review_thread", + "reminder" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + "label": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ], + "title": "issues labeled event", + "type": "object" + }, + "webhook-issues-locked": { + "properties": { + "action": { + "enum": [ + "locked" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "allOf": [ + { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder", + "security_and_analysis" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + { + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "author_association": { + "type": "string" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "type": "string" + }, + "locked": { + "enum": [ + true + ], + "type": "boolean" + }, + "milestone": { + "nullable": true, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "nullable": true, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "state": { + "type": "string" + }, + "timeline_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "locked", + "active_lock_reason" + ], + "type": "object" + } + ] + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ], + "title": "issues locked event", + "type": "object" + }, + "webhook-issues-milestoned": { + "properties": { + "action": { + "enum": [ + "milestoned" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "allOf": [ + { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + { + "properties": { + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "author_association": { + "type": "string" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "nullable": true, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "state": { + "type": "string" + }, + "timeline_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "milestone" + ], + "type": "object" + } + ] + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "milestone", + "repository", + "sender" + ], + "title": "issues milestoned event", + "type": "object" + }, + "webhook-issues-opened": { + "properties": { + "action": { + "enum": [ + "opened" + ], + "type": "string" + }, + "changes": { + "properties": { + "old_issue": { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "nullable": true, + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + "old_repository": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + } + }, + "required": [ + "old_issue", + "old_repository" + ], + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "security_and_analysis", + "pull_request_review_thread", + "reminder" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ], + "title": "issues opened event", + "type": "object" + }, + "webhook-issues-pinned": { + "properties": { + "action": { + "enum": [ + "pinned" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ], + "title": "issues pinned event", + "type": "object" + }, + "webhook-issues-reopened": { + "properties": { + "action": { + "enum": [ + "reopened" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "allOf": [ + { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "pull_request_review_thread", + "reminder" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + { + "properties": { + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "author_association": { + "type": "string" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "nullable": true, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "nullable": true, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "state": { + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "timeline_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "state" + ], + "type": "object" + } + ] + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ], + "title": "issues reopened event", + "type": "object" + }, + "webhook-issues-transferred": { + "properties": { + "action": { + "enum": [ + "transferred" + ], + "type": "string" + }, + "changes": { + "properties": { + "new_issue": { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + "new_repository": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + } + }, + "required": [ + "new_issue", + "new_repository" + ], + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "issue", + "repository", + "sender" + ], + "title": "issues transferred event", + "type": "object" + }, + "webhook-issues-unassigned": { + "properties": { + "action": { + "description": "The action that was performed.", + "enum": [ + "unassigned" + ], + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder", + "pull_request_review_thread" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ], + "title": "issues unassigned event", + "type": "object" + }, + "webhook-issues-unlabeled": { + "properties": { + "action": { + "enum": [ + "unlabeled" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "reminder", + "pull_request_review_thread" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write", + "admin" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + "label": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ], + "title": "issues unlabeled event", + "type": "object" + }, + "webhook-issues-unlocked": { + "properties": { + "action": { + "enum": [ + "unlocked" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "allOf": [ + { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + { + "properties": { + "active_lock_reason": { + "nullable": true + }, + "assignee": { + "nullable": true, + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "author_association": { + "type": "string" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "type": "string" + }, + "locked": { + "enum": [ + false + ], + "type": "boolean" + }, + "milestone": { + "nullable": true, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "nullable": true + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "repository_url": { + "type": "string" + }, + "state": { + "type": "string" + }, + "timeline_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "locked", + "active_lock_reason" + ], + "type": "object" + } + ] + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ], + "title": "issues unlocked event", + "type": "object" + }, + "webhook-issues-unpinned": { + "properties": { + "action": { + "enum": [ + "unpinned" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "properties": { + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "nullable": true, + "type": "string" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "nullable": true, + "properties": { + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events": { + "description": "The list of events for the GitHub app", + "items": { + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run" + ], + "type": "string" + }, + "type": "array" + }, + "external_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "nullable": true, + "type": "integer" + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "properties": { + "actions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "checks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "content_references": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "contents": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "deployments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "emails": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "environments": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "issues": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "keys": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "members": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "metadata": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_administration": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_plan": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_self_hosted_runners": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "organization_user_blocking": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "packages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pages": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "pull_requests": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_hooks": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "repository_projects": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secret_scanning_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "secrets": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_events": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "security_scanning_alert": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "single_file": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "statuses": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "team_discussions": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "vulnerability_alerts": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "workflows": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "type": "object" + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "title": "App", + "type": "object" + }, + "pull_request": { + "properties": { + "diff_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "type": "object" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "repository_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "state_reason": { + "nullable": true, + "type": "string" + }, + "timeline_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the issue", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ], + "title": "Issue", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ], + "title": "issues unpinned event", + "type": "object" + }, + "webhook-label-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "label": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "label", + "repository" + ], + "title": "label created event", + "type": "object" + }, + "webhook-label-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "label": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "label", + "repository", + "sender" + ], + "title": "label deleted event", + "type": "object" + }, + "webhook-label-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "description": "The changes to the label if the action was `edited`.", + "properties": { + "color": { + "properties": { + "from": { + "description": "The previous version of the color if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "description": { + "properties": { + "from": { + "description": "The previous version of the description if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "name": { + "properties": { + "from": { + "description": "The previous version of the name if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "label": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "label", + "repository", + "sender" + ], + "title": "label edited event", + "type": "object" + }, + "webhook-marketplace-purchase-cancelled": { + "properties": { + "action": { + "enum": [ + "cancelled" + ], + "type": "string" + }, + "effective_date": { + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "marketplace_purchase": { + "allOf": [ + { + "properties": { + "account": { + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type", + "id", + "node_id", + "login", + "organization_billing_email" + ], + "type": "object" + }, + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true, + "type": "string" + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "type": "boolean" + }, + "plan": { + "properties": { + "bullets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "has_free_trial": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "yearly_price_in_cents": { + "type": "integer" + } + }, + "required": [ + "id", + "name", + "description", + "monthly_price_in_cents", + "yearly_price_in_cents", + "price_model", + "has_free_trial", + "unit_name", + "bullets" + ], + "type": "object" + }, + "unit_count": { + "type": "integer" + } + }, + "required": [ + "account", + "billing_cycle", + "unit_count", + "on_free_trial", + "free_trial_ends_on", + "plan" + ], + "title": "Marketplace Purchase", + "type": "object" + }, + { + "properties": { + "account": { + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true, + "type": "string" + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "type": "boolean" + }, + "plan": { + "properties": { + "bullets": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "has_free_trial": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "yearly_price_in_cents": { + "type": "integer" + } + }, + "type": "object" + }, + "unit_count": { + "type": "integer" + } + }, + "required": [ + "next_billing_date" + ], + "type": "object" + } + ] + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "previous_marketplace_purchase": { + "properties": { + "account": { + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type", + "id", + "node_id", + "login", + "organization_billing_email" + ], + "type": "object" + }, + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "type": "boolean" + }, + "plan": { + "properties": { + "bullets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "has_free_trial": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "yearly_price_in_cents": { + "type": "integer" + } + }, + "required": [ + "id", + "name", + "description", + "monthly_price_in_cents", + "yearly_price_in_cents", + "price_model", + "has_free_trial", + "unit_name", + "bullets" + ], + "type": "object" + }, + "unit_count": { + "type": "integer" + } + }, + "required": [ + "account", + "billing_cycle", + "unit_count", + "on_free_trial", + "free_trial_ends_on", + "plan" + ], + "title": "Marketplace Purchase", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "effective_date", + "sender", + "marketplace_purchase" + ], + "title": "marketplace_purchase cancelled event", + "type": "object" + }, + "webhook-marketplace-purchase-changed": { + "properties": { + "action": { + "enum": [ + "changed" + ], + "type": "string" + }, + "effective_date": { + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "marketplace_purchase": { + "allOf": [ + { + "properties": { + "account": { + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type", + "id", + "node_id", + "login", + "organization_billing_email" + ], + "type": "object" + }, + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true, + "type": "string" + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "type": "boolean" + }, + "plan": { + "properties": { + "bullets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "has_free_trial": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "yearly_price_in_cents": { + "type": "integer" + } + }, + "required": [ + "id", + "name", + "description", + "monthly_price_in_cents", + "yearly_price_in_cents", + "price_model", + "has_free_trial", + "unit_name", + "bullets" + ], + "type": "object" + }, + "unit_count": { + "type": "integer" + } + }, + "required": [ + "account", + "billing_cycle", + "unit_count", + "on_free_trial", + "free_trial_ends_on", + "plan" + ], + "title": "Marketplace Purchase", + "type": "object" + }, + { + "properties": { + "account": { + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true, + "type": "string" + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "type": "boolean" + }, + "plan": { + "properties": { + "bullets": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "has_free_trial": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "yearly_price_in_cents": { + "type": "integer" + } + }, + "type": "object" + }, + "unit_count": { + "type": "integer" + } + }, + "required": [ + "next_billing_date" + ], + "type": "object" + } + ] + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "previous_marketplace_purchase": { + "properties": { + "account": { + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type", + "id", + "node_id", + "login", + "organization_billing_email" + ], + "type": "object" + }, + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true, + "type": "string" + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "nullable": true, + "type": "boolean" + }, + "plan": { + "properties": { + "bullets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "has_free_trial": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "yearly_price_in_cents": { + "type": "integer" + } + }, + "required": [ + "id", + "name", + "description", + "monthly_price_in_cents", + "yearly_price_in_cents", + "price_model", + "has_free_trial", + "unit_name", + "bullets" + ], + "type": "object" + }, + "unit_count": { + "type": "integer" + } + }, + "required": [ + "account", + "billing_cycle", + "unit_count", + "on_free_trial", + "free_trial_ends_on", + "plan" + ], + "title": "Marketplace Purchase", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "effective_date", + "sender", + "marketplace_purchase" + ], + "title": "marketplace_purchase changed event", + "type": "object" + }, + "webhook-marketplace-purchase-pending-change": { + "properties": { + "action": { + "enum": [ + "pending_change" + ], + "type": "string" + }, + "effective_date": { + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "marketplace_purchase": { + "allOf": [ + { + "properties": { + "account": { + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type", + "id", + "node_id", + "login", + "organization_billing_email" + ], + "type": "object" + }, + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true, + "type": "string" + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "type": "boolean" + }, + "plan": { + "properties": { + "bullets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "has_free_trial": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "yearly_price_in_cents": { + "type": "integer" + } + }, + "required": [ + "id", + "name", + "description", + "monthly_price_in_cents", + "yearly_price_in_cents", + "price_model", + "has_free_trial", + "unit_name", + "bullets" + ], + "type": "object" + }, + "unit_count": { + "type": "integer" + } + }, + "required": [ + "account", + "billing_cycle", + "unit_count", + "on_free_trial", + "free_trial_ends_on", + "plan" + ], + "title": "Marketplace Purchase", + "type": "object" + }, + { + "properties": { + "account": { + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true, + "type": "string" + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "type": "boolean" + }, + "plan": { + "properties": { + "bullets": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "has_free_trial": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "yearly_price_in_cents": { + "type": "integer" + } + }, + "type": "object" + }, + "unit_count": { + "type": "integer" + } + }, + "required": [ + "next_billing_date" + ], + "type": "object" + } + ] + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "previous_marketplace_purchase": { + "properties": { + "account": { + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type", + "id", + "node_id", + "login", + "organization_billing_email" + ], + "type": "object" + }, + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true, + "type": "string" + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "type": "boolean" + }, + "plan": { + "properties": { + "bullets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "has_free_trial": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "yearly_price_in_cents": { + "type": "integer" + } + }, + "required": [ + "id", + "name", + "description", + "monthly_price_in_cents", + "yearly_price_in_cents", + "price_model", + "has_free_trial", + "unit_name", + "bullets" + ], + "type": "object" + }, + "unit_count": { + "type": "integer" + } + }, + "required": [ + "account", + "billing_cycle", + "unit_count", + "on_free_trial", + "free_trial_ends_on", + "plan" + ], + "title": "Marketplace Purchase", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "effective_date", + "sender", + "marketplace_purchase" + ], + "title": "marketplace_purchase pending_change event", + "type": "object" + }, + "webhook-marketplace-purchase-pending-change-cancelled": { + "properties": { + "action": { + "enum": [ + "pending_change_cancelled" + ], + "type": "string" + }, + "effective_date": { + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "marketplace_purchase": { + "allOf": [ + { + "properties": { + "account": { + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type", + "id", + "node_id", + "login", + "organization_billing_email" + ], + "type": "object" + }, + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "type": "boolean" + }, + "plan": { + "properties": { + "bullets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "has_free_trial": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "yearly_price_in_cents": { + "type": "integer" + } + }, + "required": [ + "id", + "name", + "description", + "monthly_price_in_cents", + "yearly_price_in_cents", + "price_model", + "has_free_trial", + "unit_name", + "bullets" + ], + "type": "object" + }, + "unit_count": { + "type": "integer" + } + }, + "required": [ + "account", + "billing_cycle", + "unit_count", + "on_free_trial", + "free_trial_ends_on", + "plan" + ], + "title": "Marketplace Purchase", + "type": "object" + }, + { + "properties": { + "next_billing_date": { + "type": "string" + } + }, + "required": [ + "next_billing_date" + ], + "type": "object" + } + ] + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "previous_marketplace_purchase": { + "properties": { + "account": { + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type", + "id", + "node_id", + "login", + "organization_billing_email" + ], + "type": "object" + }, + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "type": "boolean" + }, + "plan": { + "properties": { + "bullets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "has_free_trial": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "yearly_price_in_cents": { + "type": "integer" + } + }, + "required": [ + "id", + "name", + "description", + "monthly_price_in_cents", + "yearly_price_in_cents", + "price_model", + "has_free_trial", + "unit_name", + "bullets" + ], + "type": "object" + }, + "unit_count": { + "type": "integer" + } + }, + "required": [ + "account", + "billing_cycle", + "unit_count", + "on_free_trial", + "free_trial_ends_on", + "plan" + ], + "title": "Marketplace Purchase", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "effective_date", + "sender", + "marketplace_purchase" + ], + "title": "marketplace_purchase pending_change_cancelled event", + "type": "object" + }, + "webhook-marketplace-purchase-purchased": { + "properties": { + "action": { + "enum": [ + "purchased" + ], + "type": "string" + }, + "effective_date": { + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "marketplace_purchase": { + "allOf": [ + { + "properties": { + "account": { + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type", + "id", + "node_id", + "login", + "organization_billing_email" + ], + "type": "object" + }, + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true, + "type": "string" + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "type": "boolean" + }, + "plan": { + "properties": { + "bullets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "has_free_trial": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "yearly_price_in_cents": { + "type": "integer" + } + }, + "required": [ + "id", + "name", + "description", + "monthly_price_in_cents", + "yearly_price_in_cents", + "price_model", + "has_free_trial", + "unit_name", + "bullets" + ], + "type": "object" + }, + "unit_count": { + "type": "integer" + } + }, + "required": [ + "account", + "billing_cycle", + "unit_count", + "on_free_trial", + "free_trial_ends_on", + "plan" + ], + "title": "Marketplace Purchase", + "type": "object" + }, + { + "properties": { + "account": { + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true, + "type": "string" + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "type": "boolean" + }, + "plan": { + "properties": { + "bullets": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "has_free_trial": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "yearly_price_in_cents": { + "type": "integer" + } + }, + "type": "object" + }, + "unit_count": { + "type": "integer" + } + }, + "required": [ + "next_billing_date" + ], + "type": "object" + } + ] + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "previous_marketplace_purchase": { + "properties": { + "account": { + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organization_billing_email": { + "nullable": true, + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "type", + "id", + "node_id", + "login", + "organization_billing_email" + ], + "type": "object" + }, + "billing_cycle": { + "type": "string" + }, + "free_trial_ends_on": { + "nullable": true + }, + "next_billing_date": { + "nullable": true, + "type": "string" + }, + "on_free_trial": { + "type": "boolean" + }, + "plan": { + "properties": { + "bullets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "has_free_trial": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "price_model": { + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], + "type": "string" + }, + "unit_name": { + "nullable": true, + "type": "string" + }, + "yearly_price_in_cents": { + "type": "integer" + } + }, + "required": [ + "id", + "name", + "description", + "monthly_price_in_cents", + "yearly_price_in_cents", + "price_model", + "has_free_trial", + "unit_name", + "bullets" + ], + "type": "object" + }, + "unit_count": { + "type": "integer" + } + }, + "required": [ + "account", + "billing_cycle", + "unit_count", + "on_free_trial", + "free_trial_ends_on", + "plan" + ], + "title": "Marketplace Purchase", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "effective_date", + "sender", + "marketplace_purchase" + ], + "title": "marketplace_purchase purchased event", + "type": "object" + }, + "webhook-member-added": { + "properties": { + "action": { + "enum": [ + "added" + ], + "type": "string" + }, + "changes": { + "properties": { + "permission": { + "properties": { + "to": { + "enum": [ + "write", + "admin", + "read" + ], + "type": "string" + } + }, + "required": [ + "to" + ], + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "member": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "member", + "repository", + "sender" + ], + "title": "member added event", + "type": "object" + }, + "webhook-member-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "description": "The changes to the collaborator permissions", + "properties": { + "old_permission": { + "properties": { + "from": { + "description": "The previous permissions of the collaborator if the action was edited.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "permission": { + "properties": { + "from": { + "nullable": true, + "type": "string" + }, + "to": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "member": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "member", + "repository", + "sender" + ], + "title": "member edited event", + "type": "object" + }, + "webhook-member-removed": { + "properties": { + "action": { + "enum": [ + "removed" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "member": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "member", + "repository", + "sender" + ], + "title": "member removed event", + "type": "object" + }, + "webhook-membership-added": { + "properties": { + "action": { + "enum": [ + "added" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "member": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "scope": { + "description": "The scope of the membership. Currently, can only be `team`.", + "enum": [ + "team" + ], + "type": "string" + }, + "sender": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "team": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + }, + "required": [ + "action", + "scope", + "member", + "sender", + "team", + "organization" + ], + "title": "membership added event", + "type": "object" + }, + "webhook-membership-removed": { + "properties": { + "action": { + "enum": [ + "removed" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "member": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "scope": { + "description": "The scope of the membership. Currently, can only be `team`.", + "enum": [ + "team", + "organization" + ], + "type": "string" + }, + "sender": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "team": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + }, + "required": [ + "action", + "scope", + "member", + "sender", + "team", + "organization" + ], + "title": "membership removed event", + "type": "object" + }, + "webhook-merge-group-checks-requested": { + "properties": { + "action": { + "type": "string" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "merge_group": { + "properties": { + "base_ref": { + "description": "The full ref of the branch the merge group will be merged into.", + "type": "string" + }, + "base_sha": { + "description": "The SHA of the merge group's parent commit.", + "type": "string" + }, + "head_commit": { + "properties": { + "author": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "committer": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tree_id": { + "type": "string" + } + }, + "required": [ + "id", + "tree_id", + "message", + "timestamp", + "author", + "committer" + ], + "title": "SimpleCommit", + "type": "object" + }, + "head_ref": { + "description": "The full ref of the merge group.", + "type": "string" + }, + "head_sha": { + "description": "The SHA of the merge group.", + "type": "string" + } + }, + "required": [ + "head_sha", + "head_ref", + "base_sha", + "base_ref", + "head_commit" + ], + "title": "MergeGroup", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "merge_group" + ], + "type": "object" + }, + "webhook-meta-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "hook": { + "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", + "properties": { + "active": { + "type": "boolean" + }, + "config": { + "properties": { + "content_type": { + "enum": [ + "json", + "form" + ], + "type": "string" + }, + "insecure_ssl": { + "type": "string" + }, + "secret": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "content_type", + "insecure_ssl", + "url" + ], + "type": "object" + }, + "created_at": { + "type": "string" + }, + "events": { + "items": { + "enum": [ + "*", + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "create", + "delete", + "deployment", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "meta", + "milestone", + "organization", + "org_block", + "package", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "pull_request_review_thread", + "push", + "registry_package", + "release", + "repository", + "repository_import", + "repository_vulnerability_alert", + "secret_scanning_alert", + "secret_scanning_alert_location", + "security_and_analysis", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_job", + "workflow_run", + "repository_dispatch", + "projects_v2_item" + ], + "minItems": 1, + "type": "string" + }, + "type": "array" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "type", + "id", + "name", + "active", + "events", + "config", + "updated_at", + "created_at" + ], + "type": "object" + }, + "hook_id": { + "description": "The id of the modified webhook.", + "type": "integer" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/nullable-repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "hook_id", + "hook" + ], + "title": "meta deleted event", + "type": "object" + }, + "webhook-milestone-closed": { + "properties": { + "action": { + "enum": [ + "closed" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "milestone", + "repository", + "sender" + ], + "title": "milestone closed event", + "type": "object" + }, + "webhook-milestone-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "milestone", + "repository", + "sender" + ], + "title": "milestone created event", + "type": "object" + }, + "webhook-milestone-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "milestone", + "repository", + "sender" + ], + "title": "milestone deleted event", + "type": "object" + }, + "webhook-milestone-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "description": "The changes to the milestone if the action was `edited`.", + "properties": { + "description": { + "properties": { + "from": { + "description": "The previous version of the description if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "due_on": { + "properties": { + "from": { + "description": "The previous version of the due date if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "title": { + "properties": { + "from": { + "description": "The previous version of the title if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "milestone", + "repository", + "sender" + ], + "title": "milestone edited event", + "type": "object" + }, + "webhook-milestone-opened": { + "properties": { + "action": { + "enum": [ + "opened" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "milestone", + "repository", + "sender" + ], + "title": "milestone opened event", + "type": "object" + }, + "webhook-org-block-blocked": { + "properties": { + "action": { + "enum": [ + "blocked" + ], + "type": "string" + }, + "blocked_user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "blocked_user", + "organization", + "sender" + ], + "title": "org_block blocked event", + "type": "object" + }, + "webhook-org-block-unblocked": { + "properties": { + "action": { + "enum": [ + "unblocked" + ], + "type": "string" + }, + "blocked_user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "blocked_user", + "organization", + "sender" + ], + "title": "org_block unblocked event", + "type": "object" + }, + "webhook-organization-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "membership": { + "description": "The membership between the user and the organization. Not present when the action is `member_invited`.", + "properties": { + "organization_url": { + "format": "uri", + "type": "string" + }, + "role": { + "type": "string" + }, + "state": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "state", + "role", + "organization_url", + "user" + ], + "title": "Membership", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "organization", + "sender" + ], + "title": "organization deleted event", + "type": "object" + }, + "webhook-organization-member-added": { + "properties": { + "action": { + "enum": [ + "member_added" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "membership": { + "description": "The membership between the user and the organization. Not present when the action is `member_invited`.", + "properties": { + "organization_url": { + "format": "uri", + "type": "string" + }, + "role": { + "type": "string" + }, + "state": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "state", + "role", + "organization_url", + "user" + ], + "title": "Membership", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "membership", + "organization", + "sender" + ], + "title": "organization member_added event", + "type": "object" + }, + "webhook-organization-member-invited": { + "properties": { + "action": { + "enum": [ + "member_invited" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "invitation": { + "description": "The invitation for the user or email if the action is `member_invited`.", + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "failed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "failed_reason": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "number" + }, + "invitation_source": { + "type": "string" + }, + "invitation_teams_url": { + "format": "uri", + "type": "string" + }, + "inviter": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "login": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "role": { + "type": "string" + }, + "team_count": { + "type": "number" + } + }, + "required": [ + "id", + "node_id", + "login", + "email", + "role", + "created_at", + "failed_at", + "failed_reason", + "inviter", + "team_count", + "invitation_teams_url" + ], + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "action", + "invitation", + "organization", + "sender" + ], + "title": "organization member_invited event", + "type": "object" + }, + "webhook-organization-member-removed": { + "properties": { + "action": { + "enum": [ + "member_removed" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "membership": { + "description": "The membership between the user and the organization. Not present when the action is `member_invited`.", + "properties": { + "organization_url": { + "format": "uri", + "type": "string" + }, + "role": { + "type": "string" + }, + "state": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "state", + "role", + "organization_url", + "user" + ], + "title": "Membership", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "membership", + "organization", + "sender" + ], + "title": "organization member_removed event", + "type": "object" + }, + "webhook-organization-renamed": { + "properties": { + "action": { + "enum": [ + "renamed" + ], + "type": "string" + }, + "changes": { + "properties": { + "login": { + "properties": { + "from": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "membership": { + "description": "The membership between the user and the organization. Not present when the action is `member_invited`.", + "properties": { + "organization_url": { + "format": "uri", + "type": "string" + }, + "role": { + "type": "string" + }, + "state": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "state", + "role", + "organization_url", + "user" + ], + "title": "Membership", + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "organization", + "sender" + ], + "title": "organization renamed event", + "type": "object" + }, + "webhook-package-published": { + "properties": { + "action": { + "enum": [ + "published" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "package": { + "description": "Information about the package.", + "properties": { + "created_at": { + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "ecosystem": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "package_type": { + "type": "string" + }, + "package_version": { + "nullable": true, + "properties": { + "author": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "body": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + } + ] + }, + "body_html": { + "type": "string" + }, + "container_metadata": { + "nullable": true, + "properties": { + "labels": { + "nullable": true, + "type": "object" + }, + "manifest": { + "nullable": true, + "type": "object" + }, + "tag": { + "properties": { + "digest": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "docker_metadata": { + "items": {}, + "type": "array" + }, + "draft": { + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "installation_command": { + "type": "string" + }, + "manifest": { + "type": "string" + }, + "metadata": { + "items": { + "additionalProperties": true, + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "npm_metadata": { + "nullable": true, + "properties": { + "author": { + "nullable": true, + "type": "object" + }, + "bin": { + "type": "object" + }, + "bugs": { + "nullable": true, + "type": "object" + }, + "commit_oid": { + "type": "string" + }, + "contributors": { + "items": { + "type": "object" + }, + "type": "array" + }, + "cpu": { + "items": { + "type": "string" + }, + "type": "array" + }, + "deleted_by_id": { + "type": "integer" + }, + "dependencies": { + "type": "object" + }, + "description": { + "type": "string" + }, + "dev_dependencies": { + "type": "object" + }, + "directories": { + "nullable": true, + "type": "object" + }, + "dist": { + "nullable": true, + "type": "object" + }, + "engines": { + "type": "object" + }, + "files": { + "items": { + "type": "string" + }, + "type": "array" + }, + "git_head": { + "type": "string" + }, + "has_shrinkwrap": { + "type": "boolean" + }, + "homepage": { + "type": "string" + }, + "id": { + "type": "string" + }, + "installation_command": { + "type": "string" + }, + "keywords": { + "items": { + "type": "string" + }, + "type": "array" + }, + "license": { + "type": "string" + }, + "main": { + "type": "string" + }, + "maintainers": { + "items": { + "type": "object" + }, + "type": "array" + }, + "man": { + "type": "object" + }, + "name": { + "type": "string" + }, + "node_version": { + "type": "string" + }, + "npm_user": { + "type": "string" + }, + "npm_version": { + "type": "string" + }, + "optional_dependencies": { + "type": "object" + }, + "os": { + "items": { + "type": "string" + }, + "type": "array" + }, + "peer_dependencies": { + "type": "object" + }, + "published_via_actions": { + "type": "boolean" + }, + "readme": { + "type": "string" + }, + "release_id": { + "type": "integer" + }, + "repository": { + "nullable": true, + "type": "object" + }, + "scripts": { + "type": "object" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "nuget_metadata": { + "items": { + "properties": { + "id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + }, + "name": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + }, + { + "type": "integer" + }, + { + "properties": { + "branch": { + "type": "string" + }, + "commit": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + ] + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "package_files": { + "items": { + "properties": { + "content_type": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "download_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "md5": { + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "sha1": { + "nullable": true, + "type": "string" + }, + "sha256": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "state": { + "nullable": true, + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "download_url", + "id", + "name", + "sha256", + "sha1", + "md5", + "content_type", + "state", + "size", + "created_at", + "updated_at" + ], + "type": "object" + }, + "type": "array" + }, + "package_url": { + "type": "string" + }, + "prerelease": { + "type": "boolean" + }, + "release": { + "properties": { + "author": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "created_at": { + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "prerelease": { + "type": "boolean" + }, + "published_at": { + "type": "string" + }, + "tag_name": { + "type": "string" + }, + "target_commitish": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "id", + "tag_name", + "target_commitish", + "name", + "draft", + "author", + "prerelease", + "created_at", + "published_at" + ], + "type": "object" + }, + "rubygems_metadata": { + "items": {}, + "type": "array" + }, + "source_url": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "tag_name": { + "type": "string" + }, + "target_commitish": { + "type": "string" + }, + "target_oid": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "id", + "version", + "summary", + "name", + "description", + "html_url", + "metadata", + "package_files", + "installation_command" + ], + "type": "object" + }, + "registry": { + "nullable": true, + "properties": { + "about_url": { + "format": "uri", + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "vendor": { + "type": "string" + } + }, + "required": [ + "about_url", + "name", + "type", + "url", + "vendor" + ], + "type": "object" + }, + "updated_at": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "name", + "namespace", + "description", + "ecosystem", + "package_type", + "html_url", + "created_at", + "updated_at", + "owner", + "package_version", + "registry" + ], + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "package", + "sender" + ], + "title": "package published event", + "type": "object" + }, + "webhook-package-updated": { + "properties": { + "action": { + "enum": [ + "updated" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "package": { + "description": "Information about the package.", + "properties": { + "created_at": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "ecosystem": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "package_type": { + "type": "string" + }, + "package_version": { + "properties": { + "author": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "body": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "docker_metadata": { + "items": {}, + "type": "array" + }, + "draft": { + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "installation_command": { + "type": "string" + }, + "manifest": { + "type": "string" + }, + "metadata": { + "items": {}, + "type": "array" + }, + "name": { + "type": "string" + }, + "package_files": { + "items": { + "properties": { + "content_type": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "download_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "md5": { + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "sha1": { + "nullable": true, + "type": "string" + }, + "sha256": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "state": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "download_url", + "id", + "name", + "sha256", + "sha1", + "md5", + "content_type", + "state", + "size", + "created_at", + "updated_at" + ], + "type": "object" + }, + "type": "array" + }, + "package_url": { + "type": "string" + }, + "prerelease": { + "type": "boolean" + }, + "release": { + "properties": { + "author": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "created_at": { + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "prerelease": { + "type": "boolean" + }, + "published_at": { + "type": "string" + }, + "tag_name": { + "type": "string" + }, + "target_commitish": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "id", + "tag_name", + "target_commitish", + "name", + "draft", + "author", + "prerelease", + "created_at", + "published_at" + ], + "type": "object" + }, + "rubygems_metadata": { + "items": {}, + "type": "array" + }, + "source_url": { + "format": "uri", + "type": "string" + }, + "summary": { + "type": "string" + }, + "tag_name": { + "type": "string" + }, + "target_commitish": { + "type": "string" + }, + "target_oid": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "id", + "version", + "summary", + "name", + "description", + "body", + "body_html", + "html_url", + "target_commitish", + "target_oid", + "created_at", + "updated_at", + "metadata", + "package_files", + "author", + "installation_command" + ], + "type": "object" + }, + "registry": { + "nullable": true, + "properties": { + "about_url": { + "format": "uri", + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "vendor": { + "type": "string" + } + }, + "required": [ + "about_url", + "name", + "type", + "url", + "vendor" + ], + "type": "object" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "namespace", + "description", + "ecosystem", + "package_type", + "html_url", + "created_at", + "updated_at", + "owner", + "package_version", + "registry" + ], + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "package", + "repository", + "sender" + ], + "title": "package updated event", + "type": "object" + }, + "webhook-page-build": { + "properties": { + "build": { + "description": "The [List GitHub Pages builds](https://docs.github.com/rest/reference/repos#list-github-pages-builds) itself.", + "properties": { + "commit": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "duration": { + "type": "integer" + }, + "error": { + "properties": { + "message": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "pusher": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "status": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "status", + "error", + "pusher", + "commit", + "duration", + "created_at", + "updated_at" + ], + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "id": { + "type": "integer" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "id", + "build", + "repository", + "sender" + ], + "title": "page_build event", + "type": "object" + }, + "webhook-ping": { + "properties": { + "hook": { + "description": "The webhook that is being pinged", + "properties": { + "active": { + "description": "Determines whether the hook is actually triggered for the events it subscribes to.", + "type": "boolean" + }, + "app_id": { + "description": "Only included for GitHub Apps. When you register a new GitHub App, GitHub sends a ping event to the webhook URL you specified during registration. The GitHub App ID sent in this field is required for authenticating an app.", + "type": "integer" + }, + "config": { + "properties": { + "content_type": { + "$ref": "#/components/schemas/webhook-config-content-type" + }, + "insecure_ssl": { + "$ref": "#/components/schemas/webhook-config-insecure-ssl" + }, + "secret": { + "$ref": "#/components/schemas/webhook-config-secret" + }, + "url": { + "$ref": "#/components/schemas/webhook-config-url" + } + }, + "type": "object" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deliveries_url": { + "format": "uri", + "type": "string" + }, + "events": { + "description": "Determines what events the hook is triggered for. Default: ['push'].", + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "description": "Unique identifier of the webhook.", + "type": "integer" + }, + "last_response": { + "$ref": "#/components/schemas/hook-response" + }, + "name": { + "description": "The type of webhook. The only valid value is 'web'.", + "enum": [ + "web" + ], + "type": "string" + }, + "ping_url": { + "format": "uri", + "type": "string" + }, + "test_url": { + "format": "uri", + "type": "string" + }, + "type": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "type", + "name", + "active", + "events", + "config", + "created_at", + "updated_at" + ], + "title": "Webhook", + "type": "object" + }, + "hook_id": { + "description": "The ID of the webhook that triggered the ping.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "zen": { + "description": "Random string of GitHub zen.", + "type": "string" + } + }, + "type": "object" + }, + "webhook-ping-form-encoded": { + "description": "The webhooks ping payload encoded with URL encoding.", + "properties": { + "payload": { + "description": "A URL-encoded string of the ping JSON payload. The decoded payload is a JSON object.", + "type": "string" + } + }, + "required": [ + "payload" + ], + "type": "object" + }, + "webhook-project-card-converted": { + "properties": { + "action": { + "enum": [ + "converted" + ], + "type": "string" + }, + "changes": { + "properties": { + "note": { + "properties": { + "from": { + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "required": [ + "note" + ], + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "project_card": { + "properties": { + "after_id": { + "nullable": true, + "type": "integer" + }, + "archived": { + "description": "Whether or not the card is archived", + "type": "boolean" + }, + "column_id": { + "type": "integer" + }, + "column_url": { + "format": "uri", + "type": "string" + }, + "content_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "id": { + "description": "The project card's ID", + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "note": { + "nullable": true, + "type": "string" + }, + "project_url": { + "format": "uri", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "project_url", + "column_url", + "column_id", + "id", + "node_id", + "note", + "archived", + "creator", + "created_at", + "updated_at" + ], + "title": "Project Card", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "project_card", + "sender" + ], + "title": "project_card converted event", + "type": "object" + }, + "webhook-project-card-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "project_card": { + "properties": { + "after_id": { + "nullable": true, + "type": "integer" + }, + "archived": { + "description": "Whether or not the card is archived", + "type": "boolean" + }, + "column_id": { + "type": "integer" + }, + "column_url": { + "format": "uri", + "type": "string" + }, + "content_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "id": { + "description": "The project card's ID", + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "note": { + "nullable": true, + "type": "string" + }, + "project_url": { + "format": "uri", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "project_url", + "column_url", + "column_id", + "id", + "node_id", + "note", + "archived", + "creator", + "created_at", + "updated_at" + ], + "title": "Project Card", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "project_card", + "sender" + ], + "title": "project_card created event", + "type": "object" + }, + "webhook-project-card-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "project_card": { + "properties": { + "after_id": { + "nullable": true, + "type": "integer" + }, + "archived": { + "description": "Whether or not the card is archived", + "type": "boolean" + }, + "column_id": { + "nullable": true, + "type": "integer" + }, + "column_url": { + "format": "uri", + "type": "string" + }, + "content_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "id": { + "description": "The project card's ID", + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "note": { + "nullable": true, + "type": "string" + }, + "project_url": { + "format": "uri", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "project_url", + "column_url", + "column_id", + "id", + "node_id", + "note", + "archived", + "creator", + "created_at", + "updated_at" + ], + "title": "Project Card", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/nullable-repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "project_card", + "sender" + ], + "title": "project_card deleted event", + "type": "object" + }, + "webhook-project-card-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "properties": { + "note": { + "properties": { + "from": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "required": [ + "note" + ], + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "project_card": { + "properties": { + "after_id": { + "nullable": true, + "type": "integer" + }, + "archived": { + "description": "Whether or not the card is archived", + "type": "boolean" + }, + "column_id": { + "type": "integer" + }, + "column_url": { + "format": "uri", + "type": "string" + }, + "content_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "id": { + "description": "The project card's ID", + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "note": { + "nullable": true, + "type": "string" + }, + "project_url": { + "format": "uri", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "project_url", + "column_url", + "column_id", + "id", + "node_id", + "note", + "archived", + "creator", + "created_at", + "updated_at" + ], + "title": "Project Card", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "project_card", + "sender" + ], + "title": "project_card edited event", + "type": "object" + }, + "webhook-project-card-moved": { + "properties": { + "action": { + "enum": [ + "moved" + ], + "type": "string" + }, + "changes": { + "properties": { + "column_id": { + "properties": { + "from": { + "type": "integer" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "required": [ + "column_id" + ], + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "project_card": { + "allOf": [ + { + "properties": { + "after_id": { + "nullable": true, + "type": "integer" + }, + "archived": { + "description": "Whether or not the card is archived", + "type": "boolean" + }, + "column_id": { + "type": "integer" + }, + "column_url": { + "format": "uri", + "type": "string" + }, + "content_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "id": { + "description": "The project card's ID", + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "note": { + "nullable": true, + "type": "string" + }, + "project_url": { + "format": "uri", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "project_url", + "column_url", + "column_id", + "id", + "node_id", + "note", + "archived", + "creator", + "created_at", + "updated_at" + ], + "title": "Project Card", + "type": "object" + }, + { + "properties": { + "after_id": { + "nullable": true, + "type": "number" + }, + "archived": { + "type": "boolean" + }, + "column_id": { + "type": "integer" + }, + "column_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "note": { + "nullable": true, + "type": "string" + }, + "project_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "after_id" + ], + "type": "object" + } + ] + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "project_card", + "sender" + ], + "title": "project_card moved event", + "type": "object" + }, + "webhook-project-closed": { + "properties": { + "action": { + "enum": [ + "closed" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "project": { + "properties": { + "body": { + "description": "Body of the project", + "nullable": true, + "type": "string" + }, + "columns_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "Name of the project", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "owner_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the project; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "owner_url", + "url", + "html_url", + "columns_url", + "id", + "node_id", + "name", + "body", + "number", + "state", + "creator", + "created_at", + "updated_at" + ], + "title": "Project", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "project", + "sender" + ], + "title": "project closed event", + "type": "object" + }, + "webhook-project-column-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "project_column": { + "properties": { + "after_id": { + "nullable": true, + "type": "integer" + }, + "cards_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "description": "The unique identifier of the project column", + "type": "integer" + }, + "name": { + "description": "Name of the project column", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "project_url": { + "format": "uri", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "project_url", + "cards_url", + "id", + "node_id", + "name", + "created_at", + "updated_at" + ], + "title": "Project Column", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "project_column" + ], + "title": "project_column created event", + "type": "object" + }, + "webhook-project-column-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "project_column": { + "properties": { + "after_id": { + "nullable": true, + "type": "integer" + }, + "cards_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "description": "The unique identifier of the project column", + "type": "integer" + }, + "name": { + "description": "Name of the project column", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "project_url": { + "format": "uri", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "project_url", + "cards_url", + "id", + "node_id", + "name", + "created_at", + "updated_at" + ], + "title": "Project Column", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/nullable-repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "project_column" + ], + "title": "project_column deleted event", + "type": "object" + }, + "webhook-project-column-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "properties": { + "name": { + "properties": { + "from": { + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "project_column": { + "properties": { + "after_id": { + "nullable": true, + "type": "integer" + }, + "cards_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "description": "The unique identifier of the project column", + "type": "integer" + }, + "name": { + "description": "Name of the project column", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "project_url": { + "format": "uri", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "project_url", + "cards_url", + "id", + "node_id", + "name", + "created_at", + "updated_at" + ], + "title": "Project Column", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "project_column" + ], + "title": "project_column edited event", + "type": "object" + }, + "webhook-project-column-moved": { + "properties": { + "action": { + "enum": [ + "moved" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "project_column": { + "properties": { + "after_id": { + "nullable": true, + "type": "integer" + }, + "cards_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "description": "The unique identifier of the project column", + "type": "integer" + }, + "name": { + "description": "Name of the project column", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "project_url": { + "format": "uri", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "project_url", + "cards_url", + "id", + "node_id", + "name", + "created_at", + "updated_at" + ], + "title": "Project Column", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "project_column", + "sender" + ], + "title": "project_column moved event", + "type": "object" + }, + "webhook-project-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "project": { + "properties": { + "body": { + "description": "Body of the project", + "nullable": true, + "type": "string" + }, + "columns_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "Name of the project", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "owner_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the project; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "owner_url", + "url", + "html_url", + "columns_url", + "id", + "node_id", + "name", + "body", + "number", + "state", + "creator", + "created_at", + "updated_at" + ], + "title": "Project", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "project", + "sender" + ], + "title": "project created event", + "type": "object" + }, + "webhook-project-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "project": { + "properties": { + "body": { + "description": "Body of the project", + "nullable": true, + "type": "string" + }, + "columns_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "Name of the project", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "owner_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the project; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "owner_url", + "url", + "html_url", + "columns_url", + "id", + "node_id", + "name", + "body", + "number", + "state", + "creator", + "created_at", + "updated_at" + ], + "title": "Project", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/nullable-repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "project" + ], + "title": "project deleted event", + "type": "object" + }, + "webhook-project-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "description": "The changes to the project if the action was `edited`.", + "properties": { + "body": { + "properties": { + "from": { + "description": "The previous version of the body if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "name": { + "properties": { + "from": { + "description": "The changes to the project if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "project": { + "properties": { + "body": { + "description": "Body of the project", + "nullable": true, + "type": "string" + }, + "columns_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "Name of the project", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "owner_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the project; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "owner_url", + "url", + "html_url", + "columns_url", + "id", + "node_id", + "name", + "body", + "number", + "state", + "creator", + "created_at", + "updated_at" + ], + "title": "Project", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "project" + ], + "title": "project edited event", + "type": "object" + }, + "webhook-project-reopened": { + "properties": { + "action": { + "enum": [ + "reopened" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "project": { + "properties": { + "body": { + "description": "Body of the project", + "nullable": true, + "type": "string" + }, + "columns_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "Name of the project", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "owner_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of the project; either 'open' or 'closed'", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "owner_url", + "url", + "html_url", + "columns_url", + "id", + "node_id", + "name", + "body", + "number", + "state", + "creator", + "created_at", + "updated_at" + ], + "title": "Project", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "project", + "sender" + ], + "title": "project reopened event", + "type": "object" + }, + "webhook-projects-v2-item-archived": { + "properties": { + "action": { + "enum": [ + "archived" + ], + "type": "string" + }, + "changes": { + "properties": { + "archived_at": { + "properties": { + "from": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "to": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "projects_v2_item": { + "$ref": "#/components/schemas/projects-v2-item" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "projects_v2_item", + "organization", + "sender", + "changes" + ], + "title": "Projects v2 Item Archived Event", + "type": "object" + }, + "webhook-projects-v2-item-converted": { + "properties": { + "action": { + "enum": [ + "converted" + ], + "type": "string" + }, + "changes": { + "properties": { + "content_type": { + "properties": { + "from": { + "nullable": true, + "type": "string" + }, + "to": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "projects_v2_item": { + "$ref": "#/components/schemas/projects-v2-item" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "projects_v2_item", + "organization", + "sender", + "changes" + ], + "title": "Projects v2 Item Converted Event", + "type": "object" + }, + "webhook-projects-v2-item-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "projects_v2_item": { + "$ref": "#/components/schemas/projects-v2-item" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "projects_v2_item", + "organization", + "sender" + ], + "title": "Projects v2 Item Created Event", + "type": "object" + }, + "webhook-projects-v2-item-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "projects_v2_item": { + "$ref": "#/components/schemas/projects-v2-item" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "projects_v2_item", + "organization", + "sender" + ], + "title": "Projects v2 Item Deleted Event", + "type": "object" + }, + "webhook-projects-v2-item-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "oneOf": [ + { + "properties": { + "field_value": { + "properties": { + "field_node_id": { + "type": "string" + }, + "field_type": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "field_value" + ], + "type": "object" + }, + { + "properties": { + "body": { + "properties": { + "from": { + "nullable": true, + "type": "string" + }, + "to": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "body" + ], + "type": "object" + } + ] + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "projects_v2_item": { + "$ref": "#/components/schemas/projects-v2-item" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "projects_v2_item", + "organization", + "sender" + ], + "title": "Projects v2 Item Edited Event", + "type": "object" + }, + "webhook-projects-v2-item-reordered": { + "properties": { + "action": { + "enum": [ + "reordered" + ], + "type": "string" + }, + "changes": { + "properties": { + "previous_projects_v2_item_node_id": { + "properties": { + "from": { + "nullable": true, + "type": "string" + }, + "to": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "projects_v2_item": { + "$ref": "#/components/schemas/projects-v2-item" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "projects_v2_item", + "organization", + "sender", + "changes" + ], + "title": "Projects v2 Item Reordered Event", + "type": "object" + }, + "webhook-projects-v2-item-restored": { + "properties": { + "action": { + "enum": [ + "restored" + ], + "type": "string" + }, + "changes": { + "properties": { + "archived_at": { + "properties": { + "from": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "to": { + "format": "date-time", + "nullable": true, + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "projects_v2_item": { + "$ref": "#/components/schemas/projects-v2-item" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "projects_v2_item", + "organization", + "sender", + "changes" + ], + "title": "Projects v2 Item Restored Event", + "type": "object" + }, + "webhook-projects-v2-project-closed": { + "properties": { + "action": { + "enum": [ + "closed" + ], + "type": "string" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "projects_v2": { + "$ref": "#/components/schemas/projects-v2" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "projects_v2", + "organization", + "sender" + ], + "title": "Projects v2 Project Closed Event", + "type": "object" + }, + "webhook-projects-v2-project-created": { + "description": "A project was created", + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "projects_v2": { + "$ref": "#/components/schemas/projects-v2" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "projects_v2", + "organization", + "sender" + ], + "type": "object" + }, + "webhook-projects-v2-project-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "properties": { + "description": { + "properties": { + "from": { + "nullable": true, + "type": "string" + }, + "to": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "public": { + "properties": { + "from": { + "type": "boolean" + }, + "to": { + "type": "boolean" + } + }, + "type": "object" + }, + "short_description": { + "properties": { + "from": { + "nullable": true, + "type": "string" + }, + "to": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "title": { + "properties": { + "from": { + "type": "string" + }, + "to": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "projects_v2": { + "$ref": "#/components/schemas/projects-v2" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "projects_v2", + "organization", + "sender", + "changes" + ], + "title": "Projects v2 Project Edited Event", + "type": "object" + }, + "webhook-projects-v2-project-reopened": { + "properties": { + "action": { + "enum": [ + "reopened" + ], + "type": "string" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "projects_v2": { + "$ref": "#/components/schemas/projects-v2" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "projects_v2", + "organization", + "sender" + ], + "title": "Projects v2 Project Reopened Event", + "type": "object" + }, + "webhook-public": { + "properties": { + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "repository", + "sender" + ], + "title": "public event", + "type": "object" + }, + "webhook-pull-request-assigned": { + "properties": { + "action": { + "enum": [ + "assigned" + ], + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "nullable": true, + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "assignee", + "repository", + "sender" + ], + "title": "pull_request assigned event", + "type": "object" + }, + "webhook-pull-request-auto-merge-disabled": { + "properties": { + "action": { + "enum": [ + "auto_merge_disabled" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "reason": { + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "reason", + "repository", + "sender" + ], + "title": "pull_request auto_merge_disabled event", + "type": "object" + }, + "webhook-pull-request-auto-merge-enabled": { + "properties": { + "action": { + "enum": [ + "auto_merge_enabled" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "reason": { + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request auto_merge_enabled event", + "type": "object" + }, + "webhook-pull-request-closed": { + "properties": { + "action": { + "enum": [ + "closed" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "allOf": [ + { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "nullable": true, + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit message title.", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title.", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "commits": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "html": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "issue": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "self": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "author_association": { + "type": "string" + }, + "auto_merge": { + "nullable": true, + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "allow_auto_merge": { + "type": "boolean" + }, + "allow_forking": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "license": { + "nullable": true, + "type": "object" + }, + "merge_commit_message": { + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "topics": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "type": "boolean" + } + }, + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "nullable": true, + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "nullable": true, + "properties": { + "allow_auto_merge": { + "type": "boolean" + }, + "allow_forking": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "license": { + "nullable": true, + "type": "object" + }, + "merge_commit_message": { + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "topics": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "type": "boolean" + } + }, + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "type": "string" + }, + "labels": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "type": "boolean" + }, + "merged_at": { + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "type": "object" + }, + "milestone": { + "nullable": true, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "patch_url": { + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "requested_teams": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "closed", + "open" + ], + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "state", + "closed_at", + "merged" + ], + "type": "object" + } + ] + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request closed event", + "type": "object" + }, + "webhook-pull-request-converted-to-draft": { + "properties": { + "action": { + "enum": [ + "converted_to_draft" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "allOf": [ + { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n - `PR_BODY` - default to the pull request's body.\n - `COMMIT_MESSAGES` - default to the branch's commit messages.\n - `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n - `PR_BODY` - default to the pull request's body.\n - `COMMIT_MESSAGES` - default to the branch's commit messages.\n - `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "commits": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "html": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "issue": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "self": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "author_association": { + "type": "string" + }, + "auto_merge": { + "nullable": true, + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "allow_auto_merge": { + "type": "boolean" + }, + "allow_forking": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "license": { + "nullable": true, + "type": "object" + }, + "merge_commit_message": { + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "nullable": true + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "topics": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "type": "boolean" + } + }, + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "nullable": true, + "properties": { + "allow_auto_merge": { + "type": "boolean" + }, + "allow_forking": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "license": { + "nullable": true, + "type": "object" + }, + "merge_commit_message": { + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "nullable": true + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "topics": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "type": "boolean" + } + }, + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "type": "string" + }, + "labels": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "enum": [ + false + ], + "type": "boolean" + }, + "merged_at": { + "nullable": true + }, + "merged_by": { + "nullable": true + }, + "milestone": { + "nullable": true, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "patch_url": { + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "requested_teams": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "type": "string" + }, + "state": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "closed_at", + "merged_at", + "draft", + "merged", + "merged_by" + ], + "type": "object" + } + ] + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request converted_to_draft event", + "type": "object" + }, + "webhook-pull-request-demilestoned": { + "properties": { + "action": { + "enum": [ + "demilestoned" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "milestone": { + "$ref": "#/components/schemas/milestone" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "description": "Whether a squash merge commit can use the pull request title as default.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "description": "Whether a squash merge commit can use the pull request title as default.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository" + ], + "title": "pull_request demilestoned event", + "type": "object" + }, + "webhook-pull-request-dequeued": { + "properties": { + "action": { + "enum": [ + "dequeued" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "reason": { + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository", + "sender", + "reason" + ], + "title": "pull_request dequeued event", + "type": "object" + }, + "webhook-pull-request-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "description": "The changes to the comment if the action was `edited`.", + "properties": { + "base": { + "properties": { + "ref": { + "properties": { + "from": { + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "sha": { + "properties": { + "from": { + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "required": [ + "ref", + "sha" + ], + "type": "object" + }, + "body": { + "properties": { + "from": { + "description": "The previous version of the body if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "title": { + "properties": { + "from": { + "description": "The previous version of the title if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "nullable": true, + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "number", + "pull_request", + "repository" + ], + "title": "pull_request edited event", + "type": "object" + }, + "webhook-pull-request-enqueued": { + "properties": { + "action": { + "enum": [ + "enqueued" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_discussions", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request enqueued event", + "type": "object" + }, + "webhook-pull-request-labeled": { + "properties": { + "action": { + "enum": [ + "labeled" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "label": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "nullable": true, + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request labeled event", + "type": "object" + }, + "webhook-pull-request-locked": { + "properties": { + "action": { + "enum": [ + "locked" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "nullable": true, + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request locked event", + "type": "object" + }, + "webhook-pull-request-milestoned": { + "properties": { + "action": { + "enum": [ + "milestoned" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "milestone": { + "$ref": "#/components/schemas/milestone" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "description": "Whether a squash merge commit can use the pull request title as default.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "description": "Whether a squash merge commit can use the pull request title as default.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository" + ], + "title": "pull_request milestoned event", + "type": "object" + }, + "webhook-pull-request-opened": { + "properties": { + "action": { + "enum": [ + "opened" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "allOf": [ + { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit message title.", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "commits": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "html": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "issue": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "self": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "author_association": { + "type": "string" + }, + "auto_merge": { + "nullable": true, + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "allow_auto_merge": { + "type": "boolean" + }, + "allow_forking": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "license": { + "nullable": true, + "type": "object" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "topics": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "visibility": { + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "type": "boolean" + } + }, + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "allow_auto_merge": { + "type": "boolean" + }, + "allow_forking": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "license": { + "nullable": true, + "type": "object" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "topics": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "visibility": { + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "type": "boolean" + } + }, + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "type": "string" + }, + "labels": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "type": "boolean" + }, + "merged_at": { + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "type": "object" + }, + "milestone": { + "nullable": true, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "patch_url": { + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "requested_teams": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "type": "string" + }, + "state": { + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "state", + "closed_at", + "merged_at", + "merge_commit_sha", + "active_lock_reason", + "merged_by" + ], + "type": "object" + } + ] + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request opened event", + "type": "object" + }, + "webhook-pull-request-ready-for-review": { + "properties": { + "action": { + "enum": [ + "ready_for_review" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "allOf": [ + { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "commits": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "html": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "issue": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "self": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "author_association": { + "type": "string" + }, + "auto_merge": { + "nullable": true, + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "allow_auto_merge": { + "type": "boolean" + }, + "allow_forking": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "license": { + "nullable": true, + "type": "object" + }, + "merge_commit_message": { + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "topics": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "type": "boolean" + } + }, + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "allow_auto_merge": { + "type": "boolean" + }, + "allow_forking": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "license": { + "nullable": true, + "type": "object" + }, + "merge_commit_message": { + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "topics": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "type": "boolean" + } + }, + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "type": "string" + }, + "labels": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "type": "boolean" + }, + "merged_at": { + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "type": "object" + }, + "milestone": { + "nullable": true, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "patch_url": { + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "requested_teams": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "type": "string" + }, + "state": { + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "state", + "closed_at", + "merged_at", + "draft", + "merged", + "merged_by" + ], + "type": "object" + } + ] + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request ready_for_review event", + "type": "object" + }, + "webhook-pull-request-reopened": { + "properties": { + "action": { + "enum": [ + "reopened" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "allOf": [ + { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit message title.", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "commits": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "html": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "issue": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "self": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "active_lock_reason": { + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "author_association": { + "type": "string" + }, + "auto_merge": { + "nullable": true + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "allow_auto_merge": { + "type": "boolean" + }, + "allow_forking": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "license": { + "nullable": true, + "type": "object" + }, + "merge_commit_message": { + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "nullable": true + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "topics": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "type": "boolean" + } + }, + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "allow_auto_merge": { + "type": "boolean" + }, + "allow_forking": { + "type": "boolean" + }, + "allow_merge_commit": { + "type": "boolean" + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "has_downloads": { + "type": "boolean" + }, + "has_issues": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "license": { + "nullable": true, + "type": "object" + }, + "merge_commit_message": { + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "mirror_url": { + "nullable": true + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "topics": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "type": "boolean" + } + }, + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "type": "string" + }, + "labels": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "type": "boolean" + }, + "merged_at": { + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "type": "object" + }, + "milestone": { + "nullable": true, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "patch_url": { + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "requested_teams": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "type": "string" + }, + "state": { + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "user": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "state", + "closed_at", + "merged_at", + "merged", + "merged_by" + ], + "type": "object" + } + ] + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request reopened event", + "type": "object" + }, + "webhook-pull-request-review-comment-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "comment": { + "description": "The [comment](https://docs.github.com/rest/reference/pulls#comments) itself.", + "properties": { + "_links": { + "properties": { + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "pull_request": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "pull_request" + ], + "type": "object" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "The text of the comment.", + "type": "string" + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string" + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "format": "uri", + "type": "string" + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer" + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "type": "integer" + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "nullable": true, + "type": "integer" + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string" + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "type": "string" + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "nullable": true, + "type": "integer" + }, + "original_position": { + "description": "The index of the original line in the diff to which the comment applies.", + "type": "integer" + }, + "original_start_line": { + "description": "The first line of the range for a multi-line comment.", + "nullable": true, + "type": "integer" + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "type": "string" + }, + "position": { + "description": "The line index in the diff to which the comment applies.", + "nullable": true, + "type": "integer" + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "nullable": true, + "type": "integer" + }, + "pull_request_url": { + "description": "URL for the pull request that the review comment belongs to.", + "format": "uri", + "type": "string" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "side": { + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT" + ], + "type": "string" + }, + "start_line": { + "description": "The first line of the range for a multi-line comment.", + "nullable": true, + "type": "integer" + }, + "start_side": { + "default": "RIGHT", + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT", + null + ], + "nullable": true, + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the pull request review comment", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "pull_request_review_id", + "id", + "node_id", + "diff_hunk", + "path", + "position", + "original_position", + "commit_id", + "original_commit_id", + "user", + "body", + "created_at", + "updated_at", + "html_url", + "pull_request_url", + "author_association", + "_links", + "start_line", + "original_start_line", + "original_line", + "line", + "start_side", + "side", + "reactions" + ], + "title": "Pull Request Review Comment", + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "type": "string" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "merged_at": { + "nullable": true, + "type": "string" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "active_lock_reason" + ], + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "comment", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request_review_comment created event", + "type": "object" + }, + "webhook-pull-request-review-comment-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "comment": { + "description": "The [comment](https://docs.github.com/rest/reference/pulls#comments) itself.", + "properties": { + "_links": { + "properties": { + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "pull_request": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "pull_request" + ], + "type": "object" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "The text of the comment.", + "type": "string" + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string" + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "format": "uri", + "type": "string" + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer" + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "type": "integer" + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "nullable": true, + "type": "integer" + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string" + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "type": "string" + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "type": "integer" + }, + "original_position": { + "description": "The index of the original line in the diff to which the comment applies.", + "type": "integer" + }, + "original_start_line": { + "description": "The first line of the range for a multi-line comment.", + "nullable": true, + "type": "integer" + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "type": "string" + }, + "position": { + "description": "The line index in the diff to which the comment applies.", + "nullable": true, + "type": "integer" + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "nullable": true, + "type": "integer" + }, + "pull_request_url": { + "description": "URL for the pull request that the review comment belongs to.", + "format": "uri", + "type": "string" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "side": { + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT" + ], + "type": "string" + }, + "start_line": { + "description": "The first line of the range for a multi-line comment.", + "nullable": true, + "type": "integer" + }, + "start_side": { + "default": "RIGHT", + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT", + null + ], + "nullable": true, + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the pull request review comment", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "pull_request_review_id", + "id", + "node_id", + "diff_hunk", + "path", + "position", + "original_position", + "commit_id", + "original_commit_id", + "user", + "body", + "created_at", + "updated_at", + "html_url", + "pull_request_url", + "author_association", + "_links", + "start_line", + "original_start_line", + "original_line", + "line", + "start_side", + "side", + "reactions" + ], + "title": "Pull Request Review Comment", + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "type": "string" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "merged_at": { + "nullable": true, + "type": "string" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "active_lock_reason" + ], + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "comment", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request_review_comment deleted event", + "type": "object" + }, + "webhook-pull-request-review-comment-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "description": "The changes to the comment.", + "properties": { + "body": { + "properties": { + "from": { + "description": "The previous version of the body.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "type": "object" + }, + "comment": { + "description": "The [comment](https://docs.github.com/rest/reference/pulls#comments) itself.", + "properties": { + "_links": { + "properties": { + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "pull_request": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "pull_request" + ], + "type": "object" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "The text of the comment.", + "type": "string" + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string" + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "format": "uri", + "type": "string" + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer" + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "type": "integer" + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "nullable": true, + "type": "integer" + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string" + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "type": "string" + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "type": "integer" + }, + "original_position": { + "description": "The index of the original line in the diff to which the comment applies.", + "type": "integer" + }, + "original_start_line": { + "description": "The first line of the range for a multi-line comment.", + "nullable": true, + "type": "integer" + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "type": "string" + }, + "position": { + "description": "The line index in the diff to which the comment applies.", + "nullable": true, + "type": "integer" + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "nullable": true, + "type": "integer" + }, + "pull_request_url": { + "description": "URL for the pull request that the review comment belongs to.", + "format": "uri", + "type": "string" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "side": { + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT" + ], + "type": "string" + }, + "start_line": { + "description": "The first line of the range for a multi-line comment.", + "nullable": true, + "type": "integer" + }, + "start_side": { + "default": "RIGHT", + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT", + null + ], + "nullable": true, + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the pull request review comment", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "pull_request_review_id", + "id", + "node_id", + "diff_hunk", + "path", + "position", + "original_position", + "commit_id", + "original_commit_id", + "user", + "body", + "created_at", + "updated_at", + "html_url", + "pull_request_url", + "author_association", + "_links", + "start_line", + "original_start_line", + "original_line", + "line", + "start_side", + "side", + "reactions" + ], + "title": "Pull Request Review Comment", + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "type": "string" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "merged_at": { + "nullable": true, + "type": "string" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "active_lock_reason" + ], + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "comment", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request_review_comment edited event", + "type": "object" + }, + "webhook-pull-request-review-dismissed": { + "properties": { + "action": { + "enum": [ + "dismissed" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "type": "string" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "merged_at": { + "nullable": true, + "type": "string" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "draft", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason" + ], + "title": "Simple Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "review": { + "description": "The review that was affected.", + "properties": { + "_links": { + "properties": { + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "pull_request": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "html", + "pull_request" + ], + "type": "object" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "The text of the review.", + "nullable": true, + "type": "string" + }, + "commit_id": { + "description": "A commit SHA for the review.", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the review", + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "pull_request_url": { + "format": "uri", + "type": "string" + }, + "state": { + "enum": [ + "dismissed", + "approved", + "changes_requested" + ], + "type": "string" + }, + "submitted_at": { + "format": "date-time", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "id", + "node_id", + "user", + "body", + "commit_id", + "submitted_at", + "state", + "html_url", + "pull_request_url", + "author_association", + "_links" + ], + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "review", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request_review dismissed event", + "type": "object" + }, + "webhook-pull-request-review-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "properties": { + "body": { + "properties": { + "from": { + "description": "The previous version of the body if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "type": "string" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "merged_at": { + "nullable": true, + "type": "string" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "draft", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason" + ], + "title": "Simple Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "review": { + "description": "The review that was affected.", + "properties": { + "_links": { + "properties": { + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "pull_request": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "html", + "pull_request" + ], + "type": "object" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "The text of the review.", + "nullable": true, + "type": "string" + }, + "commit_id": { + "description": "A commit SHA for the review.", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the review", + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "pull_request_url": { + "format": "uri", + "type": "string" + }, + "state": { + "type": "string" + }, + "submitted_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "id", + "node_id", + "user", + "body", + "commit_id", + "submitted_at", + "state", + "html_url", + "pull_request_url", + "author_association", + "_links" + ], + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "review", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request_review edited event", + "type": "object" + }, + "webhook-pull-request-review-request-removed": { + "oneOf": [ + { + "properties": { + "action": { + "enum": [ + "review_request_removed" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title.", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "requested_reviewer": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "requested_reviewer", + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "type": "object" + }, + { + "properties": { + "action": { + "enum": [ + "review_request_removed" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "requested_team": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "requested_team", + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "type": "object" + } + ], + "title": "pull_request review_request_removed event" + }, + "webhook-pull-request-review-requested": { + "oneOf": [ + { + "properties": { + "action": { + "enum": [ + "review_requested" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "requested_reviewer": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "requested_reviewer", + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "type": "object" + }, + { + "properties": { + "action": { + "enum": [ + "review_requested" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "requested_team": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "requested_team", + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "type": "object" + } + ], + "title": "pull_request review_requested event" + }, + "webhook-pull-request-review-submitted": { + "properties": { + "action": { + "enum": [ + "submitted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "type": "string" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "nullable": true, + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "merged_at": { + "nullable": true, + "type": "string" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "draft", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason" + ], + "title": "Simple Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "review": { + "description": "The review that was affected.", + "properties": { + "_links": { + "properties": { + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "pull_request": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "html", + "pull_request" + ], + "type": "object" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "The text of the review.", + "nullable": true, + "type": "string" + }, + "commit_id": { + "description": "A commit SHA for the review.", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the review", + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "pull_request_url": { + "format": "uri", + "type": "string" + }, + "state": { + "type": "string" + }, + "submitted_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "id", + "node_id", + "user", + "body", + "commit_id", + "submitted_at", + "state", + "html_url", + "pull_request_url", + "author_association", + "_links" + ], + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "review", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request_review submitted event", + "type": "object" + }, + "webhook-pull-request-review-thread-resolved": { + "properties": { + "action": { + "enum": [ + "resolved" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "type": "string" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "nullable": true, + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "merged_at": { + "nullable": true, + "type": "string" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "draft", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason" + ], + "title": "Simple Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "thread": { + "properties": { + "comments": { + "items": { + "description": "The [comment](https://docs.github.com/rest/reference/pulls#comments) itself.", + "properties": { + "_links": { + "properties": { + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "pull_request": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "pull_request" + ], + "type": "object" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "The text of the comment.", + "type": "string" + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string" + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "format": "uri", + "type": "string" + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer" + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "type": "integer" + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "nullable": true, + "type": "integer" + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string" + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "type": "string" + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "nullable": true, + "type": "integer" + }, + "original_position": { + "description": "The index of the original line in the diff to which the comment applies.", + "type": "integer" + }, + "original_start_line": { + "description": "The first line of the range for a multi-line comment.", + "nullable": true, + "type": "integer" + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "type": "string" + }, + "position": { + "description": "The line index in the diff to which the comment applies.", + "nullable": true, + "type": "integer" + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "nullable": true, + "type": "integer" + }, + "pull_request_url": { + "description": "URL for the pull request that the review comment belongs to.", + "format": "uri", + "type": "string" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "side": { + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT" + ], + "type": "string" + }, + "start_line": { + "description": "The first line of the range for a multi-line comment.", + "nullable": true, + "type": "integer" + }, + "start_side": { + "default": "RIGHT", + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT", + null + ], + "nullable": true, + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the pull request review comment", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "pull_request_review_id", + "id", + "node_id", + "diff_hunk", + "path", + "position", + "original_position", + "commit_id", + "original_commit_id", + "user", + "body", + "created_at", + "updated_at", + "html_url", + "pull_request_url", + "author_association", + "_links", + "start_line", + "original_start_line", + "original_line", + "line", + "start_side", + "side", + "reactions" + ], + "title": "Pull Request Review Comment", + "type": "object" + }, + "type": "array" + }, + "node_id": { + "type": "string" + } + }, + "required": [ + "node_id", + "comments" + ], + "type": "object" + } + }, + "required": [ + "action", + "thread", + "pull_request", + "repository" + ], + "title": "pull_request_review_thread resolved event", + "type": "object" + }, + "webhook-pull-request-review-thread-unresolved": { + "properties": { + "action": { + "enum": [ + "unresolved" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "closed_at": { + "nullable": true, + "type": "string" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "type": "string" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "merged_at": { + "nullable": true, + "type": "string" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "draft", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason" + ], + "title": "Simple Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "thread": { + "properties": { + "comments": { + "items": { + "description": "The [comment](https://docs.github.com/rest/reference/pulls#comments) itself.", + "properties": { + "_links": { + "properties": { + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "pull_request": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "pull_request" + ], + "type": "object" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "body": { + "description": "The text of the comment.", + "type": "string" + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string" + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "format": "uri", + "type": "string" + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer" + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "type": "integer" + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "nullable": true, + "type": "integer" + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string" + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "type": "string" + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "type": "integer" + }, + "original_position": { + "description": "The index of the original line in the diff to which the comment applies.", + "type": "integer" + }, + "original_start_line": { + "description": "The first line of the range for a multi-line comment.", + "nullable": true, + "type": "integer" + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "type": "string" + }, + "position": { + "description": "The line index in the diff to which the comment applies.", + "nullable": true, + "type": "integer" + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "nullable": true, + "type": "integer" + }, + "pull_request_url": { + "description": "URL for the pull request that the review comment belongs to.", + "format": "uri", + "type": "string" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "side": { + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT" + ], + "type": "string" + }, + "start_line": { + "description": "The first line of the range for a multi-line comment.", + "nullable": true, + "type": "integer" + }, + "start_side": { + "default": "RIGHT", + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT", + null + ], + "nullable": true, + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "URL for the pull request review comment", + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "pull_request_review_id", + "id", + "node_id", + "diff_hunk", + "path", + "position", + "original_position", + "commit_id", + "original_commit_id", + "user", + "body", + "created_at", + "updated_at", + "html_url", + "pull_request_url", + "author_association", + "_links", + "start_line", + "original_start_line", + "original_line", + "line", + "start_side", + "side", + "reactions" + ], + "title": "Pull Request Review Comment", + "type": "object" + }, + "type": "array" + }, + "node_id": { + "type": "string" + } + }, + "required": [ + "node_id", + "comments" + ], + "type": "object" + } + }, + "required": [ + "action", + "thread", + "pull_request", + "repository" + ], + "title": "pull_request_review_thread unresolved event", + "type": "object" + }, + "webhook-pull-request-synchronize": { + "properties": { + "action": { + "enum": [ + "synchronize" + ], + "type": "string" + }, + "after": { + "type": "string" + }, + "before": { + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit message title.", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "before", + "after", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request synchronize event", + "type": "object" + }, + "webhook-pull-request-unassigned": { + "properties": { + "action": { + "enum": [ + "unassigned" + ], + "type": "string" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "nullable": true, + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "nullable": true, + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository" + ], + "title": "pull_request unassigned event", + "type": "object" + }, + "webhook-pull-request-unlabeled": { + "properties": { + "action": { + "enum": [ + "unlabeled" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "label": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "nullable": true, + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "nullable": true, + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit message title.", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request unlabeled event", + "type": "object" + }, + "webhook-pull-request-unlocked": { + "properties": { + "action": { + "enum": [ + "unlocked" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "number": { + "description": "The pull request number.", + "type": "integer" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pull_request": { + "properties": { + "_links": { + "properties": { + "comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "commits": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "html": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "issue": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comment": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "review_comments": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "self": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + }, + "statuses": { + "properties": { + "href": { + "format": "uri-template", + "type": "string" + } + }, + "required": [ + "href" + ], + "title": "Link", + "type": "object" + } + }, + "required": [ + "self", + "html", + "issue", + "comments", + "review_comments", + "review_comment", + "commits", + "statuses" + ], + "type": "object" + }, + "active_lock_reason": { + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ], + "nullable": true, + "type": "string" + }, + "additions": { + "type": "integer" + }, + "assignee": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "assignees": { + "items": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "type": "array" + }, + "author_association": { + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "title": "AuthorAssociation", + "type": "string" + }, + "auto_merge": { + "description": "The status of auto merging a pull request.", + "nullable": true, + "properties": { + "commit_message": { + "description": "Commit message for the merge commit.", + "nullable": true, + "type": "string" + }, + "commit_title": { + "description": "Title for the merge commit message.", + "type": "string" + }, + "enabled_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "merge_method": { + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ], + "type": "string" + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ], + "title": "PullRequestAutoMerge", + "type": "object" + }, + "base": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "changed_files": { + "type": "integer" + }, + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commits": { + "type": "integer" + }, + "commits_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deletions": { + "type": "integer" + }, + "diff_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean" + }, + "head": { + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "description": "A git repository", + "nullable": true, + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merge_commit_message": { + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "type": "string" + }, + "merge_commit_title": { + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "squash_merge_commit_message": { + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "type": "string" + }, + "squash_merge_commit_title": { + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "use_squash_pr_title_as_default": { + "default": false, + "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.", + "type": "boolean" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sha": { + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "label", + "ref", + "sha", + "user", + "repo" + ], + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_url": { + "format": "uri", + "type": "string" + }, + "labels": { + "items": { + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "title": "Label", + "type": "object" + }, + "type": "array" + }, + "locked": { + "type": "boolean" + }, + "maintainer_can_modify": { + "description": "Indicates whether maintainers can modify the pull request.", + "type": "boolean" + }, + "merge_commit_sha": { + "nullable": true, + "type": "string" + }, + "mergeable": { + "nullable": true, + "type": "boolean" + }, + "mergeable_state": { + "type": "string" + }, + "merged": { + "nullable": true, + "type": "boolean" + }, + "merged_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "merged_by": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "milestone": { + "description": "A collection of related issues and pull requests.", + "nullable": true, + "properties": { + "closed_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "creator": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "description": { + "nullable": true, + "type": "string" + }, + "due_on": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "title": "Milestone", + "type": "object" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "Number uniquely identifying the pull request within its repository.", + "type": "integer" + }, + "patch_url": { + "format": "uri", + "type": "string" + }, + "rebaseable": { + "nullable": true, + "type": "boolean" + }, + "requested_reviewers": { + "items": { + "oneOf": [ + { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + ] + }, + "type": "array" + }, + "requested_teams": { + "items": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + }, + "type": "array" + }, + "review_comment_url": { + "format": "uri-template", + "type": "string" + }, + "review_comments": { + "type": "integer" + }, + "review_comments_url": { + "format": "uri", + "type": "string" + }, + "state": { + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "type": "string" + }, + "statuses_url": { + "format": "uri", + "type": "string" + }, + "title": { + "description": "The title of the pull request.", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "required": [ + "url", + "id", + "node_id", + "html_url", + "diff_url", + "patch_url", + "issue_url", + "number", + "state", + "locked", + "title", + "user", + "body", + "created_at", + "updated_at", + "closed_at", + "merged_at", + "merge_commit_sha", + "assignee", + "assignees", + "requested_reviewers", + "requested_teams", + "labels", + "milestone", + "commits_url", + "review_comments_url", + "review_comment_url", + "comments_url", + "statuses_url", + "head", + "base", + "_links", + "author_association", + "auto_merge", + "active_lock_reason", + "draft" + ], + "title": "Pull Request", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "number", + "pull_request", + "repository", + "sender" + ], + "title": "pull_request unlocked event", + "type": "object" + }, + "webhook-push": { + "properties": { + "after": { + "description": "The SHA of the most recent commit on `ref` after the push.", + "type": "string" + }, + "base_ref": { + "nullable": true, + "type": "string" + }, + "before": { + "description": "The SHA of the most recent commit on `ref` before the push.", + "type": "string" + }, + "commits": { + "description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/rest/reference/repos#commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.", + "items": { + "properties": { + "added": { + "description": "An array of files added in the commit.", + "items": { + "type": "string" + }, + "type": "array" + }, + "author": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "committer": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "distinct": { + "description": "Whether this commit is distinct from any that have been pushed before.", + "type": "boolean" + }, + "id": { + "type": "string" + }, + "message": { + "description": "The commit message.", + "type": "string" + }, + "modified": { + "description": "An array of files modified by the commit.", + "items": { + "type": "string" + }, + "type": "array" + }, + "removed": { + "description": "An array of files removed in the commit.", + "items": { + "type": "string" + }, + "type": "array" + }, + "timestamp": { + "description": "The ISO 8601 timestamp of the commit.", + "format": "date-time", + "type": "string" + }, + "tree_id": { + "type": "string" + }, + "url": { + "description": "URL that points to the commit API resource.", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "tree_id", + "distinct", + "message", + "timestamp", + "url", + "author", + "committer" + ], + "title": "Commit", + "type": "object" + }, + "type": "array" + }, + "compare": { + "description": "URL that shows the changes in this `ref` update, from the `before` commit to the `after` commit. For a newly created `ref` that is directly based on the default branch, this is the comparison between the head of the default branch and the `after` commit. Otherwise, this shows all commits until the `after` commit.", + "type": "string" + }, + "created": { + "description": "Whether this push created the `ref`.", + "type": "boolean" + }, + "deleted": { + "description": "Whether this push deleted the `ref`.", + "type": "boolean" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "forced": { + "description": "Whether this push was a force push of the `ref`.", + "type": "boolean" + }, + "head_commit": { + "nullable": true, + "properties": { + "added": { + "description": "An array of files added in the commit.", + "items": { + "type": "string" + }, + "type": "array" + }, + "author": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "committer": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "distinct": { + "description": "Whether this commit is distinct from any that have been pushed before.", + "type": "boolean" + }, + "id": { + "type": "string" + }, + "message": { + "description": "The commit message.", + "type": "string" + }, + "modified": { + "description": "An array of files modified by the commit.", + "items": { + "type": "string" + }, + "type": "array" + }, + "removed": { + "description": "An array of files removed in the commit.", + "items": { + "type": "string" + }, + "type": "array" + }, + "timestamp": { + "description": "The ISO 8601 timestamp of the commit.", + "format": "date-time", + "type": "string" + }, + "tree_id": { + "type": "string" + }, + "url": { + "description": "URL that points to the commit API resource.", + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "tree_id", + "distinct", + "message", + "timestamp", + "url", + "author", + "committer" + ], + "title": "Commit", + "type": "object" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "pusher": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "name" + ], + "title": "Committer", + "type": "object" + }, + "ref": { + "description": "The full git ref that was pushed. Example: `refs/heads/main` or `refs/tags/v3.14.1`.", + "type": "string" + }, + "repository": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_discussions": { + "default": false, + "description": "Whether discussions are enabled.", + "type": "boolean" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "has_discussions", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "ref", + "before", + "after", + "created", + "deleted", + "forced", + "base_ref", + "compare", + "commits", + "head_commit", + "repository", + "pusher" + ], + "title": "push event", + "type": "object" + }, + "webhook-registry-package-published": { + "properties": { + "action": { + "enum": [ + "published" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "registry_package": { + "properties": { + "created_at": { + "nullable": true, + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "ecosystem": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "login", + "id", + "node_id", + "avatar_url", + "gravatar_id", + "url", + "html_url", + "followers_url", + "following_url", + "gists_url", + "starred_url", + "subscriptions_url", + "organizations_url", + "repos_url", + "events_url", + "received_events_url", + "type", + "site_admin" + ], + "type": "object" + }, + "package_type": { + "type": "string" + }, + "package_version": { + "nullable": true, + "properties": { + "author": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "login", + "id", + "node_id", + "avatar_url", + "gravatar_id", + "url", + "html_url", + "followers_url", + "following_url", + "gists_url", + "starred_url", + "subscriptions_url", + "organizations_url", + "repos_url", + "events_url", + "received_events_url", + "type", + "site_admin" + ], + "type": "object" + }, + "body": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + } + ] + }, + "body_html": { + "type": "string" + }, + "container_metadata": { + "properties": { + "labels": { + "nullable": true, + "type": "object" + }, + "manifest": { + "nullable": true, + "type": "object" + }, + "tag": { + "properties": { + "digest": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "docker_metadata": { + "items": {}, + "type": "array" + }, + "draft": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "installation_command": { + "type": "string" + }, + "manifest": { + "type": "string" + }, + "metadata": { + "items": { + "additionalProperties": true, + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "npm_metadata": { + "nullable": true, + "properties": { + "author": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + } + ] + }, + "bin": { + "type": "object" + }, + "bugs": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + } + ] + }, + "commit_oid": { + "type": "string" + }, + "contributors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "cpu": { + "items": { + "type": "string" + }, + "type": "array" + }, + "deleted_by_id": { + "type": "integer" + }, + "dependencies": { + "type": "object" + }, + "description": { + "type": "string" + }, + "dev_dependencies": { + "type": "object" + }, + "directories": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + } + ] + }, + "dist": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + } + ] + }, + "engines": { + "type": "object" + }, + "files": { + "items": { + "type": "string" + }, + "type": "array" + }, + "git_head": { + "type": "string" + }, + "has_shrinkwrap": { + "type": "boolean" + }, + "homepage": { + "type": "string" + }, + "id": { + "type": "string" + }, + "installation_command": { + "type": "string" + }, + "keywords": { + "items": { + "type": "string" + }, + "type": "array" + }, + "license": { + "type": "string" + }, + "main": { + "type": "string" + }, + "maintainers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "man": { + "type": "object" + }, + "name": { + "type": "string" + }, + "node_version": { + "type": "string" + }, + "npm_user": { + "type": "string" + }, + "npm_version": { + "type": "string" + }, + "optional_dependencies": { + "type": "object" + }, + "os": { + "items": { + "type": "string" + }, + "type": "array" + }, + "peer_dependencies": { + "type": "object" + }, + "published_via_actions": { + "type": "boolean" + }, + "readme": { + "type": "string" + }, + "release_id": { + "type": "integer" + }, + "repository": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + } + ] + }, + "scripts": { + "type": "object" + }, + "version": { + "type": "string" + } + }, + "type": "object" + }, + "nuget_metadata": { + "items": { + "properties": { + "id": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object" + }, + { + "type": "integer" + } + ] + }, + "name": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + }, + { + "type": "integer" + }, + { + "properties": { + "branch": { + "type": "string" + }, + "commit": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + ] + } + }, + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "package_files": { + "items": { + "properties": { + "content_type": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "download_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "md5": { + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "sha1": { + "nullable": true, + "type": "string" + }, + "sha256": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "state": { + "nullable": true, + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "download_url", + "id", + "name", + "sha256", + "sha1", + "md5", + "content_type", + "state", + "size", + "created_at", + "updated_at" + ], + "type": "object" + }, + "type": "array" + }, + "package_url": { + "type": "string" + }, + "prerelease": { + "type": "boolean" + }, + "release": { + "properties": { + "author": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "created_at": { + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "prerelease": { + "type": "boolean" + }, + "published_at": { + "type": "string" + }, + "tag_name": { + "type": "string" + }, + "target_commitish": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "rubygems_metadata": { + "items": {}, + "type": "array" + }, + "summary": { + "type": "string" + }, + "tag_name": { + "type": "string" + }, + "target_commitish": { + "type": "string" + }, + "target_oid": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "id", + "version", + "name", + "description", + "summary", + "html_url", + "metadata", + "package_files", + "installation_command", + "package_url" + ], + "type": "object" + }, + "registry": { + "nullable": true, + "properties": { + "about_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + }, + "vendor": { + "type": "string" + } + }, + "type": "object" + }, + "updated_at": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "name", + "namespace", + "description", + "ecosystem", + "package_type", + "html_url", + "created_at", + "updated_at", + "owner", + "package_version", + "registry" + ], + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "registry_package", + "sender" + ], + "type": "object" + }, + "webhook-registry-package-updated": { + "properties": { + "action": { + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "registry_package": { + "properties": { + "created_at": { + "type": "string" + }, + "description": { + "nullable": true + }, + "ecosystem": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "login", + "id", + "node_id", + "avatar_url", + "gravatar_id", + "url", + "html_url", + "followers_url", + "following_url", + "gists_url", + "starred_url", + "subscriptions_url", + "organizations_url", + "repos_url", + "events_url", + "received_events_url", + "type", + "site_admin" + ], + "type": "object" + }, + "package_type": { + "type": "string" + }, + "package_version": { + "properties": { + "author": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "login", + "id", + "node_id", + "avatar_url", + "gravatar_id", + "url", + "html_url", + "followers_url", + "following_url", + "gists_url", + "starred_url", + "subscriptions_url", + "organizations_url", + "repos_url", + "events_url", + "received_events_url", + "type", + "site_admin" + ], + "type": "object" + }, + "body": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "docker_metadata": { + "items": { + "nullable": true + }, + "type": "array" + }, + "draft": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "installation_command": { + "type": "string" + }, + "manifest": { + "type": "string" + }, + "metadata": { + "items": {}, + "type": "array" + }, + "name": { + "type": "string" + }, + "package_files": { + "items": { + "properties": { + "content_type": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "download_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "md5": { + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "sha1": { + "nullable": true, + "type": "string" + }, + "sha256": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "state": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "package_url": { + "type": "string" + }, + "prerelease": { + "type": "boolean" + }, + "release": { + "properties": { + "author": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "login", + "id", + "node_id", + "avatar_url", + "gravatar_id", + "url", + "html_url", + "followers_url", + "following_url", + "gists_url", + "starred_url", + "subscriptions_url", + "organizations_url", + "repos_url", + "events_url", + "received_events_url", + "type", + "site_admin" + ], + "type": "object" + }, + "created_at": { + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "prerelease": { + "type": "boolean" + }, + "published_at": { + "type": "string" + }, + "tag_name": { + "type": "string" + }, + "target_commitish": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "url", + "html_url", + "id", + "tag_name", + "target_commitish", + "name", + "draft", + "author", + "prerelease", + "created_at", + "published_at" + ], + "type": "object" + }, + "rubygems_metadata": { + "items": {}, + "type": "array" + }, + "summary": { + "type": "string" + }, + "tag_name": { + "type": "string" + }, + "target_commitish": { + "type": "string" + }, + "target_oid": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "id", + "version", + "name", + "description", + "summary", + "body", + "body_html", + "html_url", + "target_commitish", + "target_oid", + "created_at", + "updated_at", + "metadata", + "package_files", + "author", + "installation_command", + "package_url" + ], + "type": "object" + }, + "registry": { + "nullable": true, + "type": "object" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "namespace", + "description", + "ecosystem", + "package_type", + "html_url", + "created_at", + "updated_at", + "owner", + "package_version", + "registry" + ], + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "registry_package", + "sender" + ], + "type": "object" + }, + "webhook-release-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "release": { + "description": "The [release](https://docs.github.com/rest/reference/repos/#get-a-release) object.", + "properties": { + "assets": { + "items": { + "description": "Data related to a release.", + "properties": { + "browser_download_url": { + "format": "uri", + "type": "string" + }, + "content_type": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "download_count": { + "type": "integer" + }, + "id": { + "type": "integer" + }, + "label": { + "nullable": true, + "type": "string" + }, + "name": { + "description": "The file name of the asset.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "state": { + "description": "State of the release asset.", + "enum": [ + "uploaded" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "uploader": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "browser_download_url", + "id", + "node_id", + "name", + "label", + "state", + "content_type", + "size", + "download_count", + "created_at", + "updated_at" + ], + "title": "Release Asset", + "type": "object" + }, + "type": "array" + }, + "assets_url": { + "format": "uri", + "type": "string" + }, + "author": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "discussion_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Whether the release is a draft or published", + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "prerelease": { + "description": "Whether the release is identified as a prerelease or a full release.", + "type": "boolean" + }, + "published_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "tag_name": { + "description": "The name of the tag.", + "type": "string" + }, + "tarball_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "target_commitish": { + "description": "Specifies the commitish value that determines where the Git tag is created from.", + "type": "string" + }, + "upload_url": { + "format": "uri-template", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "zipball_url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "url", + "assets_url", + "upload_url", + "html_url", + "id", + "node_id", + "tag_name", + "target_commitish", + "name", + "draft", + "author", + "prerelease", + "created_at", + "published_at", + "assets", + "tarball_url", + "zipball_url", + "body" + ], + "title": "Release", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "release", + "repository", + "sender" + ], + "title": "release created event", + "type": "object" + }, + "webhook-release-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "release": { + "description": "The [release](https://docs.github.com/rest/reference/repos/#get-a-release) object.", + "properties": { + "assets": { + "items": { + "description": "Data related to a release.", + "properties": { + "browser_download_url": { + "format": "uri", + "type": "string" + }, + "content_type": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "download_count": { + "type": "integer" + }, + "id": { + "type": "integer" + }, + "label": { + "nullable": true, + "type": "string" + }, + "name": { + "description": "The file name of the asset.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "state": { + "description": "State of the release asset.", + "enum": [ + "uploaded" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "uploader": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "browser_download_url", + "id", + "node_id", + "name", + "label", + "state", + "content_type", + "size", + "download_count", + "created_at", + "updated_at" + ], + "title": "Release Asset", + "type": "object" + }, + "type": "array" + }, + "assets_url": { + "format": "uri", + "type": "string" + }, + "author": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "discussion_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Whether the release is a draft or published", + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "prerelease": { + "description": "Whether the release is identified as a prerelease or a full release.", + "type": "boolean" + }, + "published_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "tag_name": { + "description": "The name of the tag.", + "type": "string" + }, + "tarball_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "target_commitish": { + "description": "Specifies the commitish value that determines where the Git tag is created from.", + "type": "string" + }, + "upload_url": { + "format": "uri-template", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "zipball_url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "url", + "assets_url", + "upload_url", + "html_url", + "id", + "node_id", + "tag_name", + "target_commitish", + "name", + "draft", + "author", + "prerelease", + "created_at", + "published_at", + "assets", + "tarball_url", + "zipball_url", + "body" + ], + "title": "Release", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "release", + "repository", + "sender" + ], + "title": "release deleted event", + "type": "object" + }, + "webhook-release-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "properties": { + "body": { + "properties": { + "from": { + "description": "The previous version of the body if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "name": { + "properties": { + "from": { + "description": "The previous version of the name if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "release": { + "description": "The [release](https://docs.github.com/rest/reference/repos/#get-a-release) object.", + "properties": { + "assets": { + "items": { + "description": "Data related to a release.", + "properties": { + "browser_download_url": { + "format": "uri", + "type": "string" + }, + "content_type": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "download_count": { + "type": "integer" + }, + "id": { + "type": "integer" + }, + "label": { + "nullable": true, + "type": "string" + }, + "name": { + "description": "The file name of the asset.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "state": { + "description": "State of the release asset.", + "enum": [ + "uploaded" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "uploader": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "browser_download_url", + "id", + "node_id", + "name", + "label", + "state", + "content_type", + "size", + "download_count", + "created_at", + "updated_at" + ], + "title": "Release Asset", + "type": "object" + }, + "type": "array" + }, + "assets_url": { + "format": "uri", + "type": "string" + }, + "author": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "discussion_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Whether the release is a draft or published", + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "prerelease": { + "description": "Whether the release is identified as a prerelease or a full release.", + "type": "boolean" + }, + "published_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "tag_name": { + "description": "The name of the tag.", + "type": "string" + }, + "tarball_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "target_commitish": { + "description": "Specifies the commitish value that determines where the Git tag is created from.", + "type": "string" + }, + "upload_url": { + "format": "uri-template", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "zipball_url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "url", + "assets_url", + "upload_url", + "html_url", + "id", + "node_id", + "tag_name", + "target_commitish", + "name", + "draft", + "author", + "prerelease", + "created_at", + "published_at", + "assets", + "tarball_url", + "zipball_url", + "body" + ], + "title": "Release", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "release", + "repository" + ], + "title": "release edited event", + "type": "object" + }, + "webhook-release-prereleased": { + "properties": { + "action": { + "enum": [ + "prereleased" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "release": { + "allOf": [ + { + "description": "The [release](https://docs.github.com/rest/reference/repos/#get-a-release) object.", + "properties": { + "assets": { + "items": { + "description": "Data related to a release.", + "properties": { + "browser_download_url": { + "format": "uri", + "type": "string" + }, + "content_type": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "download_count": { + "type": "integer" + }, + "id": { + "type": "integer" + }, + "label": { + "nullable": true, + "type": "string" + }, + "name": { + "description": "The file name of the asset.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "state": { + "description": "State of the release asset.", + "enum": [ + "uploaded" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "uploader": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "browser_download_url", + "id", + "node_id", + "name", + "label", + "state", + "content_type", + "size", + "download_count", + "created_at", + "updated_at" + ], + "title": "Release Asset", + "type": "object" + }, + "type": "array" + }, + "assets_url": { + "format": "uri", + "type": "string" + }, + "author": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "discussion_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Whether the release is a draft or published", + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "prerelease": { + "description": "Whether the release is identified as a prerelease or a full release.", + "type": "boolean" + }, + "published_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "tag_name": { + "description": "The name of the tag.", + "type": "string" + }, + "tarball_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "target_commitish": { + "description": "Specifies the commitish value that determines where the Git tag is created from.", + "type": "string" + }, + "upload_url": { + "format": "uri-template", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "zipball_url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "url", + "assets_url", + "upload_url", + "html_url", + "id", + "node_id", + "tag_name", + "target_commitish", + "name", + "draft", + "author", + "prerelease", + "created_at", + "published_at", + "assets", + "tarball_url", + "zipball_url", + "body" + ], + "title": "Release", + "type": "object" + }, + { + "properties": { + "assets": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "assets_url": { + "type": "string" + }, + "author": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "prerelease": { + "description": "Whether the release is identified as a prerelease or a full release.", + "enum": [ + true + ], + "type": "boolean" + }, + "published_at": { + "nullable": true, + "type": "string" + }, + "tag_name": { + "type": "string" + }, + "tarball_url": { + "nullable": true, + "type": "string" + }, + "target_commitish": { + "type": "string" + }, + "upload_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "zipball_url": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "prerelease" + ], + "type": "object" + } + ] + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "release", + "repository" + ], + "title": "release prereleased event", + "type": "object" + }, + "webhook-release-published": { + "properties": { + "action": { + "enum": [ + "published" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "release": { + "allOf": [ + { + "description": "The [release](https://docs.github.com/rest/reference/repos/#get-a-release) object.", + "properties": { + "assets": { + "items": { + "description": "Data related to a release.", + "properties": { + "browser_download_url": { + "format": "uri", + "type": "string" + }, + "content_type": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "download_count": { + "type": "integer" + }, + "id": { + "type": "integer" + }, + "label": { + "nullable": true, + "type": "string" + }, + "name": { + "description": "The file name of the asset.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "state": { + "description": "State of the release asset.", + "enum": [ + "uploaded" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "uploader": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "browser_download_url", + "id", + "node_id", + "name", + "label", + "state", + "content_type", + "size", + "download_count", + "created_at", + "updated_at" + ], + "title": "Release Asset", + "type": "object" + }, + "type": "array" + }, + "assets_url": { + "format": "uri", + "type": "string" + }, + "author": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "discussion_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Whether the release is a draft or published", + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "prerelease": { + "description": "Whether the release is identified as a prerelease or a full release.", + "type": "boolean" + }, + "published_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "tag_name": { + "description": "The name of the tag.", + "type": "string" + }, + "tarball_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "target_commitish": { + "description": "Specifies the commitish value that determines where the Git tag is created from.", + "type": "string" + }, + "upload_url": { + "format": "uri-template", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "zipball_url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "url", + "assets_url", + "upload_url", + "html_url", + "id", + "node_id", + "tag_name", + "target_commitish", + "name", + "draft", + "author", + "prerelease", + "created_at", + "published_at", + "assets", + "tarball_url", + "zipball_url", + "body" + ], + "title": "Release", + "type": "object" + }, + { + "properties": { + "assets": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "assets_url": { + "type": "string" + }, + "author": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "prerelease": { + "type": "boolean" + }, + "published_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "tag_name": { + "type": "string" + }, + "tarball_url": { + "nullable": true, + "type": "string" + }, + "target_commitish": { + "type": "string" + }, + "upload_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "zipball_url": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "published_at" + ], + "type": "object" + } + ] + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "release", + "repository" + ], + "title": "release published event", + "type": "object" + }, + "webhook-release-released": { + "properties": { + "action": { + "enum": [ + "released" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "release": { + "description": "The [release](https://docs.github.com/rest/reference/repos/#get-a-release) object.", + "properties": { + "assets": { + "items": { + "description": "Data related to a release.", + "properties": { + "browser_download_url": { + "format": "uri", + "type": "string" + }, + "content_type": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "download_count": { + "type": "integer" + }, + "id": { + "type": "integer" + }, + "label": { + "nullable": true, + "type": "string" + }, + "name": { + "description": "The file name of the asset.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "state": { + "description": "State of the release asset.", + "enum": [ + "uploaded" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "uploader": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "browser_download_url", + "id", + "node_id", + "name", + "label", + "state", + "content_type", + "size", + "download_count", + "created_at", + "updated_at" + ], + "title": "Release Asset", + "type": "object" + }, + "type": "array" + }, + "assets_url": { + "format": "uri", + "type": "string" + }, + "author": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "discussion_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Whether the release is a draft or published", + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "prerelease": { + "description": "Whether the release is identified as a prerelease or a full release.", + "type": "boolean" + }, + "published_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "tag_name": { + "description": "The name of the tag.", + "type": "string" + }, + "tarball_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "target_commitish": { + "description": "Specifies the commitish value that determines where the Git tag is created from.", + "type": "string" + }, + "upload_url": { + "format": "uri-template", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "zipball_url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "url", + "assets_url", + "upload_url", + "html_url", + "id", + "node_id", + "tag_name", + "target_commitish", + "name", + "draft", + "author", + "prerelease", + "created_at", + "published_at", + "assets", + "tarball_url", + "zipball_url", + "body" + ], + "title": "Release", + "type": "object" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "release", + "repository" + ], + "title": "release released event", + "type": "object" + }, + "webhook-release-unpublished": { + "properties": { + "action": { + "enum": [ + "unpublished" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "release": { + "allOf": [ + { + "description": "The [release](https://docs.github.com/rest/reference/repos/#get-a-release) object.", + "properties": { + "assets": { + "items": { + "description": "Data related to a release.", + "properties": { + "browser_download_url": { + "format": "uri", + "type": "string" + }, + "content_type": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "download_count": { + "type": "integer" + }, + "id": { + "type": "integer" + }, + "label": { + "nullable": true, + "type": "string" + }, + "name": { + "description": "The file name of the asset.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "state": { + "description": "State of the release asset.", + "enum": [ + "uploaded" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "uploader": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "browser_download_url", + "id", + "node_id", + "name", + "label", + "state", + "content_type", + "size", + "download_count", + "created_at", + "updated_at" + ], + "title": "Release Asset", + "type": "object" + }, + "type": "array" + }, + "assets_url": { + "format": "uri", + "type": "string" + }, + "author": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "discussion_url": { + "format": "uri", + "type": "string" + }, + "draft": { + "description": "Whether the release is a draft or published", + "type": "boolean" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "prerelease": { + "description": "Whether the release is identified as a prerelease or a full release.", + "type": "boolean" + }, + "published_at": { + "format": "date-time", + "nullable": true, + "type": "string" + }, + "reactions": { + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "title": "Reactions", + "type": "object" + }, + "tag_name": { + "description": "The name of the tag.", + "type": "string" + }, + "tarball_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "target_commitish": { + "description": "Specifies the commitish value that determines where the Git tag is created from.", + "type": "string" + }, + "upload_url": { + "format": "uri-template", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "zipball_url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "url", + "assets_url", + "upload_url", + "html_url", + "id", + "node_id", + "tag_name", + "target_commitish", + "name", + "draft", + "author", + "prerelease", + "created_at", + "published_at", + "assets", + "tarball_url", + "zipball_url", + "body" + ], + "title": "Release", + "type": "object" + }, + { + "properties": { + "assets": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "assets_url": { + "type": "string" + }, + "author": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "body": { + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "prerelease": { + "type": "boolean" + }, + "published_at": { + "nullable": true, + "type": "string" + }, + "tag_name": { + "type": "string" + }, + "tarball_url": { + "nullable": true, + "type": "string" + }, + "target_commitish": { + "type": "string" + }, + "upload_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "zipball_url": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "published_at" + ], + "type": "object" + } + ] + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "release", + "repository" + ], + "title": "release unpublished event", + "type": "object" + }, + "webhook-repository-archived": { + "properties": { + "action": { + "enum": [ + "archived" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "repository", + "sender" + ], + "title": "repository archived event", + "type": "object" + }, + "webhook-repository-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "repository", + "sender" + ], + "title": "repository created event", + "type": "object" + }, + "webhook-repository-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "repository", + "sender" + ], + "title": "repository deleted event", + "type": "object" + }, + "webhook-repository-dispatch-sample": { + "properties": { + "action": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "client_payload": { + "additionalProperties": true, + "nullable": true, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "branch", + "client_payload", + "repository", + "sender", + "installation" + ], + "title": "repository_dispatch event", + "type": "object" + }, + "webhook-repository-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "properties": { + "default_branch": { + "properties": { + "from": { + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "description": { + "properties": { + "from": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "homepage": { + "properties": { + "from": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "topics": { + "properties": { + "from": { + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "repository", + "sender" + ], + "title": "repository edited event", + "type": "object" + }, + "webhook-repository-import": { + "properties": { + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "status": { + "enum": [ + "success", + "cancelled", + "failure" + ], + "type": "string" + } + }, + "required": [ + "status", + "repository", + "sender" + ], + "title": "repository_import event", + "type": "object" + }, + "webhook-repository-privatized": { + "properties": { + "action": { + "enum": [ + "privatized" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "repository", + "sender" + ], + "title": "repository privatized event", + "type": "object" + }, + "webhook-repository-publicized": { + "properties": { + "action": { + "enum": [ + "publicized" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "repository", + "sender" + ], + "title": "repository publicized event", + "type": "object" + }, + "webhook-repository-renamed": { + "properties": { + "action": { + "enum": [ + "renamed" + ], + "type": "string" + }, + "changes": { + "properties": { + "repository": { + "properties": { + "name": { + "properties": { + "from": { + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "repository" + ], + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "repository", + "sender" + ], + "title": "repository renamed event", + "type": "object" + }, + "webhook-repository-transferred": { + "properties": { + "action": { + "enum": [ + "transferred" + ], + "type": "string" + }, + "changes": { + "properties": { + "owner": { + "properties": { + "from": { + "properties": { + "organization": { + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "issues_url": { + "format": "uri", + "type": "string" + }, + "login": { + "type": "string" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "public_members_url": { + "format": "uri-template", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id", + "node_id", + "url", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ], + "title": "Organization", + "type": "object" + }, + "user": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "required": [ + "owner" + ], + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "changes", + "repository", + "sender" + ], + "title": "repository transferred event", + "type": "object" + }, + "webhook-repository-unarchived": { + "properties": { + "action": { + "enum": [ + "unarchived" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "repository", + "sender" + ], + "title": "repository unarchived event", + "type": "object" + }, + "webhook-repository-vulnerability-alert-create": { + "properties": { + "action": { + "enum": [ + "create" + ], + "type": "string" + }, + "alert": { + "allOf": [ + { + "description": "The security alert of the vulnerable dependency.", + "properties": { + "affected_package_name": { + "type": "string" + }, + "affected_range": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "dismiss_reason": { + "type": "string" + }, + "dismissed_at": { + "type": "string" + }, + "dismisser": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "external_identifier": { + "type": "string" + }, + "external_reference": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "fix_reason": { + "type": "string" + }, + "fixed_at": { + "format": "date-time", + "type": "string" + }, + "fixed_in": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "severity": { + "type": "string" + }, + "state": { + "enum": [ + "open", + "dismissed", + "fixed" + ], + "type": "string" + } + }, + "required": [ + "id", + "number", + "node_id", + "state", + "affected_range", + "affected_package_name", + "ghsa_id", + "severity", + "external_reference", + "external_identifier", + "created_at" + ], + "title": "Repository Vulnerability Alert Alert", + "type": "object" + }, + { + "properties": { + "affected_package_name": { + "type": "string" + }, + "affected_range": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "external_identifier": { + "type": "string" + }, + "external_reference": { + "nullable": true, + "type": "string" + }, + "fixed_in": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "severity": { + "type": "string" + }, + "state": { + "enum": [ + "open" + ], + "type": "string" + } + }, + "required": [ + "state" + ], + "type": "object" + } + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository", + "sender" + ], + "title": "repository_vulnerability_alert create event", + "type": "object" + }, + "webhook-repository-vulnerability-alert-dismiss": { + "properties": { + "action": { + "enum": [ + "dismiss" + ], + "type": "string" + }, + "alert": { + "allOf": [ + { + "description": "The security alert of the vulnerable dependency.", + "properties": { + "affected_package_name": { + "type": "string" + }, + "affected_range": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "dismiss_comment": { + "nullable": true, + "type": "string" + }, + "dismiss_reason": { + "type": "string" + }, + "dismissed_at": { + "type": "string" + }, + "dismisser": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "external_identifier": { + "type": "string" + }, + "external_reference": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "fix_reason": { + "type": "string" + }, + "fixed_at": { + "format": "date-time", + "type": "string" + }, + "fixed_in": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "severity": { + "type": "string" + }, + "state": { + "enum": [ + "open", + "dismissed", + "fixed" + ], + "type": "string" + } + }, + "required": [ + "id", + "number", + "node_id", + "state", + "affected_range", + "affected_package_name", + "ghsa_id", + "severity", + "external_reference", + "external_identifier", + "created_at" + ], + "title": "Repository Vulnerability Alert Alert", + "type": "object" + }, + { + "properties": { + "affected_package_name": { + "type": "string" + }, + "affected_range": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "dismiss_comment": { + "nullable": true, + "type": "string" + }, + "dismiss_reason": { + "type": "string" + }, + "dismissed_at": { + "type": "string" + }, + "dismisser": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "external_identifier": { + "type": "string" + }, + "external_reference": { + "nullable": true, + "type": "string" + }, + "fixed_in": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "severity": { + "type": "string" + }, + "state": { + "enum": [ + "dismissed" + ], + "type": "string" + } + }, + "required": [ + "dismisser", + "dismiss_reason", + "dismissed_at", + "state" + ], + "type": "object" + } + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository", + "sender" + ], + "title": "repository_vulnerability_alert dismiss event", + "type": "object" + }, + "webhook-repository-vulnerability-alert-reopen": { + "properties": { + "action": { + "enum": [ + "reopen" + ], + "type": "string" + }, + "alert": { + "allOf": [ + { + "description": "The security alert of the vulnerable dependency.", + "properties": { + "affected_package_name": { + "type": "string" + }, + "affected_range": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "dismiss_reason": { + "type": "string" + }, + "dismissed_at": { + "type": "string" + }, + "dismisser": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "external_identifier": { + "type": "string" + }, + "external_reference": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "fix_reason": { + "type": "string" + }, + "fixed_at": { + "format": "date-time", + "type": "string" + }, + "fixed_in": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "severity": { + "type": "string" + }, + "state": { + "enum": [ + "open", + "dismissed", + "fixed" + ], + "type": "string" + } + }, + "required": [ + "id", + "number", + "node_id", + "state", + "affected_range", + "affected_package_name", + "ghsa_id", + "severity", + "external_reference", + "external_identifier", + "created_at" + ], + "title": "Repository Vulnerability Alert Alert", + "type": "object" + }, + { + "properties": { + "affected_package_name": { + "type": "string" + }, + "affected_range": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "external_identifier": { + "type": "string" + }, + "external_reference": { + "nullable": true, + "type": "string" + }, + "fixed_in": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "severity": { + "type": "string" + }, + "state": { + "enum": [ + "open" + ], + "type": "string" + } + }, + "required": [ + "state" + ], + "type": "object" + } + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository", + "sender" + ], + "title": "repository_vulnerability_alert reopen event", + "type": "object" + }, + "webhook-repository-vulnerability-alert-resolve": { + "properties": { + "action": { + "enum": [ + "resolve" + ], + "type": "string" + }, + "alert": { + "allOf": [ + { + "description": "The security alert of the vulnerable dependency.", + "properties": { + "affected_package_name": { + "type": "string" + }, + "affected_range": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "dismiss_reason": { + "type": "string" + }, + "dismissed_at": { + "type": "string" + }, + "dismisser": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "external_identifier": { + "type": "string" + }, + "external_reference": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "fix_reason": { + "type": "string" + }, + "fixed_at": { + "format": "date-time", + "type": "string" + }, + "fixed_in": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "severity": { + "type": "string" + }, + "state": { + "enum": [ + "open", + "dismissed", + "fixed" + ], + "type": "string" + } + }, + "required": [ + "id", + "number", + "node_id", + "state", + "affected_range", + "affected_package_name", + "ghsa_id", + "severity", + "external_reference", + "external_identifier", + "created_at" + ], + "title": "Repository Vulnerability Alert Alert", + "type": "object" + }, + { + "properties": { + "affected_package_name": { + "type": "string" + }, + "affected_range": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "external_identifier": { + "type": "string" + }, + "external_reference": { + "nullable": true, + "type": "string" + }, + "fix_reason": { + "type": "string" + }, + "fixed_at": { + "format": "date-time", + "type": "string" + }, + "fixed_in": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "severity": { + "type": "string" + }, + "state": { + "enum": [ + "fixed", + "open" + ], + "type": "string" + } + }, + "required": [ + "state" + ], + "type": "object" + } + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository", + "sender" + ], + "title": "repository_vulnerability_alert resolve event", + "type": "object" + }, + "webhook-secret-scanning-alert-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "alert": { + "$ref": "#/components/schemas/secret-scanning-alert" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository" + ], + "title": "secret_scanning_alert created event", + "type": "object" + }, + "webhook-secret-scanning-alert-location-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "alert": { + "$ref": "#/components/schemas/secret-scanning-alert" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "location": { + "$ref": "#/components/schemas/secret-scanning-location" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "location", + "alert", + "repository", + "sender" + ], + "title": "Secret Scanning Alert Location Created Event", + "type": "object" + }, + "webhook-secret-scanning-alert-location-created-form-encoded": { + "properties": { + "payload": { + "description": "A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object.", + "type": "string" + } + }, + "required": [ + "payload" + ], + "title": "Secret Scanning Alert Location Created Event", + "type": "object" + }, + "webhook-secret-scanning-alert-reopened": { + "properties": { + "action": { + "enum": [ + "reopened" + ], + "type": "string" + }, + "alert": { + "$ref": "#/components/schemas/secret-scanning-alert" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository" + ], + "title": "secret_scanning_alert reopened event", + "type": "object" + }, + "webhook-secret-scanning-alert-resolved": { + "properties": { + "action": { + "enum": [ + "resolved" + ], + "type": "string" + }, + "alert": { + "properties": { + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_url": { + "description": "The REST API URL of the code locations for this alert.", + "format": "uri", + "type": "string" + }, + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "push_protection_bypassed": { + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true, + "type": "boolean" + }, + "push_protection_bypassed_at": { + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "push_protection_bypassed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "resolution": { + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + null, + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited" + ], + "nullable": true, + "type": "string" + }, + "resolution_comment": { + "description": "An optional comment to resolve an alert.", + "nullable": true, + "type": "string" + }, + "resolved_at": { + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "resolved_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "secret": { + "description": "The secret that was detected.", + "type": "string" + }, + "secret_type": { + "description": "The type of secret that secret scanning detected.", + "type": "string" + }, + "secret_type_display_name": { + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security).\"", + "type": "string" + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "updated_at": { + "$ref": "#/components/schemas/alert-updated-at" + }, + "url": { + "$ref": "#/components/schemas/alert-url" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository" + ], + "title": "secret_scanning_alert resolved event", + "type": "object" + }, + "webhook-secret-scanning-alert-revoked": { + "properties": { + "action": { + "enum": [ + "revoked" + ], + "type": "string" + }, + "alert": { + "$ref": "#/components/schemas/secret-scanning-alert" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository" + ], + "title": "secret_scanning_alert revoked event", + "type": "object" + }, + "webhook-security-advisory-published": { + "properties": { + "action": { + "enum": [ + "published" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "security_advisory": { + "description": "The details of the security advisory, including summary, description, and severity.", + "properties": { + "cvss": { + "properties": { + "score": { + "type": "number" + }, + "vector_string": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "vector_string", + "score" + ], + "type": "object" + }, + "cwes": { + "items": { + "properties": { + "cwe_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "cwe_id", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "identifiers": { + "items": { + "properties": { + "type": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "published_at": { + "type": "string" + }, + "references": { + "items": { + "properties": { + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": "array" + }, + "severity": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "vulnerabilities": { + "items": { + "properties": { + "first_patched_version": { + "nullable": true, + "properties": { + "identifier": { + "type": "string" + } + }, + "required": [ + "identifier" + ], + "type": "object" + }, + "package": { + "properties": { + "ecosystem": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "ecosystem", + "name" + ], + "type": "object" + }, + "severity": { + "type": "string" + }, + "vulnerable_version_range": { + "type": "string" + } + }, + "required": [ + "package", + "severity", + "vulnerable_version_range", + "first_patched_version" + ], + "type": "object" + }, + "type": "array" + }, + "withdrawn_at": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "cvss", + "cwes", + "ghsa_id", + "summary", + "description", + "severity", + "identifiers", + "references", + "published_at", + "updated_at", + "withdrawn_at", + "vulnerabilities" + ], + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "security_advisory" + ], + "title": "security_advisory published event", + "type": "object" + }, + "webhook-security-advisory-updated": { + "properties": { + "action": { + "enum": [ + "updated" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "security_advisory": { + "description": "The details of the security advisory, including summary, description, and severity.", + "properties": { + "cvss": { + "properties": { + "score": { + "type": "number" + }, + "vector_string": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "vector_string", + "score" + ], + "type": "object" + }, + "cwes": { + "items": { + "properties": { + "cwe_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "cwe_id", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "identifiers": { + "items": { + "properties": { + "type": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "published_at": { + "type": "string" + }, + "references": { + "items": { + "properties": { + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": "array" + }, + "severity": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "vulnerabilities": { + "items": { + "properties": { + "first_patched_version": { + "nullable": true, + "properties": { + "identifier": { + "type": "string" + } + }, + "required": [ + "identifier" + ], + "type": "object" + }, + "package": { + "properties": { + "ecosystem": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "ecosystem", + "name" + ], + "type": "object" + }, + "severity": { + "type": "string" + }, + "vulnerable_version_range": { + "type": "string" + } + }, + "required": [ + "package", + "severity", + "vulnerable_version_range", + "first_patched_version" + ], + "type": "object" + }, + "type": "array" + }, + "withdrawn_at": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "cvss", + "cwes", + "ghsa_id", + "summary", + "description", + "severity", + "identifiers", + "references", + "published_at", + "updated_at", + "withdrawn_at", + "vulnerabilities" + ], + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "security_advisory" + ], + "title": "security_advisory updated event", + "type": "object" + }, + "webhook-security-advisory-withdrawn": { + "properties": { + "action": { + "enum": [ + "withdrawn" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "security_advisory": { + "description": "The details of the security advisory, including summary, description, and severity.", + "properties": { + "cvss": { + "properties": { + "score": { + "type": "number" + }, + "vector_string": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "vector_string", + "score" + ], + "type": "object" + }, + "cwes": { + "items": { + "properties": { + "cwe_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "cwe_id", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "identifiers": { + "items": { + "properties": { + "type": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "published_at": { + "type": "string" + }, + "references": { + "items": { + "properties": { + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": "array" + }, + "severity": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "vulnerabilities": { + "items": { + "properties": { + "first_patched_version": { + "nullable": true, + "properties": { + "identifier": { + "type": "string" + } + }, + "required": [ + "identifier" + ], + "type": "object" + }, + "package": { + "properties": { + "ecosystem": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "ecosystem", + "name" + ], + "type": "object" + }, + "severity": { + "type": "string" + }, + "vulnerable_version_range": { + "type": "string" + } + }, + "required": [ + "package", + "severity", + "vulnerable_version_range", + "first_patched_version" + ], + "type": "object" + }, + "type": "array" + }, + "withdrawn_at": { + "type": "string" + } + }, + "required": [ + "cvss", + "cwes", + "ghsa_id", + "summary", + "description", + "severity", + "identifiers", + "references", + "published_at", + "updated_at", + "withdrawn_at", + "vulnerabilities" + ], + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "security_advisory" + ], + "title": "security_advisory withdrawn event", + "type": "object" + }, + "webhook-security-and-analysis": { + "properties": { + "changes": { + "properties": { + "from": { + "properties": { + "security_and_analysis": { + "$ref": "#/components/schemas/security-and-analysis" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/full-repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "changes", + "repository" + ], + "title": "security_and_analysis event", + "type": "object" + }, + "webhook-sponsorship-cancelled": { + "properties": { + "action": { + "enum": [ + "cancelled" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "sponsorship": { + "properties": { + "created_at": { + "type": "string" + }, + "maintainer": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "privacy_level": { + "type": "string" + }, + "sponsor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "sponsorable": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "tier": { + "description": "The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload.", + "properties": { + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "is_custom_ammount": { + "type": "boolean" + }, + "is_custom_amount": { + "type": "boolean" + }, + "is_one_time": { + "type": "boolean" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "monthly_price_in_dollars": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + } + }, + "required": [ + "node_id", + "created_at", + "description", + "monthly_price_in_cents", + "monthly_price_in_dollars", + "name", + "is_one_time" + ], + "title": "Sponsorship Tier", + "type": "object" + } + }, + "required": [ + "node_id", + "created_at", + "sponsorable", + "sponsor", + "privacy_level", + "tier" + ], + "type": "object" + } + }, + "required": [ + "action", + "sponsorship", + "sender" + ], + "title": "sponsorship cancelled event", + "type": "object" + }, + "webhook-sponsorship-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "sponsorship": { + "properties": { + "created_at": { + "type": "string" + }, + "maintainer": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "privacy_level": { + "type": "string" + }, + "sponsor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "sponsorable": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "tier": { + "description": "The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload.", + "properties": { + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "is_custom_ammount": { + "type": "boolean" + }, + "is_custom_amount": { + "type": "boolean" + }, + "is_one_time": { + "type": "boolean" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "monthly_price_in_dollars": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + } + }, + "required": [ + "node_id", + "created_at", + "description", + "monthly_price_in_cents", + "monthly_price_in_dollars", + "name", + "is_one_time" + ], + "title": "Sponsorship Tier", + "type": "object" + } + }, + "required": [ + "node_id", + "created_at", + "sponsorable", + "sponsor", + "privacy_level", + "tier" + ], + "type": "object" + } + }, + "required": [ + "action", + "sponsorship", + "sender" + ], + "title": "sponsorship created event", + "type": "object" + }, + "webhook-sponsorship-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "properties": { + "privacy_level": { + "properties": { + "from": { + "description": "The `edited` event types include the details about the change when someone edits a sponsorship to change the privacy.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "sponsorship": { + "properties": { + "created_at": { + "type": "string" + }, + "maintainer": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "privacy_level": { + "type": "string" + }, + "sponsor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "sponsorable": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "tier": { + "description": "The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload.", + "properties": { + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "is_custom_ammount": { + "type": "boolean" + }, + "is_custom_amount": { + "type": "boolean" + }, + "is_one_time": { + "type": "boolean" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "monthly_price_in_dollars": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + } + }, + "required": [ + "node_id", + "created_at", + "description", + "monthly_price_in_cents", + "monthly_price_in_dollars", + "name", + "is_one_time" + ], + "title": "Sponsorship Tier", + "type": "object" + } + }, + "required": [ + "node_id", + "created_at", + "sponsorable", + "sponsor", + "privacy_level", + "tier" + ], + "type": "object" + } + }, + "required": [ + "action", + "changes", + "sponsorship", + "sender" + ], + "title": "sponsorship edited event", + "type": "object" + }, + "webhook-sponsorship-pending-cancellation": { + "properties": { + "action": { + "enum": [ + "pending_cancellation" + ], + "type": "string" + }, + "effective_date": { + "description": "The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect.", + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "sponsorship": { + "properties": { + "created_at": { + "type": "string" + }, + "maintainer": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "privacy_level": { + "type": "string" + }, + "sponsor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "sponsorable": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "tier": { + "description": "The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload.", + "properties": { + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "is_custom_ammount": { + "type": "boolean" + }, + "is_custom_amount": { + "type": "boolean" + }, + "is_one_time": { + "type": "boolean" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "monthly_price_in_dollars": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + } + }, + "required": [ + "node_id", + "created_at", + "description", + "monthly_price_in_cents", + "monthly_price_in_dollars", + "name", + "is_one_time" + ], + "title": "Sponsorship Tier", + "type": "object" + } + }, + "required": [ + "node_id", + "created_at", + "sponsorable", + "sponsor", + "privacy_level", + "tier" + ], + "type": "object" + } + }, + "required": [ + "action", + "sponsorship", + "sender" + ], + "title": "sponsorship pending_cancellation event", + "type": "object" + }, + "webhook-sponsorship-pending-tier-change": { + "properties": { + "action": { + "enum": [ + "pending_tier_change" + ], + "type": "string" + }, + "changes": { + "properties": { + "tier": { + "properties": { + "from": { + "description": "The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload.", + "properties": { + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "is_custom_ammount": { + "type": "boolean" + }, + "is_custom_amount": { + "type": "boolean" + }, + "is_one_time": { + "type": "boolean" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "monthly_price_in_dollars": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + } + }, + "required": [ + "node_id", + "created_at", + "description", + "monthly_price_in_cents", + "monthly_price_in_dollars", + "name", + "is_one_time" + ], + "title": "Sponsorship Tier", + "type": "object" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "required": [ + "tier" + ], + "type": "object" + }, + "effective_date": { + "description": "The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect.", + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "sponsorship": { + "properties": { + "created_at": { + "type": "string" + }, + "maintainer": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "privacy_level": { + "type": "string" + }, + "sponsor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "sponsorable": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "tier": { + "description": "The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload.", + "properties": { + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "is_custom_ammount": { + "type": "boolean" + }, + "is_custom_amount": { + "type": "boolean" + }, + "is_one_time": { + "type": "boolean" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "monthly_price_in_dollars": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + } + }, + "required": [ + "node_id", + "created_at", + "description", + "monthly_price_in_cents", + "monthly_price_in_dollars", + "name", + "is_one_time" + ], + "title": "Sponsorship Tier", + "type": "object" + } + }, + "required": [ + "node_id", + "created_at", + "sponsorable", + "sponsor", + "privacy_level", + "tier" + ], + "type": "object" + } + }, + "required": [ + "action", + "changes", + "sponsorship", + "sender" + ], + "title": "sponsorship pending_tier_change event", + "type": "object" + }, + "webhook-sponsorship-tier-changed": { + "properties": { + "action": { + "enum": [ + "tier_changed" + ], + "type": "string" + }, + "changes": { + "properties": { + "tier": { + "properties": { + "from": { + "description": "The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload.", + "properties": { + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "is_custom_ammount": { + "type": "boolean" + }, + "is_custom_amount": { + "type": "boolean" + }, + "is_one_time": { + "type": "boolean" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "monthly_price_in_dollars": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + } + }, + "required": [ + "node_id", + "created_at", + "description", + "monthly_price_in_cents", + "monthly_price_in_dollars", + "name", + "is_one_time" + ], + "title": "Sponsorship Tier", + "type": "object" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "required": [ + "tier" + ], + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "sponsorship": { + "properties": { + "created_at": { + "type": "string" + }, + "maintainer": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "node_id": { + "type": "string" + }, + "privacy_level": { + "type": "string" + }, + "sponsor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "sponsorable": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "tier": { + "description": "The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload.", + "properties": { + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "is_custom_ammount": { + "type": "boolean" + }, + "is_custom_amount": { + "type": "boolean" + }, + "is_one_time": { + "type": "boolean" + }, + "monthly_price_in_cents": { + "type": "integer" + }, + "monthly_price_in_dollars": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + } + }, + "required": [ + "node_id", + "created_at", + "description", + "monthly_price_in_cents", + "monthly_price_in_dollars", + "name", + "is_one_time" + ], + "title": "Sponsorship Tier", + "type": "object" + } + }, + "required": [ + "node_id", + "created_at", + "sponsorable", + "sponsor", + "privacy_level", + "tier" + ], + "type": "object" + } + }, + "required": [ + "action", + "changes", + "sponsorship", + "sender" + ], + "title": "sponsorship tier_changed event", + "type": "object" + }, + "webhook-star-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "starred_at": { + "description": "The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action.", + "nullable": true, + "type": "string" + } + }, + "required": [ + "action", + "starred_at", + "repository", + "sender" + ], + "title": "star created event", + "type": "object" + }, + "webhook-star-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "starred_at": { + "description": "The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action.", + "nullable": true + } + }, + "required": [ + "action", + "starred_at", + "repository", + "sender" + ], + "title": "star deleted event", + "type": "object" + }, + "webhook-status": { + "properties": { + "avatar_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "branches": { + "description": "An array of branch objects containing the status' SHA. Each branch contains the given SHA, but the SHA may or may not be the head of the branch. The array includes a maximum of 10 branches.", + "items": { + "properties": { + "commit": { + "properties": { + "sha": { + "nullable": true, + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "sha", + "url" + ], + "type": "object" + }, + "name": { + "type": "string" + }, + "protected": { + "type": "boolean" + } + }, + "required": [ + "name", + "commit", + "protected" + ], + "type": "object" + }, + "type": "array" + }, + "commit": { + "properties": { + "author": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "title": "User", + "type": "object" + }, + "comments_url": { + "format": "uri", + "type": "string" + }, + "commit": { + "properties": { + "author": { + "allOf": [ + { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + { + "properties": { + "date": { + "type": "string" + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "date" + ], + "type": "object" + } + ] + }, + "comment_count": { + "type": "integer" + }, + "committer": { + "allOf": [ + { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + { + "properties": { + "date": { + "type": "string" + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "date" + ], + "type": "object" + } + ] + }, + "message": { + "type": "string" + }, + "tree": { + "properties": { + "sha": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "url" + ], + "type": "object" + }, + "url": { + "format": "uri", + "type": "string" + }, + "verification": { + "properties": { + "payload": { + "nullable": true, + "type": "string" + }, + "reason": { + "enum": [ + "expired_key", + "not_signing_key", + "gpgverify_error", + "gpgverify_unavailable", + "unsigned", + "unknown_signature_type", + "no_user", + "unverified_email", + "bad_email", + "unknown_key", + "malformed_signature", + "invalid", + "valid", + "bad_cert", + "ocsp_pending" + ], + "type": "string" + }, + "signature": { + "nullable": true, + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "required": [ + "verified", + "reason", + "signature", + "payload" + ], + "type": "object" + } + }, + "required": [ + "author", + "committer", + "message", + "tree", + "url", + "comment_count", + "verification" + ], + "type": "object" + }, + "committer": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "title": "User", + "type": "object" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parents": { + "items": { + "properties": { + "html_url": { + "format": "uri", + "type": "string" + }, + "sha": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "url", + "html_url" + ], + "type": "object" + }, + "type": "array" + }, + "sha": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "sha", + "node_id", + "commit", + "url", + "html_url", + "comments_url", + "author", + "committer", + "parents" + ], + "type": "object" + }, + "context": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "description": "The optional human-readable description added to the status.", + "nullable": true, + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "id": { + "description": "The unique identifier of the status.", + "type": "integer" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "name": { + "type": "string" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "sha": { + "description": "The Commit SHA.", + "type": "string" + }, + "state": { + "description": "The new state. Can be `pending`, `success`, `failure`, or `error`.", + "enum": [ + "pending", + "success", + "failure", + "error" + ], + "type": "string" + }, + "target_url": { + "description": "The optional link added to the status.", + "nullable": true, + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "id", + "sha", + "name", + "target_url", + "context", + "description", + "state", + "commit", + "branches", + "created_at", + "updated_at", + "repository", + "sender" + ], + "title": "status event", + "type": "object" + }, + "webhook-team-add": { + "properties": { + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "team": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + }, + "required": [ + "team", + "repository", + "sender" + ], + "title": "team_add event", + "type": "object" + }, + "webhook-team-added-to-repository": { + "properties": { + "action": { + "enum": [ + "added_to_repository" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "team": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + }, + "required": [ + "action", + "team", + "organization" + ], + "title": "team added_to_repository event", + "type": "object" + }, + "webhook-team-created": { + "properties": { + "action": { + "enum": [ + "created" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "team": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + }, + "required": [ + "action", + "team", + "organization", + "sender" + ], + "title": "team created event", + "type": "object" + }, + "webhook-team-deleted": { + "properties": { + "action": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "team": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + }, + "required": [ + "action", + "team", + "organization" + ], + "title": "team deleted event", + "type": "object" + }, + "webhook-team-edited": { + "properties": { + "action": { + "enum": [ + "edited" + ], + "type": "string" + }, + "changes": { + "description": "The changes to the team if the action was `edited`.", + "properties": { + "description": { + "properties": { + "from": { + "description": "The previous version of the description if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "name": { + "properties": { + "from": { + "description": "The previous version of the name if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "privacy": { + "properties": { + "from": { + "description": "The previous version of the team's privacy if the action was `edited`.", + "type": "string" + } + }, + "required": [ + "from" + ], + "type": "object" + }, + "repository": { + "properties": { + "permissions": { + "properties": { + "from": { + "properties": { + "admin": { + "description": "The previous version of the team member's `admin` permission on a repository, if the action was `edited`.", + "type": "boolean" + }, + "pull": { + "description": "The previous version of the team member's `pull` permission on a repository, if the action was `edited`.", + "type": "boolean" + }, + "push": { + "description": "The previous version of the team member's `push` permission on a repository, if the action was `edited`.", + "type": "boolean" + } + }, + "type": "object" + } + }, + "required": [ + "from" + ], + "type": "object" + } + }, + "required": [ + "permissions" + ], + "type": "object" + } + }, + "type": "object" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "team": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + }, + "required": [ + "action", + "changes", + "team", + "organization", + "sender" + ], + "title": "team edited event", + "type": "object" + }, + "webhook-team-removed-from-repository": { + "properties": { + "action": { + "enum": [ + "removed_from_repository" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "description": "A git repository", + "properties": { + "allow_auto_merge": { + "default": false, + "description": "Whether to allow auto-merge for pull requests.", + "type": "boolean" + }, + "allow_forking": { + "description": "Whether to allow private forks", + "type": "boolean" + }, + "allow_merge_commit": { + "default": true, + "description": "Whether to allow merge commits for pull requests.", + "type": "boolean" + }, + "allow_rebase_merge": { + "default": true, + "description": "Whether to allow rebase merges for pull requests.", + "type": "boolean" + }, + "allow_squash_merge": { + "default": true, + "description": "Whether to allow squash merges for pull requests.", + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "archived": { + "default": false, + "description": "Whether the repository is archived.", + "type": "boolean" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "clone_url": { + "format": "uri", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string" + }, + "delete_branch_on_merge": { + "default": false, + "description": "Whether to delete head branches when pull requests are merged", + "type": "boolean" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "disabled": { + "description": "Returns whether or not this repository is disabled.", + "type": "boolean" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks": { + "type": "integer" + }, + "forks_count": { + "type": "integer" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "git_url": { + "format": "uri", + "type": "string" + }, + "has_downloads": { + "default": true, + "description": "Whether downloads are enabled.", + "type": "boolean" + }, + "has_issues": { + "default": true, + "description": "Whether issues are enabled.", + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_projects": { + "default": true, + "description": "Whether projects are enabled.", + "type": "boolean" + }, + "has_wiki": { + "default": true, + "description": "Whether the wiki is enabled.", + "type": "boolean" + }, + "homepage": { + "nullable": true, + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "language": { + "nullable": true, + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "license": { + "nullable": true, + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "required": [ + "key", + "name", + "spdx_id", + "url", + "node_id" + ], + "title": "License", + "type": "object" + }, + "master_branch": { + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "mirror_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "open_issues": { + "type": "integer" + }, + "open_issues_count": { + "type": "integer" + }, + "organization": { + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "permissions": { + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + } + }, + "required": [ + "pull", + "push", + "admin" + ], + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "public": { + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "pushed_at": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "role_name": { + "nullable": true, + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssh_url": { + "type": "string" + }, + "stargazers": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "svn_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private", + "internal" + ], + "type": "string" + }, + "watchers": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + } + }, + "required": [ + "id", + "node_id", + "name", + "full_name", + "private", + "owner", + "html_url", + "description", + "fork", + "url", + "forks_url", + "keys_url", + "collaborators_url", + "teams_url", + "hooks_url", + "issue_events_url", + "events_url", + "assignees_url", + "branches_url", + "tags_url", + "blobs_url", + "git_tags_url", + "git_refs_url", + "trees_url", + "statuses_url", + "languages_url", + "stargazers_url", + "contributors_url", + "subscribers_url", + "subscription_url", + "commits_url", + "git_commits_url", + "comments_url", + "issue_comment_url", + "contents_url", + "compare_url", + "merges_url", + "archive_url", + "downloads_url", + "issues_url", + "pulls_url", + "milestones_url", + "notifications_url", + "labels_url", + "releases_url", + "deployments_url", + "created_at", + "updated_at", + "pushed_at", + "git_url", + "ssh_url", + "clone_url", + "svn_url", + "homepage", + "size", + "stargazers_count", + "watchers_count", + "language", + "has_issues", + "has_projects", + "has_downloads", + "has_wiki", + "has_pages", + "forks_count", + "mirror_url", + "archived", + "open_issues_count", + "license", + "forks", + "open_issues", + "watchers", + "default_branch", + "topics", + "visibility" + ], + "title": "Repository", + "type": "object" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "team": { + "description": "Groups of organization members that gives permissions on specified repositories.", + "properties": { + "deleted": { + "type": "boolean" + }, + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "parent": { + "nullable": true, + "properties": { + "description": { + "description": "Description of the team", + "nullable": true, + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the team", + "type": "integer" + }, + "members_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "Name of the team", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id", + "node_id", + "slug", + "description", + "privacy", + "url", + "html_url", + "members_url", + "repositories_url", + "permission" + ], + "type": "object" + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string" + }, + "privacy": { + "enum": [ + "open", + "closed", + "secret" + ], + "type": "string" + }, + "repositories_url": { + "format": "uri", + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "description": "URL for the team", + "format": "uri", + "type": "string" + } + }, + "required": [ + "name", + "id" + ], + "title": "Team", + "type": "object" + } + }, + "required": [ + "action", + "team", + "organization", + "sender" + ], + "title": "team removed_from_repository event", + "type": "object" + }, + "webhook-watch-started": { + "properties": { + "action": { + "enum": [ + "started" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "repository", + "sender" + ], + "title": "watch started event", + "type": "object" + }, + "webhook-workflow-dispatch": { + "properties": { + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "inputs": { + "nullable": true, + "properties": { + "name": { + "type": "string" + }, + "number": { + "type": "string" + } + }, + "type": "object" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "ref": { + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "workflow": { + "type": "string" + } + }, + "required": [ + "inputs", + "ref", + "repository", + "sender", + "workflow" + ], + "title": "workflow_dispatch event", + "type": "object" + }, + "webhook-workflow-job-completed": { + "properties": { + "action": { + "enum": [ + "completed" + ], + "type": "string" + }, + "deployment": { + "$ref": "#/components/schemas/deployment" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "workflow_job": { + "allOf": [ + { + "description": "The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, and `started_at` are the same as those in a [`check_run`](#check_run) object.", + "properties": { + "check_run_url": { + "format": "uri", + "type": "string" + }, + "completed_at": { + "nullable": true, + "type": "string" + }, + "conclusion": { + "enum": [ + "success", + "failure", + null, + "skipped", + "cancelled", + "action_required", + "neutral", + "timed_out" + ], + "nullable": true, + "type": "string" + }, + "head_branch": { + "description": "The name of the current branch.", + "nullable": true, + "type": "string" + }, + "head_sha": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "description": "Custom labels for the job. Specified by the [`\"runs-on\"` attribute](https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "run_attempt": { + "type": "integer" + }, + "run_id": { + "type": "number" + }, + "run_url": { + "format": "uri", + "type": "string" + }, + "runner_group_id": { + "description": "The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", + "nullable": true, + "type": "integer" + }, + "runner_group_name": { + "description": "The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", + "nullable": true, + "type": "string" + }, + "runner_id": { + "description": "The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", + "nullable": true, + "type": "integer" + }, + "runner_name": { + "description": "The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", + "nullable": true, + "type": "string" + }, + "started_at": { + "type": "string" + }, + "status": { + "description": "The current status of the job. Can be `queued`, `in_progress`, `waiting`, or `completed`.", + "enum": [ + "queued", + "in_progress", + "completed", + "waiting" + ], + "type": "string" + }, + "steps": { + "items": { + "properties": { + "completed_at": { + "nullable": true, + "type": "string" + }, + "conclusion": { + "enum": [ + "failure", + "skipped", + "success", + "cancelled", + null + ], + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "started_at": { + "nullable": true, + "type": "string" + }, + "status": { + "enum": [ + "in_progress", + "completed", + "queued" + ], + "type": "string" + } + }, + "required": [ + "name", + "status", + "conclusion", + "number", + "started_at", + "completed_at" + ], + "title": "Workflow Step", + "type": "object" + }, + "type": "array" + }, + "url": { + "format": "uri", + "type": "string" + }, + "workflow_name": { + "description": "The name of the workflow.", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "run_id", + "run_url", + "run_attempt", + "node_id", + "head_sha", + "url", + "html_url", + "status", + "conclusion", + "started_at", + "completed_at", + "name", + "steps", + "check_run_url", + "labels", + "runner_id", + "runner_name", + "runner_group_id", + "runner_group_name", + "workflow_name", + "head_branch" + ], + "title": "Workflow Job", + "type": "object" + }, + { + "properties": { + "check_run_url": { + "type": "string" + }, + "completed_at": { + "type": "string" + }, + "conclusion": { + "enum": [ + "success", + "failure", + "skipped", + "cancelled", + "action_required", + "neutral", + "timed_out" + ], + "type": "string" + }, + "head_branch": { + "description": "The name of the current branch.", + "nullable": true, + "type": "string" + }, + "head_sha": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "run_attempt": { + "type": "integer" + }, + "run_id": { + "type": "integer" + }, + "run_url": { + "type": "string" + }, + "runner_group_id": { + "nullable": true, + "type": "number" + }, + "runner_group_name": { + "nullable": true, + "type": "string" + }, + "runner_id": { + "nullable": true, + "type": "number" + }, + "runner_name": { + "nullable": true, + "type": "string" + }, + "started_at": { + "type": "string" + }, + "status": { + "type": "string" + }, + "steps": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "url": { + "type": "string" + }, + "workflow_name": { + "description": "The name of the workflow.", + "nullable": true, + "type": "string" + } + }, + "required": [ + "conclusion" + ], + "type": "object" + } + ] + } + }, + "required": [ + "action", + "repository", + "sender", + "workflow_job" + ], + "title": "workflow_job completed event", + "type": "object" + }, + "webhook-workflow-job-in-progress": { + "properties": { + "action": { + "enum": [ + "in_progress" + ], + "type": "string" + }, + "deployment": { + "$ref": "#/components/schemas/deployment" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "workflow_job": { + "allOf": [ + { + "description": "The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, and `started_at` are the same as those in a [`check_run`](#check_run) object.", + "properties": { + "check_run_url": { + "format": "uri", + "type": "string" + }, + "completed_at": { + "nullable": true, + "type": "string" + }, + "conclusion": { + "enum": [ + "success", + "failure", + null, + "cancelled", + "neutral" + ], + "nullable": true, + "type": "string" + }, + "head_branch": { + "description": "The name of the current branch.", + "nullable": true, + "type": "string" + }, + "head_sha": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "description": "Custom labels for the job. Specified by the [`\"runs-on\"` attribute](https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "run_attempt": { + "type": "integer" + }, + "run_id": { + "type": "number" + }, + "run_url": { + "format": "uri", + "type": "string" + }, + "runner_group_id": { + "description": "The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", + "nullable": true, + "type": "integer" + }, + "runner_group_name": { + "description": "The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", + "nullable": true, + "type": "string" + }, + "runner_id": { + "description": "The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", + "nullable": true, + "type": "integer" + }, + "runner_name": { + "description": "The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", + "nullable": true, + "type": "string" + }, + "started_at": { + "type": "string" + }, + "status": { + "description": "The current status of the job. Can be `queued`, `in_progress`, or `completed`.", + "enum": [ + "queued", + "in_progress", + "completed" + ], + "type": "string" + }, + "steps": { + "items": { + "properties": { + "completed_at": { + "nullable": true, + "type": "string" + }, + "conclusion": { + "enum": [ + "failure", + "skipped", + "success", + null, + "cancelled" + ], + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "started_at": { + "nullable": true, + "type": "string" + }, + "status": { + "enum": [ + "in_progress", + "completed", + "queued", + "pending" + ], + "type": "string" + } + }, + "required": [ + "name", + "status", + "conclusion", + "number", + "started_at", + "completed_at" + ], + "title": "Workflow Step", + "type": "object" + }, + "type": "array" + }, + "url": { + "format": "uri", + "type": "string" + }, + "workflow_name": { + "description": "The name of the workflow.", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "run_id", + "run_url", + "run_attempt", + "node_id", + "head_sha", + "url", + "html_url", + "status", + "conclusion", + "started_at", + "completed_at", + "name", + "steps", + "check_run_url", + "labels", + "runner_id", + "runner_name", + "runner_group_id", + "runner_group_name", + "workflow_name", + "head_branch" + ], + "title": "Workflow Job", + "type": "object" + }, + { + "properties": { + "check_run_url": { + "type": "string" + }, + "completed_at": { + "nullable": true, + "type": "string" + }, + "conclusion": { + "nullable": true, + "type": "string" + }, + "head_branch": { + "description": "The name of the current branch.", + "nullable": true, + "type": "string" + }, + "head_sha": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "run_attempt": { + "type": "integer" + }, + "run_id": { + "type": "integer" + }, + "run_url": { + "type": "string" + }, + "runner_group_id": { + "nullable": true, + "type": "number" + }, + "runner_group_name": { + "nullable": true, + "type": "string" + }, + "runner_id": { + "nullable": true, + "type": "number" + }, + "runner_name": { + "nullable": true, + "type": "string" + }, + "started_at": { + "type": "string" + }, + "status": { + "enum": [ + "in_progress", + "completed", + "queued" + ], + "type": "string" + }, + "steps": { + "items": { + "properties": { + "completed_at": { + "nullable": true, + "type": "string" + }, + "conclusion": { + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "started_at": { + "nullable": true, + "type": "string" + }, + "status": { + "enum": [ + "in_progress", + "completed", + "pending", + "queued" + ], + "type": "string" + } + }, + "required": [ + "name", + "status", + "conclusion", + "number", + "started_at", + "completed_at" + ], + "title": "Workflow Step", + "type": "object" + }, + "type": "array" + }, + "url": { + "type": "string" + }, + "workflow_name": { + "description": "The name of the workflow.", + "nullable": true, + "type": "string" + } + }, + "required": [ + "status", + "steps" + ], + "type": "object" + } + ] + } + }, + "required": [ + "action", + "repository", + "sender", + "workflow_job" + ], + "title": "workflow_job in_progress event", + "type": "object" + }, + "webhook-workflow-job-queued": { + "properties": { + "action": { + "enum": [ + "queued" + ], + "type": "string" + }, + "deployment": { + "$ref": "#/components/schemas/deployment" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "workflow_job": { + "properties": { + "check_run_url": { + "format": "uri", + "type": "string" + }, + "completed_at": { + "nullable": true, + "type": "string" + }, + "conclusion": { + "nullable": true, + "type": "string" + }, + "head_branch": { + "description": "The name of the current branch.", + "nullable": true, + "type": "string" + }, + "head_sha": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "run_attempt": { + "type": "integer" + }, + "run_id": { + "type": "number" + }, + "run_url": { + "format": "uri", + "type": "string" + }, + "runner_group_id": { + "nullable": true, + "type": "integer" + }, + "runner_group_name": { + "nullable": true, + "type": "string" + }, + "runner_id": { + "nullable": true, + "type": "integer" + }, + "runner_name": { + "nullable": true, + "type": "string" + }, + "started_at": { + "format": "date-time", + "type": "string" + }, + "status": { + "enum": [ + "queued", + "in_progress", + "completed", + "waiting" + ], + "type": "string" + }, + "steps": { + "items": { + "properties": { + "completed_at": { + "nullable": true, + "type": "string" + }, + "conclusion": { + "enum": [ + "failure", + "skipped", + "success", + "cancelled", + null + ], + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "started_at": { + "nullable": true, + "type": "string" + }, + "status": { + "enum": [ + "completed", + "in_progress", + "queued", + "pending" + ], + "type": "string" + } + }, + "required": [ + "name", + "status", + "conclusion", + "number", + "started_at", + "completed_at" + ], + "title": "Workflow Step", + "type": "object" + }, + "type": "array" + }, + "url": { + "format": "uri", + "type": "string" + }, + "workflow_name": { + "description": "The name of the workflow.", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "run_id", + "run_url", + "run_attempt", + "node_id", + "head_sha", + "url", + "html_url", + "status", + "conclusion", + "started_at", + "completed_at", + "name", + "steps", + "check_run_url", + "labels", + "runner_id", + "runner_name", + "runner_group_id", + "runner_group_name", + "workflow_name", + "head_branch" + ], + "type": "object" + } + }, + "required": [ + "action", + "repository", + "sender", + "workflow_job" + ], + "title": "workflow_job queued event", + "type": "object" + }, + "webhook-workflow-job-waiting": { + "properties": { + "action": { + "enum": [ + "waiting" + ], + "type": "string" + }, + "deployment": { + "$ref": "#/components/schemas/deployment" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "workflow_job": { + "properties": { + "check_run_url": { + "format": "uri", + "type": "string" + }, + "completed_at": { + "nullable": true, + "type": "string" + }, + "conclusion": { + "nullable": true, + "type": "string" + }, + "head_branch": { + "description": "The name of the current branch.", + "nullable": true, + "type": "string" + }, + "head_sha": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "run_attempt": { + "type": "integer" + }, + "run_id": { + "type": "number" + }, + "run_url": { + "format": "uri", + "type": "string" + }, + "runner_group_id": { + "nullable": true, + "type": "integer" + }, + "runner_group_name": { + "nullable": true, + "type": "string" + }, + "runner_id": { + "nullable": true, + "type": "integer" + }, + "runner_name": { + "nullable": true, + "type": "string" + }, + "started_at": { + "format": "date-time", + "type": "string" + }, + "status": { + "enum": [ + "queued", + "in_progress", + "completed", + "waiting" + ], + "type": "string" + }, + "steps": { + "items": { + "properties": { + "completed_at": { + "nullable": true, + "type": "string" + }, + "conclusion": { + "enum": [ + "failure", + "skipped", + "success", + "cancelled", + null + ], + "nullable": true, + "type": "string" + }, + "name": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "started_at": { + "nullable": true, + "type": "string" + }, + "status": { + "enum": [ + "completed", + "in_progress", + "queued", + "pending", + "waiting" + ], + "type": "string" + } + }, + "required": [ + "name", + "status", + "conclusion", + "number", + "started_at", + "completed_at" + ], + "title": "Workflow Step", + "type": "object" + }, + "type": "array" + }, + "url": { + "format": "uri", + "type": "string" + }, + "workflow_name": { + "description": "The name of the workflow.", + "nullable": true, + "type": "string" + } + }, + "required": [ + "id", + "run_id", + "run_url", + "run_attempt", + "node_id", + "head_sha", + "url", + "html_url", + "status", + "conclusion", + "started_at", + "completed_at", + "name", + "steps", + "check_run_url", + "labels", + "runner_id", + "runner_name", + "runner_group_id", + "runner_group_name", + "workflow_name", + "head_branch" + ], + "type": "object" + } + }, + "required": [ + "action", + "repository", + "sender", + "workflow_job" + ], + "title": "workflow_job waiting event", + "type": "object" + }, + "webhook-workflow-run-completed": { + "properties": { + "action": { + "enum": [ + "completed" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "workflow": { + "nullable": true, + "properties": { + "badge_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "path": { + "type": "string" + }, + "state": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "badge_url", + "created_at", + "html_url", + "id", + "name", + "node_id", + "path", + "state", + "updated_at", + "url" + ], + "title": "Workflow", + "type": "object" + }, + "workflow_run": { + "allOf": [ + { + "properties": { + "actor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "artifacts_url": { + "format": "uri", + "type": "string" + }, + "cancel_url": { + "format": "uri", + "type": "string" + }, + "check_suite_id": { + "type": "integer" + }, + "check_suite_node_id": { + "type": "string" + }, + "check_suite_url": { + "format": "uri", + "type": "string" + }, + "conclusion": { + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + null, + "skipped" + ], + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "event": { + "type": "string" + }, + "head_branch": { + "nullable": true, + "type": "string" + }, + "head_commit": { + "properties": { + "author": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "committer": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tree_id": { + "type": "string" + } + }, + "required": [ + "id", + "tree_id", + "message", + "timestamp", + "author", + "committer" + ], + "title": "SimpleCommit", + "type": "object" + }, + "head_repository": { + "properties": { + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "node_id", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "title": "Repository Lite", + "type": "object" + }, + "head_sha": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "jobs_url": { + "format": "uri", + "type": "string" + }, + "logs_url": { + "format": "uri", + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "path": { + "type": "string" + }, + "previous_attempt_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "pull_requests": { + "items": { + "properties": { + "base": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "head": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "id": { + "type": "number" + }, + "number": { + "type": "number" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "id", + "number", + "head", + "base" + ], + "type": "object" + }, + "type": "array" + }, + "referenced_workflows": { + "items": { + "properties": { + "path": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "path", + "sha" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "repository": { + "properties": { + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "node_id", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "title": "Repository Lite", + "type": "object" + }, + "rerun_url": { + "format": "uri", + "type": "string" + }, + "run_attempt": { + "type": "integer" + }, + "run_number": { + "type": "integer" + }, + "run_started_at": { + "format": "date-time", + "type": "string" + }, + "status": { + "enum": [ + "requested", + "in_progress", + "completed", + "queued", + "pending", + "waiting" + ], + "type": "string" + }, + "triggering_actor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "workflow_id": { + "type": "integer" + }, + "workflow_url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "artifacts_url", + "cancel_url", + "check_suite_url", + "check_suite_id", + "check_suite_node_id", + "conclusion", + "created_at", + "event", + "head_branch", + "head_commit", + "head_repository", + "head_sha", + "html_url", + "id", + "jobs_url", + "logs_url", + "node_id", + "name", + "path", + "pull_requests", + "repository", + "rerun_url", + "run_number", + "status", + "updated_at", + "url", + "workflow_id", + "workflow_url", + "run_attempt", + "run_started_at", + "previous_attempt_url", + "actor", + "triggering_actor" + ], + "title": "Workflow Run", + "type": "object" + }, + { + "properties": { + "actor": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "artifacts_url": { + "type": "string" + }, + "cancel_url": { + "type": "string" + }, + "check_suite_id": { + "type": "integer" + }, + "check_suite_node_id": { + "type": "string" + }, + "check_suite_url": { + "type": "string" + }, + "conclusion": { + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + "skipped" + ], + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "head_branch": { + "nullable": true, + "type": "string" + }, + "head_commit": { + "properties": { + "author": { + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "committer": { + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tree_id": { + "type": "string" + } + }, + "type": "object" + }, + "head_repository": { + "properties": { + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "head_sha": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "jobs_url": { + "type": "string" + }, + "logs_url": { + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "path": { + "type": "string" + }, + "previous_attempt_url": { + "nullable": true, + "type": "string" + }, + "pull_requests": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "referenced_workflows": { + "items": { + "properties": { + "path": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "path", + "sha" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "repository": { + "properties": { + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "rerun_url": { + "type": "string" + }, + "run_attempt": { + "type": "integer" + }, + "run_number": { + "type": "integer" + }, + "run_started_at": { + "type": "string" + }, + "status": { + "type": "string" + }, + "triggering_actor": { + "nullable": true, + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "workflow_id": { + "type": "integer" + }, + "workflow_url": { + "type": "string" + } + }, + "required": [ + "conclusion" + ], + "type": "object" + } + ] + } + }, + "required": [ + "action", + "repository", + "sender", + "workflow", + "workflow_run" + ], + "title": "workflow_run completed event", + "type": "object" + }, + "webhook-workflow-run-in-progress": { + "properties": { + "action": { + "enum": [ + "in_progress" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "workflow": { + "nullable": true, + "properties": { + "badge_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "path": { + "type": "string" + }, + "state": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "badge_url", + "created_at", + "html_url", + "id", + "name", + "node_id", + "path", + "state", + "updated_at", + "url" + ], + "title": "Workflow", + "type": "object" + }, + "workflow_run": { + "allOf": [ + { + "properties": { + "actor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "artifacts_url": { + "format": "uri", + "type": "string" + }, + "cancel_url": { + "format": "uri", + "type": "string" + }, + "check_suite_id": { + "type": "integer" + }, + "check_suite_node_id": { + "type": "string" + }, + "check_suite_url": { + "format": "uri", + "type": "string" + }, + "conclusion": { + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + "skipped", + null + ], + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "event": { + "type": "string" + }, + "head_branch": { + "nullable": true, + "type": "string" + }, + "head_commit": { + "properties": { + "author": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "committer": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tree_id": { + "type": "string" + } + }, + "required": [ + "id", + "tree_id", + "message", + "timestamp", + "author", + "committer" + ], + "title": "SimpleCommit", + "type": "object" + }, + "head_repository": { + "properties": { + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "node_id", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "title": "Repository Lite", + "type": "object" + }, + "head_sha": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "jobs_url": { + "format": "uri", + "type": "string" + }, + "logs_url": { + "format": "uri", + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "path": { + "type": "string" + }, + "previous_attempt_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "pull_requests": { + "items": { + "properties": { + "base": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "head": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "id": { + "type": "number" + }, + "number": { + "type": "number" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "id", + "number", + "head", + "base" + ], + "type": "object" + }, + "type": "array" + }, + "referenced_workflows": { + "items": { + "properties": { + "path": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "path", + "sha" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "repository": { + "properties": { + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "node_id", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "title": "Repository Lite", + "type": "object" + }, + "rerun_url": { + "format": "uri", + "type": "string" + }, + "run_attempt": { + "type": "integer" + }, + "run_number": { + "type": "integer" + }, + "run_started_at": { + "format": "date-time", + "type": "string" + }, + "status": { + "enum": [ + "requested", + "in_progress", + "completed", + "queued", + "pending" + ], + "type": "string" + }, + "triggering_actor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "workflow_id": { + "type": "integer" + }, + "workflow_url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "artifacts_url", + "cancel_url", + "check_suite_url", + "check_suite_id", + "check_suite_node_id", + "conclusion", + "created_at", + "event", + "head_branch", + "head_commit", + "head_repository", + "head_sha", + "html_url", + "id", + "jobs_url", + "logs_url", + "node_id", + "name", + "path", + "pull_requests", + "repository", + "rerun_url", + "run_number", + "status", + "updated_at", + "url", + "workflow_id", + "workflow_url", + "run_attempt", + "run_started_at", + "previous_attempt_url", + "actor", + "triggering_actor" + ], + "title": "Workflow Run", + "type": "object" + }, + { + "properties": { + "actor": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "artifacts_url": { + "type": "string" + }, + "cancel_url": { + "type": "string" + }, + "check_suite_id": { + "type": "integer" + }, + "check_suite_node_id": { + "type": "string" + }, + "check_suite_url": { + "type": "string" + }, + "conclusion": { + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "skipped", + "stale" + ], + "nullable": true, + "type": "string" + }, + "created_at": { + "type": "string" + }, + "event": { + "type": "string" + }, + "head_branch": { + "nullable": true, + "type": "string" + }, + "head_commit": { + "properties": { + "author": { + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "committer": { + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tree_id": { + "type": "string" + } + }, + "type": "object" + }, + "head_repository": { + "properties": { + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "head_sha": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "jobs_url": { + "type": "string" + }, + "logs_url": { + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "path": { + "type": "string" + }, + "previous_attempt_url": { + "nullable": true, + "type": "string" + }, + "pull_requests": { + "items": { + "nullable": true, + "type": "object" + }, + "type": "array" + }, + "referenced_workflows": { + "items": { + "properties": { + "path": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "path", + "sha" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "repository": { + "properties": { + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_url": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "owner": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "private": { + "type": "boolean" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "rerun_url": { + "type": "string" + }, + "run_attempt": { + "type": "integer" + }, + "run_number": { + "type": "integer" + }, + "run_started_at": { + "type": "string" + }, + "status": { + "type": "string" + }, + "triggering_actor": { + "properties": { + "avatar_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + }, + "workflow_id": { + "type": "integer" + }, + "workflow_url": { + "type": "string" + } + }, + "required": [ + "conclusion" + ], + "type": "object" + } + ] + } + }, + "required": [ + "action", + "repository", + "sender", + "workflow", + "workflow_run" + ], + "title": "workflow_run in_progress event", + "type": "object" + }, + "webhook-workflow-run-requested": { + "properties": { + "action": { + "enum": [ + "requested" + ], + "type": "string" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple" + }, + "repository": { + "$ref": "#/components/schemas/repository" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + }, + "workflow": { + "nullable": true, + "properties": { + "badge_url": { + "format": "uri", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "path": { + "type": "string" + }, + "state": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "badge_url", + "created_at", + "html_url", + "id", + "name", + "node_id", + "path", + "state", + "updated_at", + "url" + ], + "title": "Workflow", + "type": "object" + }, + "workflow_run": { + "properties": { + "actor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "artifacts_url": { + "format": "uri", + "type": "string" + }, + "cancel_url": { + "format": "uri", + "type": "string" + }, + "check_suite_id": { + "type": "integer" + }, + "check_suite_node_id": { + "type": "string" + }, + "check_suite_url": { + "format": "uri", + "type": "string" + }, + "conclusion": { + "enum": [ + "success", + "failure", + "neutral", + "cancelled", + "timed_out", + "action_required", + "stale", + null, + "skipped", + "startup_failure" + ], + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "display_title": { + "type": "string" + }, + "event": { + "type": "string" + }, + "head_branch": { + "nullable": true, + "type": "string" + }, + "head_commit": { + "properties": { + "author": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "committer": { + "description": "Metaproperties for Git author/committer information.", + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "nullable": true, + "type": "string" + }, + "name": { + "description": "The git author's name.", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "title": "Committer", + "type": "object" + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tree_id": { + "type": "string" + } + }, + "required": [ + "id", + "tree_id", + "message", + "timestamp", + "author", + "committer" + ], + "title": "SimpleCommit", + "type": "object" + }, + "head_repository": { + "properties": { + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "node_id", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "title": "Repository Lite", + "type": "object" + }, + "head_sha": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "jobs_url": { + "format": "uri", + "type": "string" + }, + "logs_url": { + "format": "uri", + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "node_id": { + "type": "string" + }, + "path": { + "type": "string" + }, + "previous_attempt_url": { + "format": "uri", + "nullable": true, + "type": "string" + }, + "pull_requests": { + "items": { + "properties": { + "base": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "head": { + "properties": { + "ref": { + "type": "string" + }, + "repo": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "id", + "url", + "name" + ], + "title": "Repo Ref", + "type": "object" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "ref", + "sha", + "repo" + ], + "type": "object" + }, + "id": { + "type": "number" + }, + "number": { + "type": "number" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "url", + "id", + "number", + "head", + "base" + ], + "type": "object" + }, + "type": "array" + }, + "referenced_workflows": { + "items": { + "properties": { + "path": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": [ + "path", + "sha" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "repository": { + "properties": { + "archive_url": { + "format": "uri-template", + "type": "string" + }, + "assignees_url": { + "format": "uri-template", + "type": "string" + }, + "blobs_url": { + "format": "uri-template", + "type": "string" + }, + "branches_url": { + "format": "uri-template", + "type": "string" + }, + "collaborators_url": { + "format": "uri-template", + "type": "string" + }, + "comments_url": { + "format": "uri-template", + "type": "string" + }, + "commits_url": { + "format": "uri-template", + "type": "string" + }, + "compare_url": { + "format": "uri-template", + "type": "string" + }, + "contents_url": { + "format": "uri-template", + "type": "string" + }, + "contributors_url": { + "format": "uri", + "type": "string" + }, + "deployments_url": { + "format": "uri", + "type": "string" + }, + "description": { + "nullable": true, + "type": "string" + }, + "downloads_url": { + "format": "uri", + "type": "string" + }, + "events_url": { + "format": "uri", + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "forks_url": { + "format": "uri", + "type": "string" + }, + "full_name": { + "type": "string" + }, + "git_commits_url": { + "format": "uri-template", + "type": "string" + }, + "git_refs_url": { + "format": "uri-template", + "type": "string" + }, + "git_tags_url": { + "format": "uri-template", + "type": "string" + }, + "hooks_url": { + "format": "uri", + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "description": "Unique identifier of the repository", + "type": "integer" + }, + "issue_comment_url": { + "format": "uri-template", + "type": "string" + }, + "issue_events_url": { + "format": "uri-template", + "type": "string" + }, + "issues_url": { + "format": "uri-template", + "type": "string" + }, + "keys_url": { + "format": "uri-template", + "type": "string" + }, + "labels_url": { + "format": "uri-template", + "type": "string" + }, + "languages_url": { + "format": "uri", + "type": "string" + }, + "merges_url": { + "format": "uri", + "type": "string" + }, + "milestones_url": { + "format": "uri-template", + "type": "string" + }, + "name": { + "description": "The name of the repository.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "notifications_url": { + "format": "uri-template", + "type": "string" + }, + "owner": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "private": { + "description": "Whether the repository is private or public.", + "type": "boolean" + }, + "pulls_url": { + "format": "uri-template", + "type": "string" + }, + "releases_url": { + "format": "uri-template", + "type": "string" + }, + "stargazers_url": { + "format": "uri", + "type": "string" + }, + "statuses_url": { + "format": "uri-template", + "type": "string" + }, + "subscribers_url": { + "format": "uri", + "type": "string" + }, + "subscription_url": { + "format": "uri", + "type": "string" + }, + "tags_url": { + "format": "uri", + "type": "string" + }, + "teams_url": { + "format": "uri", + "type": "string" + }, + "trees_url": { + "format": "uri-template", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "node_id", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "title": "Repository Lite", + "type": "object" + }, + "rerun_url": { + "format": "uri", + "type": "string" + }, + "run_attempt": { + "type": "integer" + }, + "run_number": { + "type": "integer" + }, + "run_started_at": { + "format": "date-time", + "type": "string" + }, + "status": { + "enum": [ + "requested", + "in_progress", + "completed", + "queued", + "pending", + "waiting" + ], + "type": "string" + }, + "triggering_actor": { + "nullable": true, + "properties": { + "avatar_url": { + "format": "uri", + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "nullable": true, + "type": "string" + }, + "events_url": { + "format": "uri-template", + "type": "string" + }, + "followers_url": { + "format": "uri", + "type": "string" + }, + "following_url": { + "format": "uri-template", + "type": "string" + }, + "gists_url": { + "format": "uri-template", + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "format": "uri", + "type": "string" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "format": "uri", + "type": "string" + }, + "received_events_url": { + "format": "uri", + "type": "string" + }, + "repos_url": { + "format": "uri", + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "format": "uri-template", + "type": "string" + }, + "subscriptions_url": { + "format": "uri", + "type": "string" + }, + "type": { + "enum": [ + "Bot", + "User", + "Organization" + ], + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "login", + "id" + ], + "title": "User", + "type": "object" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "format": "uri", + "type": "string" + }, + "workflow_id": { + "type": "integer" + }, + "workflow_url": { + "format": "uri", + "type": "string" + } + }, + "required": [ + "artifacts_url", + "cancel_url", + "check_suite_url", + "check_suite_id", + "check_suite_node_id", + "conclusion", + "created_at", + "event", + "head_branch", + "head_commit", + "head_repository", + "head_sha", + "html_url", + "id", + "jobs_url", + "logs_url", + "node_id", + "name", + "path", + "pull_requests", + "repository", + "rerun_url", + "run_number", + "status", + "updated_at", + "url", + "workflow_id", + "workflow_url", + "run_attempt", + "run_started_at", + "previous_attempt_url", + "actor", + "triggering_actor", + "display_title" + ], + "title": "Workflow Run", + "type": "object" + } + }, + "required": [ + "action", + "repository", + "sender", + "workflow", + "workflow_run" + ], + "title": "workflow_run requested event", + "type": "object" + }, + "workflow": { + "description": "A GitHub Actions workflow", + "properties": { + "badge_url": { + "example": "https://github.com/actions/setup-ruby/workflows/CI/badge.svg", + "type": "string" + }, + "created_at": { + "example": "2019-12-06T14:20:20.000Z", + "format": "date-time", + "type": "string" + }, + "deleted_at": { + "example": "2019-12-06T14:20:20.000Z", + "format": "date-time", + "type": "string" + }, + "html_url": { + "example": "https://github.com/actions/setup-ruby/blob/master/.github/workflows/ruby.yaml", + "type": "string" + }, + "id": { + "example": 5, + "type": "integer" + }, + "name": { + "example": "CI", + "type": "string" + }, + "node_id": { + "example": "MDg6V29ya2Zsb3cxMg==", + "type": "string" + }, + "path": { + "example": "ruby.yaml", + "type": "string" + }, + "state": { + "enum": [ + "active", + "deleted", + "disabled_fork", + "disabled_inactivity", + "disabled_manually" + ], + "example": "active", + "type": "string" + }, + "updated_at": { + "example": "2019-12-06T14:20:20.000Z", + "format": "date-time", + "type": "string" + }, + "url": { + "example": "https://api.github.com/repos/actions/setup-ruby/workflows/5", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "name", + "path", + "state", + "url", + "html_url", + "badge_url", + "created_at", + "updated_at" + ], + "title": "Workflow", + "type": "object" + }, + "workflow-run": { + "description": "An invocation of a workflow", + "properties": { + "actor": { + "$ref": "#/components/schemas/simple-user" + }, + "artifacts_url": { + "description": "The URL to the artifacts for the workflow run.", + "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun/artifacts", + "type": "string" + }, + "cancel_url": { + "description": "The URL to cancel the workflow run.", + "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/cancel", + "type": "string" + }, + "check_suite_id": { + "description": "The ID of the associated check suite.", + "example": 42, + "type": "integer" + }, + "check_suite_node_id": { + "description": "The node ID of the associated check suite.", + "example": "MDEwOkNoZWNrU3VpdGU0Mg==", + "type": "string" + }, + "check_suite_url": { + "description": "The URL to the associated check suite.", + "example": "https://api.github.com/repos/github/hello-world/check-suites/12", + "type": "string" + }, + "conclusion": { + "example": "neutral", + "nullable": true, + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "display_title": { + "description": "The event-specific title associated with the run or the run-name if set, or the value of `run-name` if it is set in the workflow.", + "example": "Simple Workflow", + "type": "string" + }, + "event": { + "example": "push", + "type": "string" + }, + "head_branch": { + "example": "master", + "nullable": true, + "type": "string" + }, + "head_commit": { + "$ref": "#/components/schemas/nullable-simple-commit" + }, + "head_repository": { + "$ref": "#/components/schemas/minimal-repository" + }, + "head_repository_id": { + "example": 5, + "type": "integer" + }, + "head_sha": { + "description": "The SHA of the head commit that points to the version of the workflow being run.", + "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d", + "type": "string" + }, + "html_url": { + "example": "https://github.com/github/hello-world/suites/4", + "type": "string" + }, + "id": { + "description": "The ID of the workflow run.", + "example": 5, + "type": "integer" + }, + "jobs_url": { + "description": "The URL to the jobs for the workflow run.", + "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/jobs", + "type": "string" + }, + "logs_url": { + "description": "The URL to download the logs for the workflow run.", + "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/logs", + "type": "string" + }, + "name": { + "description": "The name of the workflow run.", + "example": "Build", + "nullable": true, + "type": "string" + }, + "node_id": { + "example": "MDEwOkNoZWNrU3VpdGU1", + "type": "string" + }, + "path": { + "description": "The full path of the workflow", + "example": "octocat/octo-repo/.github/workflows/ci.yml@main", + "type": "string" + }, + "previous_attempt_url": { + "description": "The URL to the previous attempted run of this workflow, if one exists.", + "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/attempts/3", + "nullable": true, + "type": "string" + }, + "pull_requests": { + "items": { + "$ref": "#/components/schemas/pull-request-minimal" + }, + "nullable": true, + "type": "array" + }, + "referenced_workflows": { + "items": { + "$ref": "#/components/schemas/referenced-workflow" + }, + "nullable": true, + "type": "array" + }, + "repository": { + "$ref": "#/components/schemas/minimal-repository" + }, + "rerun_url": { + "description": "The URL to rerun the workflow run.", + "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun", + "type": "string" + }, + "run_attempt": { + "description": "Attempt number of the run, 1 for first attempt and higher if the workflow was re-run.", + "example": 1, + "type": "integer" + }, + "run_number": { + "description": "The auto incrementing run number for the workflow run.", + "example": 106, + "type": "integer" + }, + "run_started_at": { + "description": "The start time of the latest run. Resets on re-run.", + "format": "date-time", + "type": "string" + }, + "status": { + "example": "completed", + "nullable": true, + "type": "string" + }, + "triggering_actor": { + "$ref": "#/components/schemas/simple-user" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "description": "The URL to the workflow run.", + "example": "https://api.github.com/repos/github/hello-world/actions/runs/5", + "type": "string" + }, + "workflow_id": { + "description": "The ID of the parent workflow.", + "example": 5, + "type": "integer" + }, + "workflow_url": { + "description": "The URL to the workflow.", + "example": "https://api.github.com/repos/github/hello-world/actions/workflows/main.yaml", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "head_branch", + "run_number", + "display_title", + "event", + "status", + "conclusion", + "head_sha", + "path", + "workflow_id", + "url", + "html_url", + "created_at", + "updated_at", + "head_commit", + "head_repository", + "repository", + "jobs_url", + "logs_url", + "check_suite_url", + "cancel_url", + "rerun_url", + "artifacts_url", + "workflow_url", + "pull_requests" + ], + "title": "Workflow Run", + "type": "object" + }, + "workflow-run-usage": { + "description": "Workflow Run Usage", + "properties": { + "billable": { + "properties": { + "MACOS": { + "properties": { + "job_runs": { + "items": { + "properties": { + "duration_ms": { + "type": "integer" + }, + "job_id": { + "type": "integer" + } + }, + "required": [ + "job_id", + "duration_ms" + ], + "type": "object" + }, + "type": "array" + }, + "jobs": { + "type": "integer" + }, + "total_ms": { + "type": "integer" + } + }, + "required": [ + "total_ms", + "jobs" + ], + "type": "object" + }, + "UBUNTU": { + "properties": { + "job_runs": { + "items": { + "properties": { + "duration_ms": { + "type": "integer" + }, + "job_id": { + "type": "integer" + } + }, + "required": [ + "job_id", + "duration_ms" + ], + "type": "object" + }, + "type": "array" + }, + "jobs": { + "type": "integer" + }, + "total_ms": { + "type": "integer" + } + }, + "required": [ + "total_ms", + "jobs" + ], + "type": "object" + }, + "WINDOWS": { + "properties": { + "job_runs": { + "items": { + "properties": { + "duration_ms": { + "type": "integer" + }, + "job_id": { + "type": "integer" + } + }, + "required": [ + "job_id", + "duration_ms" + ], + "type": "object" + }, + "type": "array" + }, + "jobs": { + "type": "integer" + }, + "total_ms": { + "type": "integer" + } + }, + "required": [ + "total_ms", + "jobs" + ], + "type": "object" + } + }, + "type": "object" + }, + "run_duration_ms": { + "type": "integer" + } + }, + "required": [ + "billable" + ], + "title": "Workflow Run Usage", + "type": "object" + }, + "workflow-usage": { + "description": "Workflow Usage", + "properties": { + "billable": { + "properties": { + "MACOS": { + "properties": { + "total_ms": { + "type": "integer" + } + }, + "type": "object" + }, + "UBUNTU": { + "properties": { + "total_ms": { + "type": "integer" + } + }, + "type": "object" + }, + "WINDOWS": { + "properties": { + "total_ms": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "billable" + ], + "title": "Workflow Usage", + "type": "object" + } + } + }, + "x-webhooks": { + "branch-protection-rule-created": { + "post": { + "description": "A branch protection rule was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch-protection-rule" + }, + "operationId": "branch-protection-rule/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-branch-protection-rule-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "branch-protection-rule", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "branch-protection-rule-deleted": { + "post": { + "description": "A branch protection rule was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch-protection-rule" + }, + "operationId": "branch-protection-rule/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-branch-protection-rule-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "branch-protection-rule", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "branch-protection-rule-edited": { + "post": { + "description": "A branch protection rule was edited.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#branch-protection-rule" + }, + "operationId": "branch-protection-rule/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-branch-protection-rule-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "branch-protection-rule", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "check-run-completed": { + "post": { + "description": "A check run was completed, and a conclusion is available.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run" + }, + "operationId": "check-run/completed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/check-run-completed" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-check-run-completed" + } + }, + "application/x-www-form-urlencoded": { + "examples": { + "default": { + "$ref": "#/components/examples/check-run-completed-form-encoded" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-check-run-completed-form-encoded" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n**Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "check_run", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "check-run-created": { + "post": { + "description": "A new check run was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run" + }, + "operationId": "check-run/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/check-run-created" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-check-run-created" + } + }, + "application/x-www-form-urlencoded": { + "examples": { + "default": { + "$ref": "#/components/examples/check-run-created-form-encoded" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-check-run-created-form-encoded" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n**Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "check_run", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "check-run-requested-action": { + "post": { + "description": "A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see \"[Creating CI tests with the Checks API](https://docs.github.com/developers/apps/guides/creating-ci-tests-with-the-checks-api).\"", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run" + }, + "operationId": "check-run/requested-action", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/check-run-requested-action" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-check-run-requested-action" + } + }, + "application/x-www-form-urlencoded": { + "examples": { + "default": { + "$ref": "#/components/examples/check-run-requested-action-form-encoded" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-check-run-requested-action-form-encoded" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n**Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "check_run", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "check-run-rerequested": { + "post": { + "description": "Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run" + }, + "operationId": "check-run/rerequested", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/check-run-rerequested" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-check-run-rerequested" + } + }, + "application/x-www-form-urlencoded": { + "examples": { + "default": { + "$ref": "#/components/examples/check-run-rerequested-form-encoded" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-check-run-rerequested-form-encoded" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n**Note**: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "check_run", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "check-suite-completed": { + "post": { + "description": "All check runs in a check suite have completed, and a conclusion is available.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check-suite" + }, + "operationId": "check-suite/completed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-check-suite-completed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at lease write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n**Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "check-suite", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "check-suite-requested": { + "post": { + "description": "Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/graphql/reference/mutations#createcheckrun) or \"[Create a check run](https://docs.github.com/rest/checks/runs#create-a-check-run)\" in the REST API documentation.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check-suite" + }, + "operationId": "check-suite/requested", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-check-suite-requested" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at lease write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n**Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "check-suite", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "check-suite-rerequested": { + "post": { + "description": "Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/graphql/reference/mutations#createchecksuite) or \"[Create a check suite](https://docs.github.com/rest/checks/suites#create-a-check-suite)\" in the REST API documentation.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#check-suite" + }, + "operationId": "check-suite/rerequested", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-check-suite-rerequested" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at lease write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n**Note**: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "check-suite", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "code-scanning-alert-appeared-in-branch": { + "post": { + "description": "A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#code-scanning-alert" + }, + "operationId": "code-scanning-alert/appeared-in-branch", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-code-scanning-alert-appeared-in-branch" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "code-scanning-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "code-scanning-alert-closed-by-user": { + "post": { + "description": "Someone closed a code scanning alert.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#code-scanning-alert" + }, + "operationId": "code-scanning-alert/closed-by-user", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-code-scanning-alert-closed-by-user" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "code-scanning-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "code-scanning-alert-created": { + "post": { + "description": "A code scanning alert was created in a repository.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#code-scanning-alert" + }, + "operationId": "code-scanning-alert/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-code-scanning-alert-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "code-scanning-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "code-scanning-alert-fixed": { + "post": { + "description": "A code scanning alert was fixed in a branch by a commit.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#code-scanning-alert" + }, + "operationId": "code-scanning-alert/fixed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-code-scanning-alert-fixed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "code-scanning-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "code-scanning-alert-reopened": { + "post": { + "description": "A previously fixed code scanning alert reappeared in a branch.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#code-scanning-alert" + }, + "operationId": "code-scanning-alert/reopened", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-code-scanning-alert-reopened" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "code-scanning-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "code-scanning-alert-reopened-by-user": { + "post": { + "description": "Someone reopened a code scanning alert.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#code-scanning-alert" + }, + "operationId": "code-scanning-alert/reopened-by-user", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-code-scanning-alert-reopened-by-user" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "code-scanning-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "commit-comment-created": { + "post": { + "description": "Someone commented on a commit.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#commit-comment" + }, + "operationId": "commit-comment/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-commit-comment-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to commit comments. For more information about commit comments, see \"[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request).\" For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#commitcomment) or \"[Commit comments](https://docs.github.com/rest/commits/comments)\" in the REST API documentation.\n\nFor activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "commit-comment", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "create": { + "post": { + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#create" + }, + "operationId": "create", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-create" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when a Git branch or tag is created.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n**Note**: This event will not occur when more than three tags are created at once.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "create", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "delete": { + "post": { + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#delete" + }, + "operationId": "delete", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-delete" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when a Git branch or tag is deleted.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n**Note**: This event will not occur when more than three tags are deleted at once.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "delete", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "dependabot-alert-created": { + "post": { + "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#dependabot-alert" + }, + "operationId": "dependabot-alert/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-dependabot-alert-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n**Note**: Webhook events for Dependabot alerts are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "dependabot-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "dependabot-alert-dismissed": { + "post": { + "description": "A Dependabot alert was manually closed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#dependabot-alert" + }, + "operationId": "dependabot-alert/dismissed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n**Note**: Webhook events for Dependabot alerts are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "dependabot-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "dependabot-alert-fixed": { + "post": { + "description": "A manifest file change removed a vulnerability.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#dependabot-alert" + }, + "operationId": "dependabot-alert/fixed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n**Note**: Webhook events for Dependabot alerts are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "dependabot-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "dependabot-alert-reintroduced": { + "post": { + "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#dependabot-alert" + }, + "operationId": "dependabot-alert/reintroduced", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n**Note**: Webhook events for Dependabot alerts are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "dependabot-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "dependabot-alert-reopened": { + "post": { + "description": "A Dependabot alert was manually reopened.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#dependabot-alert" + }, + "operationId": "dependabot-alert/reopened", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n**Note**: Webhook events for Dependabot alerts are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "dependabot-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "deploy-key-created": { + "post": { + "description": "A deploy key was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deploy-key" + }, + "operationId": "deploy-key/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-deploy-key-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "deploy-key", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "deploy-key-deleted": { + "post": { + "description": "A deploy key was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deploy-key" + }, + "operationId": "deploy-key/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-deploy-key-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "deploy-key", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "deployment-created": { + "post": { + "description": "A deployment was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment" + }, + "operationId": "deployment/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-deployment-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "deployment", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "deployment-status-created": { + "post": { + "description": "A new deployment status was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment-status" + }, + "operationId": "deployment-status/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-deployment-status-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "deployment-status", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-answered": { + "post": { + "description": "A comment on the discussion was marked as the answer.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion" + }, + "operationId": "discussion/answered", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-answered" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-category-changed": { + "post": { + "description": "The category of a discussion was changed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion" + }, + "operationId": "discussion/category-changed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-category-changed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-comment-created": { + "post": { + "description": "A comment on a discussion was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion-comment" + }, + "operationId": "discussion-comment/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-comment-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion-comment", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-comment-deleted": { + "post": { + "description": "A comment on a discussion was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion-comment" + }, + "operationId": "discussion-comment/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-comment-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion-comment", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-comment-edited": { + "post": { + "description": "A comment on a discussion was edited.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion-comment" + }, + "operationId": "discussion-comment/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-comment-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion-comment", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-created": { + "post": { + "description": "A discussion was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion" + }, + "operationId": "discussion/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-deleted": { + "post": { + "description": "A discussion was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion" + }, + "operationId": "discussion/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-edited": { + "post": { + "description": "The title or body on a discussion was edited, or the category of the discussion was changed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion" + }, + "operationId": "discussion/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-labeled": { + "post": { + "description": "A label was added to a discussion.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion" + }, + "operationId": "discussion/labeled", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-labeled" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-locked": { + "post": { + "description": "A discussion was locked.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion" + }, + "operationId": "discussion/locked", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-locked" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-pinned": { + "post": { + "description": "A discussion was pinned.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion" + }, + "operationId": "discussion/pinned", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-pinned" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-transferred": { + "post": { + "description": "A discussion was transferred to another repository.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion" + }, + "operationId": "discussion/transferred", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-transferred" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-unanswered": { + "post": { + "description": "A comment on the discussion was unmarked as the answer.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion" + }, + "operationId": "discussion/unanswered", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-unanswered" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-unlabeled": { + "post": { + "description": "A label was removed from a discussion.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion" + }, + "operationId": "discussion/unlabeled", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-unlabeled" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-unlocked": { + "post": { + "description": "A discussion was unlocked.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion" + }, + "operationId": "discussion/unlocked", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-unlocked" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "discussion-unpinned": { + "post": { + "description": "A discussion was unpinned.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion" + }, + "operationId": "discussion/unpinned", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-unpinned" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n**Note**: Webhook events for GitHub Discussions are currently in beta and subject to change.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "discussion", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "fork": { + "post": { + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#fork" + }, + "operationId": "fork", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-fork" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when someone forks a repository. For more information, see \"[Fork a repo](https://docs.github.com/get-started/quickstart/fork-a-repo).\" For information about the API to manage forks, see \"[Forks](https://docs.github.com/rest/repos/forks)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "fork", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "github-app-authorization-revoked": { + "post": { + "description": "Someone revoked their authorization of a GitHub App.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#github-app-authorization" + }, + "operationId": "github-app-authorization/revoked", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-github-app-authorization-revoked" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when a user revokes their authorization of a GitHub App. For more information, see \"[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/rest/apps)\" in the REST API documentation.\n\nA GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about user-to-server requests, which require GitHub App authorization, see \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/).\"", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "github-app-authorization", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "gollum": { + "post": { + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#gollum" + }, + "operationId": "gollum", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-gollum" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when someone creates or updates a wiki page. For more information, see \"[About wikis](https://docs.github.com/communities/documenting-your-project-with-wikis/about-wikis).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "gollum", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "installation-created": { + "post": { + "description": "Someone installed a GitHub App on a user or organization account.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation" + }, + "operationId": "installation/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-installation-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/rest/reference/apps)\" in the REST API documentation.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "installation", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "installation-deleted": { + "post": { + "description": "Someone uninstalled a GitHub App from their user or organization account.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation" + }, + "operationId": "installation/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-installation-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/rest/reference/apps)\" in the REST API documentation.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "installation", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "installation-new-permissions-accepted": { + "post": { + "description": "Someone granted new permissions to a GitHub App.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation" + }, + "operationId": "installation/new-permissions-accepted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-installation-new-permissions-accepted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/rest/reference/apps)\" in the REST API documentation.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "installation", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "installation-repositories-added": { + "post": { + "description": "A GitHub App installation was granted access to one or more repositories.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation-repositories" + }, + "operationId": "installation-repositories/added", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-installation-repositories-added" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/rest/reference/apps)\" in the REST API documentation.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "installation-repositories", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "installation-repositories-removed": { + "post": { + "description": "Access to one or more repositories was revoked for a GitHub App installation.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation-repositories" + }, + "operationId": "installation-repositories/removed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-installation-repositories-removed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/rest/reference/apps)\" in the REST API documentation.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "installation-repositories", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "installation-suspend": { + "post": { + "description": "Someone blocked access by a GitHub App to their user or organization account.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation" + }, + "operationId": "installation/suspend", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-installation-suspend" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/rest/reference/apps)\" in the REST API documentation.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "installation", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "installation-target-renamed": { + "post": { + "description": "Somebody renamed the user or organization account that a GitHub App is installed on.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation-target" + }, + "operationId": "installation-target/renamed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-installation-target-renamed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see \"[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/rest/reference/apps)\" in the REST API documentation.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "installation-target", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "installation-unsuspend": { + "post": { + "description": "A GitHub App that was blocked from accessing a user or organization account was given access the account again.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#installation" + }, + "operationId": "installation/unsuspend", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-installation-unsuspend" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/rest/reference/apps)\" in the REST API documentation.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "installation", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "issue-comment-created": { + "post": { + "description": "A comment on an issue or pull request was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue-comment" + }, + "operationId": "issue-comment/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issue-comment-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issue-comment", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issue-comment-deleted": { + "post": { + "description": "A comment on an issue or pull request was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue-comment" + }, + "operationId": "issue-comment/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issue-comment-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issue-comment", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issue-comment-edited": { + "post": { + "description": "A comment on an issue or pull request was edited.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue-comment" + }, + "operationId": "issue-comment/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issue-comment-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issue-comment", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-assigned": { + "post": { + "description": "An issue was assigned to a user.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/assigned", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-assigned" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-closed": { + "post": { + "description": "An issue was closed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/closed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-closed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-deleted": { + "post": { + "description": "An issue was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-demilestoned": { + "post": { + "description": "An issue was removed from a milestone.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/demilestoned", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-demilestoned" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-edited": { + "post": { + "description": "The title or body on an issue was edited.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-labeled": { + "post": { + "description": "A label was added to an issue.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/labeled", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-labeled" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-locked": { + "post": { + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/locked", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-locked" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-milestoned": { + "post": { + "description": "An issue was added to a milestone.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/milestoned", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-milestoned" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-opened": { + "post": { + "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/opened", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-opened" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-pinned": { + "post": { + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/pinned", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-pinned" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-reopened": { + "post": { + "description": "A closed issue was reopened.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/reopened", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-reopened" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-transferred": { + "post": { + "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/transferred", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-transferred" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-unassigned": { + "post": { + "description": "A user was unassigned from an issue.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/unassigned", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-unassigned" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-unlabeled": { + "post": { + "description": "A label was removed from an issue.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/unlabeled", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-unlabeled" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-unlocked": { + "post": { + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/unlocked", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-unlocked" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-unpinned": { + "post": { + "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues" + }, + "operationId": "issues/unpinned", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-unpinned" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "label-created": { + "post": { + "description": "A label was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label" + }, + "operationId": "label/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-label-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "label", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "label-deleted": { + "post": { + "description": "A label was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label" + }, + "operationId": "label/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-label-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "label", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "label-edited": { + "post": { + "description": "A label's name, description, or color was changed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#label" + }, + "operationId": "label/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-label-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "label", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "marketplace-purchase-cancelled": { + "post": { + "description": "Someone cancelled a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace-purchase" + }, + "operationId": "marketplace-purchase/cancelled", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "marketplace-purchase", + "supported-webhook-types": [ + "marketplace" + ] + } + } + }, + "marketplace-purchase-changed": { + "post": { + "description": "Someone upgraded or downgraded a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace-purchase" + }, + "operationId": "marketplace-purchase/changed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "marketplace-purchase", + "supported-webhook-types": [ + "marketplace" + ] + } + } + }, + "marketplace-purchase-pending-change": { + "post": { + "description": "Someone downgraded or cancelled a GitHub Marketplace plan. The new plan or cancellation will take effect at the end of the current billing cycle. When the change takes effect, the `changed` or `cancelled` event will be sent.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace-purchase" + }, + "operationId": "marketplace-purchase/pending-change", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "marketplace-purchase", + "supported-webhook-types": [ + "marketplace" + ] + } + } + }, + "marketplace-purchase-pending-change-cancelled": { + "post": { + "description": "Someone cancelled a pending change to a GitHub Marketplace plan. Pending changes include plan cancellations and downgrades that will take effect at the end of a billing cycle.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace-purchase" + }, + "operationId": "marketplace-purchase/pending-change-cancelled", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "marketplace-purchase", + "supported-webhook-types": [ + "marketplace" + ] + } + } + }, + "marketplace-purchase-purchased": { + "post": { + "description": "Someone purchased a GitHub Marketplace plan. The change will take effect on the account immediately.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#marketplace-purchase" + }, + "operationId": "marketplace-purchase/purchased", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "marketplace-purchase", + "supported-webhook-types": [ + "marketplace" + ] + } + } + }, + "member-added": { + "post": { + "description": "A GitHub user accepted an invitation to a repository.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member" + }, + "operationId": "member/added", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-member-added" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "member", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "member-edited": { + "post": { + "description": "Permissions were changed for a collaborator on a repository.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member" + }, + "operationId": "member/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-member-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "member", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "member-removed": { + "post": { + "description": "A collaborator was removed from a repository.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#member" + }, + "operationId": "member/removed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-member-removed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "member", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "membership-added": { + "post": { + "description": "An organization member was added to a team.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#membership" + }, + "operationId": "membership/added", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-membership-added" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "membership", + "supported-webhook-types": [ + "organization", + "business", + "app" + ] + } + } + }, + "membership-removed": { + "post": { + "description": "An organization member was removed from a team.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#membership" + }, + "operationId": "membership/removed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-membership-removed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\" For more information about the API to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "membership", + "supported-webhook-types": [ + "organization", + "business", + "app" + ] + } + } + }, + "merge-group-checks-requested": { + "post": { + "description": "Status checks were requested for a merge group. This happens when a merge group is created or added to by the merge queue because a pull request was queued.\n\nWhen you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#merge-group" + }, + "operationId": "merge-group/checks-requested", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-merge-group-checks-requested" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a merge group in a merge queue. For more information, see \"[Managing a merge queue](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Merge queues\" repository permission.\n\n**Note**: The pull request merge queue feature is currently in public beta and subject to change.", + "tags": [ + "merge-queue" + ], + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "merge-group", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "meta-deleted": { + "post": { + "description": "The webhook was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#meta" + }, + "operationId": "meta/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-meta-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a webhook itself.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Meta\" app permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "meta", + "supported-webhook-types": [ + "marketplace", + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "milestone-closed": { + "post": { + "description": "A milestone was closed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone" + }, + "operationId": "milestone/closed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-milestone-closed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "milestone", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "milestone-created": { + "post": { + "description": "A milestone was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone" + }, + "operationId": "milestone/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-milestone-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "milestone", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "milestone-deleted": { + "post": { + "description": "A milestone was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone" + }, + "operationId": "milestone/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-milestone-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "milestone", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "milestone-edited": { + "post": { + "description": "A milestone was edited.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone" + }, + "operationId": "milestone/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-milestone-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "milestone", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "milestone-opened": { + "post": { + "description": "A milestone was opened.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone" + }, + "operationId": "milestone/opened", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-milestone-opened" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "milestone", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "org-block-blocked": { + "post": { + "description": "A user was blocked from the organization.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#org-block" + }, + "operationId": "org-block/blocked", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-org-block-blocked" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see \"[Blocking a user from your organization](https://docs.github.com/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\" For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#userblockedevent) or \"[Blocking users](https://docs.github.com/rest/orgs/blocking)\" in the REST API documentation.\n\nIf you want to receive an event when members are added or removed from an organization, use the `organization` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "org-block", + "supported-webhook-types": [ + "organization", + "business", + "app" + ] + } + } + }, + "org-block-unblocked": { + "post": { + "description": "A previously blocked user was unblocked from the organization.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#org-block" + }, + "operationId": "org-block/unblocked", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-org-block-unblocked" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see \"[Blocking a user from your organization](https://docs.github.com/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\" For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#userblockedevent) or \"[Blocking users](https://docs.github.com/rest/orgs/blocking)\" in the REST API documentation.\n\nIf you want to receive an event when members are added or removed from an organization, use the `organization` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "org-block", + "supported-webhook-types": [ + "organization", + "business", + "app" + ] + } + } + }, + "organization-deleted": { + "post": { + "description": "An organization was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization" + }, + "operationId": "organization/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-organization-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "organization", + "supported-webhook-types": [ + "organization", + "business", + "app" + ] + } + } + }, + "organization-member-added": { + "post": { + "description": "A member accepted an invitation to join an organization.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization" + }, + "operationId": "organization/member-added", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-organization-member-added" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "organization", + "supported-webhook-types": [ + "organization", + "business", + "app" + ] + } + } + }, + "organization-member-invited": { + "post": { + "description": "A member was invited to join the organization.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization" + }, + "operationId": "organization/member-invited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-organization-member-invited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "organization", + "supported-webhook-types": [ + "organization", + "business", + "app" + ] + } + } + }, + "organization-member-removed": { + "post": { + "description": "A member was removed from the organization.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization" + }, + "operationId": "organization/member-removed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-organization-member-removed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "organization", + "supported-webhook-types": [ + "organization", + "business", + "app" + ] + } + } + }, + "organization-renamed": { + "post": { + "description": "The name of an organization was changed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#organization" + }, + "operationId": "organization/renamed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-organization-renamed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "organization", + "supported-webhook-types": [ + "organization", + "business", + "app" + ] + } + } + }, + "package-published": { + "post": { + "description": "A package was published to a registry.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package" + }, + "operationId": "package/published", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-package-published" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "package", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "package-updated": { + "post": { + "description": "A previously published package was updated.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package" + }, + "operationId": "package/updated", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-package-updated" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "package", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "page-build": { + "post": { + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#page-build" + }, + "operationId": "page-build", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-page-build" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "page-build", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "ping": { + "post": { + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#ping" + }, + "operationId": "ping", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/ping" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-ping" + } + }, + "application/x-www-form-urlencoded": { + "examples": { + "default": { + "$ref": "#/components/examples/ping-form-encoded" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-ping-form-encoded" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly.", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "ping", + "supported-webhook-types": [ + "repository", + "organization", + "app", + "business", + "marketplace" + ] + } + } + }, + "project-card-converted": { + "post": { + "description": "A note in a classic project was converted to an issue.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project-card" + }, + "operationId": "project-card/converted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-project-card-converted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a card on a classic project. For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "project-card", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "project-card-created": { + "post": { + "description": "A card was added to a classic project.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project-card" + }, + "operationId": "project-card/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-project-card-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a card on a classic project. For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "project-card", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "project-card-deleted": { + "post": { + "description": "A card on a classic project was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project-card" + }, + "operationId": "project-card/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-project-card-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a card on a classic project. For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "project-card", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "project-card-edited": { + "post": { + "description": "A note on a classic project was edited.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project-card" + }, + "operationId": "project-card/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-project-card-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a card on a classic project. For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "project-card", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "project-card-moved": { + "post": { + "description": "A card on a classic project was moved to another column or to another position in its column.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project-card" + }, + "operationId": "project-card/moved", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-project-card-moved" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a card on a classic project. For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project or a column on a project, use the `project` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "project-card", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "project-closed": { + "post": { + "description": "A classic project was closed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project" + }, + "operationId": "project/closed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-project-closed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a classic project. For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "project", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "project-column-created": { + "post": { + "description": "A column was added to a classic project.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project-column" + }, + "operationId": "project-column/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-project-column-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a column on a classic project. For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "project-column", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "project-column-deleted": { + "post": { + "description": "A column was deleted from a classic project.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project-column" + }, + "operationId": "project-column/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-project-column-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a column on a classic project. For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "project-column", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "project-column-edited": { + "post": { + "description": "The name of a column on a classic project was changed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project-column" + }, + "operationId": "project-column/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-project-column-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a column on a classic project. For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "project-column", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "project-column-moved": { + "post": { + "description": "A column was moved to a new position on a classic project.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project-column" + }, + "operationId": "project-column/moved", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-project-column-moved" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a column on a classic project. For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project or a card on a project, use the `project` and `project_card` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "project-column", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "project-created": { + "post": { + "description": "A classic project was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project" + }, + "operationId": "project/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-project-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a classic project. For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "project", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "project-deleted": { + "post": { + "description": "A classic project was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project" + }, + "operationId": "project/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-project-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a classic project. For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "project", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "project-edited": { + "post": { + "description": "The name or description of a classic project was changed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project" + }, + "operationId": "project/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-project-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a classic project. For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "project", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "project-reopened": { + "post": { + "description": "A classic project was closed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#project" + }, + "operationId": "project/reopened", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-project-reopened" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a classic project. For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project, use the `project_card` and `project_column` event. For activity relating to Projects instead of Projects (classic), use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "project", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "projects-v2-closed": { + "post": { + "description": "A project in the organization was closed.", + "externalDocs": { + "url": "" + }, + "operationId": "projects-v2/closed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "project-v2", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-projects-v2-project-closed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n**Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "projects_v2", + "supported-webhook-types": [ + "organization" + ] + } + } + }, + "projects-v2-created": { + "post": { + "description": "A project in the organization was created.", + "externalDocs": { + "url": "" + }, + "operationId": "projects-v2/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "project-v2", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-projects-v2-project-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n**Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "projects_v2", + "supported-webhook-types": [ + "organization" + ] + } + } + }, + "projects-v2-edited": { + "post": { + "description": "The title, description, or README of a project in the organization was changed.", + "externalDocs": { + "url": "" + }, + "operationId": "projects-v2/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "project-v2", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-projects-v2-project-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n**Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "projects_v2", + "supported-webhook-types": [ + "organization" + ] + } + } + }, + "projects-v2-item-archived": { + "post": { + "description": "An item on an organization project was archived. For more information, see \"[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", + "externalDocs": { + "url": "" + }, + "operationId": "projects-v2-item/archived", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "project-v2-item", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-projects-v2-item-archived" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n**Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "projects_v2_item", + "supported-webhook-types": [ + "organization" + ] + } + } + }, + "projects-v2-item-converted": { + "post": { + "description": "A draft issue in an organization project was converted to an issue.", + "externalDocs": { + "url": "" + }, + "operationId": "projects-v2-item/converted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "project-v2-item", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-projects-v2-item-converted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n**Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "projects_v2_item", + "supported-webhook-types": [ + "organization" + ] + } + } + }, + "projects-v2-item-created": { + "post": { + "description": "An item was added to a project in the organization.", + "externalDocs": { + "url": "" + }, + "operationId": "projects-v2-item/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "project-v2-item", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-projects-v2-item-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n**Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "projects_v2_item", + "supported-webhook-types": [ + "organization" + ] + } + } + }, + "projects-v2-item-deleted": { + "post": { + "description": "An item was deleted from a project in the organization.", + "externalDocs": { + "url": "" + }, + "operationId": "projects-v2-item/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "project-v2-item", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-projects-v2-item-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n**Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "projects_v2_item", + "supported-webhook-types": [ + "organization" + ] + } + } + }, + "projects-v2-item-edited": { + "post": { + "description": "The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue.", + "externalDocs": { + "url": "" + }, + "operationId": "projects-v2-item/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "project-v2-item", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-projects-v2-item-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n**Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "projects_v2_item", + "supported-webhook-types": [ + "organization" + ] + } + } + }, + "projects-v2-item-reordered": { + "post": { + "description": "The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout.", + "externalDocs": { + "url": "" + }, + "operationId": "projects-v2-item/reordered", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "project-v2-item", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-projects-v2-item-reordered" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n**Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "projects_v2_item", + "supported-webhook-types": [ + "organization" + ] + } + } + }, + "projects-v2-item-restored": { + "post": { + "description": "An archived item on an organization project was restored from the archive. For more information, see \"[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", + "externalDocs": { + "url": "" + }, + "operationId": "projects-v2-item/restored", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "project-v2-item", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-projects-v2-item-restored" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n**Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "projects_v2_item", + "supported-webhook-types": [ + "organization" + ] + } + } + }, + "projects-v2-reopened": { + "post": { + "description": "A project in the organization was reopened.", + "externalDocs": { + "url": "" + }, + "operationId": "projects-v2/reopened", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "project-v2", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-projects-v2-project-reopened" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n**Note**: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "projects_v2", + "supported-webhook-types": [ + "organization" + ] + } + } + }, + "public": { + "post": { + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#public" + }, + "operationId": "public", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-public" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when repository visibility changes from private to public. For more information, see \"[Setting repository visibility](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "public", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-assigned": { + "post": { + "description": "A pull request was assigned to a user.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/assigned", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-assigned" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-auto-merge-disabled": { + "post": { + "description": "Auto merge was disabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/auto-merge-disabled", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-auto-merge-disabled" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-auto-merge-enabled": { + "post": { + "description": "Auto merge was enabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/auto-merge-enabled", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-auto-merge-enabled" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-closed": { + "post": { + "description": "A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/closed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-closed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-converted-to-draft": { + "post": { + "description": "A pull request was converted to a draft. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/converted-to-draft", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-converted-to-draft" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-demilestoned": { + "post": { + "description": "A pull request was removed from a milestone.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/demilestoned", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-demilestoned" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-dequeued": { + "post": { + "description": "A pull request was removed from the merge queue.\n\n**Note**: The pull request merge queue feature is currently in limited public beta and subject to change.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/dequeued", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-dequeued" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-edited": { + "post": { + "description": "The title or body of a pull request was edited.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-enqueued": { + "post": { + "description": "A pull request was added to the merge queue.\n\n**Note**: The pull request merge queue feature is currently in limited public beta and subject to change.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/enqueued", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-enqueued" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-labeled": { + "post": { + "description": "A label was added to a pull request.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/labeled", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-labeled" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-locked": { + "post": { + "description": "Conversation on a pull request was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/locked", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-locked" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-milestoned": { + "post": { + "description": "A pull request was added to a milestone.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/milestoned", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-milestoned" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-opened": { + "post": { + "description": "A pull request was created", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/opened", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-opened" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-ready-for-review": { + "post": { + "description": "A draft pull request was marked as ready for review. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/ready-for-review", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-ready-for-review" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-reopened": { + "post": { + "description": "A previously closed pull request was reopened.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/reopened", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-reopened" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments,or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-review-comment-created": { + "post": { + "description": "A comment on a pull request diff was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request-review-comment" + }, + "operationId": "pull-request-review-comment/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-review-comment-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request-review-comment", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-review-comment-deleted": { + "post": { + "description": "A comment on a pull request diff was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request-review-comment" + }, + "operationId": "pull-request-review-comment/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-review-comment-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request-review-comment", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-review-comment-edited": { + "post": { + "description": "The content of a comment on a pull request diff was changed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request-review-comment" + }, + "operationId": "pull-request-review-comment/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-review-comment-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request-review-comment", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-review-dismissed": { + "post": { + "description": "A review on a pull request was dismissed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request-review" + }, + "operationId": "pull-request-review/dismissed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-review-dismissed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request-review", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-review-edited": { + "post": { + "description": "The body comment on a pull request review was edited.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request-review" + }, + "operationId": "pull-request-review/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-review-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request-review", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-review-request-removed": { + "post": { + "description": "A request for review by a person or team was removed from a pull request.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/review-request-removed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-review-request-removed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-review-requested": { + "post": { + "description": "Review by a person or team was requested for a pull request. For more information, see \"[Requesting a pull request review](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review).\"", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/review-requested", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-review-requested" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-review-submitted": { + "post": { + "description": "A review on a pull request was submitted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request-review" + }, + "operationId": "pull-request-review/submitted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-review-submitted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request-review", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-review-thread-resolved": { + "post": { + "description": "A comment thread on a pull request was marked as resolved.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request-review-thread" + }, + "operationId": "pull-request-review-thread/resolved", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-review-thread-resolved" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request review comment threads, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewthread) or \"[Pull request reviews](https://docs.github.com/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request-review-thread", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-review-thread-unresolved": { + "post": { + "description": "A previously resolved comment thread on a pull request was marked as unresolved.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request-review-thread" + }, + "operationId": "pull-request-review-thread/unresolved", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-review-thread-unresolved" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request-review-thread", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-synchronize": { + "post": { + "description": "A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/synchronize", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-synchronize" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-unassigned": { + "post": { + "description": "A user was unassigned from a pull request.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/unassigned", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-unassigned" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-unlabeled": { + "post": { + "description": "A label was removed from a pull request.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/unlabeled", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-unlabeled" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "pull-request-unlocked": { + "post": { + "description": "Conversation on a pull request was unlocked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull-request" + }, + "operationId": "pull-request/unlocked", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-unlocked" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "pull-request", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "push": { + "post": { + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#push" + }, + "operationId": "push", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-push" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when a commit or tag is pushed.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n**Note**: An event will not be created when more than three tags are pushed at once.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "push", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "registry-package-published": { + "post": { + "description": "A package was published to a registry.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#registry-package" + }, + "operationId": "registry-package/published", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-registry-package-published" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n**Note**: GitHub recommends that you use the newer `package` event instead.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "registry-package", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "registry-package-updated": { + "post": { + "description": "A package that was previously published to a registry was updated.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#registry-package" + }, + "operationId": "registry-package/updated", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-registry-package-updated" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n**Note**: GitHub recommends that you use the newer `package` event instead", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "registry-package", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "release-created": { + "post": { + "description": "A draft was saved, or a release or pre-release was published without previously being saved as a draft.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release" + }, + "operationId": "release/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-release-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "release", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "release-deleted": { + "post": { + "description": "A release, pre-release, or draft release was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release" + }, + "operationId": "release/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-release-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "release", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "release-edited": { + "post": { + "description": "The details of a release, pre-release, or draft release were edited. For more information, see \"[Managing releases in a repository](https://docs.github.com/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release).\"", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release" + }, + "operationId": "release/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-release-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "release", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "release-prereleased": { + "post": { + "description": "A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release" + }, + "operationId": "release/prereleased", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-release-prereleased" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "release", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "release-published": { + "post": { + "description": "A release, pre-release, or draft of a release was published.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release" + }, + "operationId": "release/published", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-release-published" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "release", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "release-released": { + "post": { + "description": "A release was published, or a pre-release was changed to a release.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release" + }, + "operationId": "release/released", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-release-released" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "release", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "release-unpublished": { + "post": { + "description": "A release or pre-release was unpublished.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release" + }, + "operationId": "release/unpublished", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-release-unpublished" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "release", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "repository-archived": { + "post": { + "description": "A repository was archived.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository" + }, + "operationId": "repository/archived", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-archived" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "repository-created": { + "post": { + "description": "A repository was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository" + }, + "operationId": "repository/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "repository-deleted": { + "post": { + "description": "A repository was deleted. GitHub Apps and repository webhooks will not receive this event.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository" + }, + "operationId": "repository/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "repository-dispatch-sample.collected": { + "post": { + "description": "The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository-dispatch" + }, + "operationId": "repository-dispatch/sample.collected", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-dispatch-sample" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository-dispatch", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "repository-edited": { + "post": { + "description": "The topics, default branch, description, or homepage of a repository was changed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository" + }, + "operationId": "repository/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "repository-import": { + "post": { + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository-import" + }, + "operationId": "repository-import", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-import" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when a repository is imported to GitHub. For more information, see \"[Importing a repository with GitHub Importer](https://docs.github.com/get-started/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer).\" For more information about the API to manage imports, see [the REST API documentation](https://docs.github.com/rest/migrations/source-imports).", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository-import", + "supported-webhook-types": [ + "repository", + "organization" + ] + } + } + }, + "repository-privatized": { + "post": { + "description": "The visibility of a repository was changed to `private`.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository" + }, + "operationId": "repository/privatized", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-privatized" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "repository-publicized": { + "post": { + "description": "The visibility of a repository was changed to `public`.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository" + }, + "operationId": "repository/publicized", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-publicized" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "repository-renamed": { + "post": { + "description": "The name of a repository was changed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository" + }, + "operationId": "repository/renamed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-renamed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "repository-transferred": { + "post": { + "description": "Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to \"Repository\" events.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository" + }, + "operationId": "repository/transferred", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-transferred" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "repository-unarchived": { + "post": { + "description": "A previously archived repository was unarchived.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository" + }, + "operationId": "repository/unarchived", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-unarchived" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "repository-vulnerability-alert-create": { + "post": { + "description": "A repository vulnerability alert was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository-vulnerability-alert" + }, + "operationId": "repository-vulnerability-alert/create", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-create" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n**Note**: This event is deprecated. Use the `dependabot_alert` event instead.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository-vulnerability-alert", + "supported-webhook-types": [ + "repository", + "organization" + ] + } + } + }, + "repository-vulnerability-alert-dismiss": { + "post": { + "description": "A repository vulnerability alert was dismissed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository-vulnerability-alert" + }, + "operationId": "repository-vulnerability-alert/dismiss", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-dismiss" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n**Note**: This event is deprecated. Use the `dependabot_alert` event instead.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository-vulnerability-alert", + "supported-webhook-types": [ + "repository", + "organization" + ] + } + } + }, + "repository-vulnerability-alert-reopen": { + "post": { + "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository-vulnerability-alert" + }, + "operationId": "repository-vulnerability-alert/reopen", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-reopen" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n**Note**: This event is deprecated. Use the `dependabot_alert` event instead.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository-vulnerability-alert", + "supported-webhook-types": [ + "repository", + "organization" + ] + } + } + }, + "repository-vulnerability-alert-resolve": { + "post": { + "description": "A repository vulnerability alert was marked as resolved.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#repository-vulnerability-alert" + }, + "operationId": "repository-vulnerability-alert/resolve", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-resolve" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n**Note**: This event is deprecated. Use the `dependabot_alert` event instead.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "repository-vulnerability-alert", + "supported-webhook-types": [ + "repository", + "organization" + ] + } + } + }, + "secret-scanning-alert-created": { + "post": { + "description": "A secret scanning alert was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#secret-scanning-alert" + }, + "operationId": "secret-scanning-alert/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-secret-scanning-alert-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "secret-scanning-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "secret-scanning-alert-location-created": { + "post": { + "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#secret_scanning_alert_location" + }, + "operationId": "secret-scanning-alert-location/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-alert-location-created" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-secret-scanning-alert-location-created" + } + }, + "application/x-www-form-urlencoded": { + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-alert-location-created-form-encoded" + } + }, + "schema": { + "$ref": "#/components/schemas/webhook-secret-scanning-alert-location-created-form-encoded" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "x-github": { + "category": "webhooks", + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "subcategory": "secret_scanning_alert_location", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "secret-scanning-alert-reopened": { + "post": { + "description": "A previously closed secret scanning alert was reopened.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#secret-scanning-alert" + }, + "operationId": "secret-scanning-alert/reopened", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-secret-scanning-alert-reopened" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "secret-scanning-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "secret-scanning-alert-resolved": { + "post": { + "description": "A secret scanning alert was closed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#secret-scanning-alert" + }, + "operationId": "secret-scanning-alert/resolved", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-secret-scanning-alert-resolved" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "secret-scanning-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "secret-scanning-alert-revoked": { + "post": { + "description": "A secret scanning alert was marked as revoked.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#secret-scanning-alert" + }, + "operationId": "secret-scanning-alert/revoked", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-secret-scanning-alert-revoked" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "secret-scanning-alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "security-advisory-published": { + "post": { + "description": "A security advisory was published to the GitHub community.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#security-advisory" + }, + "operationId": "security-advisory/published", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-security-advisory-published" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\" For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "security-advisory", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "security-advisory-updated": { + "post": { + "description": "The metadata or description of a security advisory was changed, or the security advisory was withdrawn.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#security-advisory" + }, + "operationId": "security-advisory/updated", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-security-advisory-updated" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\" For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "security-advisory", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "security-advisory-withdrawn": { + "post": { + "description": "A previously published security advisory was withdrawn.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#security-advisory" + }, + "operationId": "security-advisory/withdrawn", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-security-advisory-withdrawn" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a security advisory that was reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub. For more information about security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\" For information about the API to manage security advisories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "security-advisory", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "security-and-analysis": { + "post": { + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#security-and-analysis" + }, + "operationId": "security-and-analysis", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-security-and-analysis" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see \"[GitHub security features](https://docs.github.com/code-security/getting-started/github-security-features).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "security-and-analysis", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "sponsorship-cancelled": { + "post": { + "description": "A sponsorship was cancelled and the last billing cycle has ended.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#sponsorship" + }, + "operationId": "sponsorship/cancelled", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-sponsorship-cancelled" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "sponsorship", + "supported-webhook-types": [ + "sponsors_listing" + ] + } + } + }, + "sponsorship-created": { + "post": { + "description": "A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#sponsorship" + }, + "operationId": "sponsorship/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-sponsorship-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "sponsorship", + "supported-webhook-types": [ + "sponsors_listing" + ] + } + } + }, + "sponsorship-edited": { + "post": { + "description": "A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#sponsorship" + }, + "operationId": "sponsorship/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-sponsorship-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "sponsorship", + "supported-webhook-types": [ + "sponsors_listing" + ] + } + } + }, + "sponsorship-pending-cancellation": { + "post": { + "description": "A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#sponsorship" + }, + "operationId": "sponsorship/pending-cancellation", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-sponsorship-pending-cancellation" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "sponsorship", + "supported-webhook-types": [ + "sponsors_listing" + ] + } + } + }, + "sponsorship-pending-tier-change": { + "post": { + "description": "A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#sponsorship" + }, + "operationId": "sponsorship/pending-tier-change", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-sponsorship-pending-tier-change" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "sponsorship", + "supported-webhook-types": [ + "sponsors_listing" + ] + } + } + }, + "sponsorship-tier-changed": { + "post": { + "description": "A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#sponsorship" + }, + "operationId": "sponsorship/tier-changed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-sponsorship-tier-changed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "sponsorship", + "supported-webhook-types": [ + "sponsors_listing" + ] + } + } + }, + "star-created": { + "post": { + "description": "Someone starred a repository.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#star" + }, + "operationId": "star/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-star-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "star", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "star-deleted": { + "post": { + "description": "Someone unstarred the repository.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#star" + }, + "operationId": "star/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-star-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "star", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "status": { + "post": { + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#status" + }, + "operationId": "status", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-status" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see \"[About status checks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks).\" For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#status) or \"[Statuses](https://docs.github.com/rest/reference/commits#commit-statuses)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Commit statuses\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "status", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "team-add": { + "post": { + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team-add" + }, + "operationId": "team-add", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-team-add" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when a team is added to a repository.\nFor more information, see \"[Managing teams and people with access to your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository).\"\n\nFor activity relating to teams, see the `teams` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "team-add", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "team-added-to-repository": { + "post": { + "description": "A team was granted access to a repository.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team" + }, + "operationId": "team/added-to-repository", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-team-added-to-repository" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "team", + "supported-webhook-types": [ + "organization", + "business", + "app" + ] + } + } + }, + "team-created": { + "post": { + "description": "A team was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team" + }, + "operationId": "team/created", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-team-created" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "team", + "supported-webhook-types": [ + "organization", + "business", + "app" + ] + } + } + }, + "team-deleted": { + "post": { + "description": "A team was deleted.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team" + }, + "operationId": "team/deleted", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-team-deleted" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "team", + "supported-webhook-types": [ + "organization", + "business", + "app" + ] + } + } + }, + "team-edited": { + "post": { + "description": "The name, description, or visibility of a team was changed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team" + }, + "operationId": "team/edited", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-team-edited" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "team", + "supported-webhook-types": [ + "organization", + "business", + "app" + ] + } + } + }, + "team-removed-from-repository": { + "post": { + "description": "A team's access to a repository was removed.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#team" + }, + "operationId": "team/removed-from-repository", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-team-removed-from-repository" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "team", + "supported-webhook-types": [ + "organization", + "business", + "app" + ] + } + } + }, + "watch-started": { + "post": { + "description": "Someone started watching the repository.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#watch" + }, + "operationId": "watch/started", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-watch-started" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see \"[Managing your subscriptions](https://docs.github.com/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions).\" For information about the APIs to manage watching, see \"[Watching](https://docs.github.com/rest/activity/watching)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "watch", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-dispatch": { + "post": { + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow-dispatch" + }, + "operationId": "workflow-dispatch", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-dispatch" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when a GitHub Actions workflow is manually triggered. For more information, see \"[Manually running a workflow](https://docs.github.com/actions/managing-workflow-runs/manually-running-a-workflow).\"\n\nFor activity relating to workflow runs, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "workflow-dispatch", + "supported-webhook-types": [ + "app" + ] + } + } + }, + "workflow-job-completed": { + "post": { + "description": "A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow-job" + }, + "operationId": "workflow-job/completed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-job-completed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "workflow-job", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-job-in-progress": { + "post": { + "description": "A job in a workflow run started processing on a runner.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow-job" + }, + "operationId": "workflow-job/in-progress", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-job-in-progress" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "workflow-job", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-job-queued": { + "post": { + "description": "A job in a workflow run was created.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow-job" + }, + "operationId": "workflow-job/queued", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-job-queued" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "workflow-job", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-job-waiting": { + "post": { + "description": "A job in a workflow run was created and is waiting for approvals.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow-job" + }, + "operationId": "workflow-job/waiting", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-job-waiting" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow.\n\nFor more information, see \"[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see [the REST API documentation](https://docs.github.com/rest/actions/workflow-jobs).\n\nFor activity relating to a workflow run instead of a job in a workflow run, see the `workflow_run` event.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the Actions metadata permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "workflow-job", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-run-completed": { + "post": { + "description": "A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow-run" + }, + "operationId": "workflow-run/completed", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-run-completed" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "workflow-run", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-run-in-progress": { + "post": { + "description": "A workflow run started processing on a runner.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow-run" + }, + "operationId": "workflow-run/in-progress", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-run-in-progress" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "workflow-run", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-run-requested": { + "post": { + "description": "A workflow run was triggered.", + "externalDocs": { + "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow-run" + }, + "operationId": "workflow-run/requested", + "parameters": [ + { + "example": "GitHub-Hookshot/123abc", + "in": "header", + "name": "User-Agent", + "schema": { + "type": "string" + } + }, + { + "example": 12312312, + "in": "header", + "name": "X-Github-Hook-Id", + "schema": { + "type": "string" + } + }, + { + "example": "issues", + "in": "header", + "name": "X-Github-Event", + "schema": { + "type": "string" + } + }, + { + "example": 123123, + "in": "header", + "name": "X-Github-Hook-Installation-Target-Id", + "schema": { + "type": "string" + } + }, + { + "example": "repository", + "in": "header", + "name": "X-Github-Hook-Installation-Target-Type", + "schema": { + "type": "string" + } + }, + { + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "in": "header", + "name": "X-GitHub-Delivery", + "schema": { + "type": "string" + } + }, + { + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "in": "header", + "name": "X-Hub-Signature-256", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-run-requested" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "x-github": { + "category": "webhooks", + "githubCloudOnly": false, + "subcategory": "workflow-run", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + } + } +} \ No newline at end of file diff --git a/packages/test-app/src/_test-data/rebilly-rest-api.json b/packages/test-app/src/_test-data/rebilly-rest-api.json new file mode 100644 index 0000000..3152d14 --- /dev/null +++ b/packages/test-app/src/_test-data/rebilly-rest-api.json @@ -0,0 +1,27363 @@ +{ + "openapi": "3.0.0", + "servers": [ + { + "url": "//api.rebilly.com/v2.1", + "description": "Live Server" + }, + { + "url": "//api-sandbox.rebilly.com/v2.1", + "description": "Sandbox Server" + } + ], + "info": { + "version": "2.1", + "title": "Rebilly REST API", + "contact": { + "name": "Rebilly API Support", + "url": "https://www.rebilly.com/contact/", + "email": "integrations@rebilly.com" + }, + "license": { + "name": "Rebilly", + "url": "https://my.rebilly.com/api/license/" + }, + "termsOfService": "https://www.rebilly.com/terms/", + "x-logo": { + "url": "https://rebilly.github.io/RebillyAPI/rb_apiLogo.svg", + "backgroundColor": "#0033A0", + "altText": "Rebilly API logo" + }, + "description": "# Introduction\nThe Rebilly API is built on HTTP. Our API is RESTful. It has predictable\nresource URLs. It returns HTTP response codes to indicate errors. It also\naccepts and returns JSON in the HTTP body. You can use your favorite\nHTTP/REST library for your programming language to use Rebilly's API, or\nyou can use one of our SDKs (currently available in [PHP](https://github.com/Rebilly/rebilly-php)\nand [C#](https://github.com/Rebilly/rebilly-dotnet-client)).\n\n# Authentication\nWhen you sign up for an account, you are given your first API key.\nYou can generate additional API keys, and delete API keys (as you may\nneed to rotate your keys in the future). You authenticate to the\nRebilly API by providing your secret key in the request header.\n\nRebilly offers three forms of authentication: private key, JSON Web Tokens, and\npublic key.\n- private key: authenticates each request by searching for the presence\nof an HTTP header: REB-APIKEY.\n- JWT: authenticates each request by the HTTP header: Authorization.\n- public key: authenticates by the HTTP header: REB-AUTH (read more on this below).\n\nRebilly also offers JSON Web Tokens (JWT) authentication, where you can control\nthe specific granular permissions and expiration for that JWT. We call our resource\nfor generating JWT [Sessions](#tag/Sessions).\n\nRebilly also has a client-side authentication scheme that uses an\napiUser and HMAC-SHA1 signature (only for the Tokens resource), so\nthat you may safely create tokens from the client-side without compromising\nyour secret keys.\n\nNever share your secret keys. Keep them guarded and secure.\nThe client-side authentication scheme uses one HTTP header named REB-AUTH.\n\n\n\n# PHP SDK\nFor all PHP SDK examples provided in this spec you will need to configure `$client`.\nYou may do it like this:\n\n```php\n$client = new Rebilly\\Client([\n 'apiKey' => 'YourApiKeyHere',\n 'baseUrl' => 'https://api.rebilly.com',\n]);\n```\n" + }, + "tags": [ + { + "name": "3D Secure", + "description": "3D Secure is a way to authenticate and protect transactions. Typically,\nit's only possible to protect the initial transaction in a subscription\nwith 3D Secure.\n" + }, + { + "name": "API Keys", + "description": "Always keep your API Keys private. In addition to your API Keys, you may use\nJSON Web Tokens (JWT) to authenticate to the API. See\nour [Sessions](#tag/Sessions) resource for more information.\n" + }, + { + "name": "Bank Accounts", + "description": "Bank Accounts are a type of payment instrument used to collect\nACH (echeck) payments, similar to how a payment\ncard would be used to for a credit card payment.\n" + }, + { + "name": "Blacklists", + "description": "Your blacklists contains values of customerIds, email addresses,\nipAddresses, bank identification numbers, countries or payment cards that\nyou do NOT want to do business with. They are a good tool for managing\nrisk. A blacklist entry that expires after a period of time we call a\ngreylist.\n" + }, + { + "name": "Checkout Pages", + "description": "Hosted checkout pages.\n" + }, + { + "name": "Contacts", + "description": "Contacts are Customer's address book.\nAll contact information used in Invoices, Subscriptions, Transacions, etc is enlisted here. However, changing a Contact won't change corresponding contact information in related resources\n" + }, + { + "name": "Coupons", + "description": "Coupons allows to apply different types of discounts to Invoices, Subscriptions and Plans. Redeemed Coupons will be applied only to Invoices with the same currency.\n" + }, + { + "name": "Customers", + "description": "Customers are your customers, sometimes known as accounts, clients,\nmembers, patrons, or players in other systems.\n" + }, + { + "name": "Customer Authentication", + "description": "Create authentication credentials, login, logout, and verify your customers.\n" + }, + { + "name": "Custom Events", + "description": "If system events can't solve your problems, you are able to create a custom event\nthat can fit your requirements, and use it to solve your own business logic.\n" + }, + { + "name": "Custom Rules", + "description": "\"Don't conform to the rules. Create the rules.\"\nRather than adapt your workflow and business, Rebilly can align with your business\nobjectives by giving you the power to automate certain behaviors when key events happen.\nYou can use this to your advantage to mitigate risk, maximize conversions and minimize costs.\nYou have the controls at your fingertips here. If you need more control,\nor help dialing in on a strategy, feel free to contact us.\n\nWhen an event happens, it triggers the evaluation of conditions (that you set up),\nin order from top to bottom. If the condition is met, the corresponding actions are executed.\nThe conditions continue to be checked until either all of the conditions have been executed,\nor a special \"stop\" action is executed.\n" + }, + { + "name": "Custom Fields", + "description": "Create additional custom fields for particular resources. You may name,\ndescribe, and determine the type of the schema.\n" + }, + { + "name": "Credential Hashes", + "description": "Get and create SMTP and Webhook credential hashes.\n" + }, + { + "name": "Disputes", + "description": "Handle disputes (chargebacks and retrievals).\n" + }, + { + "name": "Email Credentials", + "description": "Send automated emails through our system by connecting to your third party\nSMTP server (or your third party email service provider's SMTP server).\n" + }, + { + "name": "Files", + "description": "A File is an entity that can store a physical file and some metadata. It also provides an easy access to\nits size, mime-type, user-defined tags and description thus allowing easy sorting and searching among stored\nfiles.\nThere are several methods of file uploading available: multipart/form-data encoded form, RAW POST (by sending\nfile contents as POST body), fetching from URL (by providing the file URL via 'url' param)\nAttachment is an entity that is used to link a File to one or multiple objects like Customer, Dispute, Payment,\nTransaction, Subscription, Plan, Product, Invoice, Note. That allows to quickly find and use files related to\nthose specific entities.\n" + }, + { + "name": "Gateway Accounts", + "description": "Gateway accounts connect payment request to third party networks and platforms.\n" + }, + { + "name": "Invoices", + "description": "Invoices leave a record for both you and your customer of the products sold.\n" + }, + { + "name": "Layouts", + "description": "Layouts are used to hold collections of plans. A layout can be used to\npower a pricing page. You can make multiple layouts, and use rules to\ntarget them to different audiences.\n" + }, + { + "name": "Lists", + "description": "Lists contain sets of values and may be referenced within Rules criteria.\n\nYou may grant permissions to edit Lists to different people than those who can edit Rules.\nIt may be useful if your workflow involves frequent updates to value sets used in criteria.\n" + }, + { + "name": "Migrate payment cards", + "description": "Migrate payment cards from one gateway to another.\n" + }, + { + "name": "Notes", + "description": "Leave notes on a customer record to have a handy location to share with\nothers who may interface with the customer. It's great for customer service.\n" + }, + { + "name": "Organizations", + "description": "Organizations include the name and address of the entities related to your\naccount. An account may be multi-national, and support multiple\norganizations. Note: Organizations are share between \"Live\" and \"Sandbox\"\n" + }, + { + "name": "Payments", + "description": "Collect money from your customers with payments. You can schedule a payment\nto occur in the future. You can assign a dunning schedule to a payment to collect\nin the case of a decline.\n\nSome payments may be, what we term, suspended payments. These types of payments\nrequire user interaction. For example, an initial PayPal purchase, a 3D Secure\npurchase, China Union Pay, and more require the customer's interaction to\ncomplete the payment. We call these a \"suspended\" payment flow.\n" + }, + { + "name": "Payment Cards", + "description": "Payment cards are a type of payment instrument used for credit and debit card\nsales. Rebilly securely vaults the full payment card number, and can pass it\nonward securely to any gateway account to transact business.\n" + }, + { + "name": "Payment Tokens", + "description": "Payment tokens are used to reduce the scope of PCI DSS compliance. A payment\ntoken can be made using a different authentication scheme (refer to the public key\nauthentication scheme in the Authentication section), which allows you to\ncreate a payment token directly from the browser, bypassing the need to send\nsensitive cardholder info to your servers. We recommend using this with our\nRebilly.js library, which helps you wire a form into this API resource and create\npayment tokens.\n" + }, + { + "name": "Plans", + "description": "Plans are a template for making a subscription. For example, you may have a plan\nthat has a 30-day free trial followed by a recurring charge of $19.95 per month\nuntil canceled. The combination of the plan and a request to make a subscription\nwill apply those instructions to create the invoices according to the plan's\nschedule.\n" + }, + { + "name": "Products", + "description": "Proposed: Your product includes digital goods, services, and physical goods.\n" + }, + { + "name": "Reports", + "description": "The Rebilly Reporting API is currently experimental. You may see\nthe [Reports API Documentation here](https://rebilly.github.io/RebillyReportsAPI/).\n" + }, + { + "name": "Rules", + "description": "\"Don't conform to the rules. Create the rules.\"\nRather than adapt your workflow and business, Rebilly can align with your business\nobjectives by giving you the power to automate certain behaviors when key events happen.\nYou can use this to your advantage to mitigate risk, maximize conversions and minimize costs.\nYou have the controls at your fingertips here. If you need more control,\nor help dialing in on a strategy, feel free to contact us.\n\nWhen an event happens, it triggers the evaluation of conditions (that you set up),\nin order from top to bottom. If the condition is met, the corresponding actions are executed.\nThe conditions continue to be checked until either all of the conditions have been executed,\nor a special \"stop\" action is executed.\n" + }, + { + "name": "Sessions", + "description": "A session contains a token, which is a JSON Web Token. The token is created\nwith a user's signin credentials.\n\nThis token can be used to authenticate to the API. In addition, the session can be set to\nexpire at a particular time, and has very granular control over permissions.\nUse the token to then authenticate for further requests to the Rebilly API.\n\nThe token should be kept private, but could be stored on the user's browser\nclient to simulate a \"session.\"\n" + }, + { + "name": "Shipping Zones", + "description": "A shipping zone contains regions and countries that you ship to. Each shipping zone has its own shipping rates.\n" + }, + { + "name": "Status", + "description": "Check the status of the Rebilly API (no authentication required).\n" + }, + { + "name": "Subscriptions", + "description": "A subscription applies a plan's template to create invoices for a customer at the\nappropriate scheduled intervals. A subscription may also determine if the payment\nis collected automatically (with autopay set true).\n" + }, + { + "name": "Taxes", + "description": "Proposed: You can map a product to a tax category. The tax category is used by\ntax providers to calculate taxes for invoices.\n" + }, + { + "name": "Tracking", + "description": "Tracking is a layer for accessing all the activity (API requests,\nsubscriptions, webhooks, events, etc.), thus providing easier\ndebugging and issues auditing.\n" + }, + { + "name": "Transactions", + "description": "Get and refund transactions.\n" + }, + { + "name": "Users", + "description": "A User represents a person who can login to Rebilly, and take actions subject to\ntheir granted permissions.\n" + }, + { + "name": "Websites", + "description": "A Website represents the website/brand that customers interact with... You\ncould think of it like a brand. For example, Nestle owns Perrier and Purina\nand PowerBar.\n\nWe recognize that some enterprises have more than one website (or brand). The\nwebsite is related to each invoice and each payment gateway account. This feature\nwould allow you to have gateway accounts that are related to multiple websites, or\nexclusive to particular websites. And gives you more control over your business.\n" + }, + { + "name": "Webhooks", + "description": "Webhooks are designed to notify your systems when certain/all registered events happen in near real-time.\nThey allow you to collect information about those events. Rebilly can send these information via\nPOST to an URL of your choice.\n" + } + ], + "security": [ + { + "ApiKey": [] + } + ], + "paths": { + "/3dsecure": { + "get": { + "tags": [ + "3D Secure" + ], + "summary": "Retrieve a list of ThreeDSecure entries", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ThreeDSecure" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + } + }, + "post": { + "tags": [ + "3D Secure" + ], + "summary": "Create a ThreeDSecure entry", + "description": "Create a ThreeDSecure entry\n", + "responses": { + "201": { + "description": "ThreeDSecure entry was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ThreeDSecure" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ThreeDSecure" + } + } + }, + "description": "ThreeDSecure resource", + "required": true + } + } + }, + "/3dsecure/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "3D Secure" + ], + "summary": "Retrieve a ThreeDSecure entry", + "description": "Retrieve a ThreeDSecure entry with specified identifier string\n", + "responses": { + "200": { + "description": "ThreeDSecure entry was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ThreeDSecure" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/activation/{token}": { + "parameters": [ + { + "name": "token", + "in": "path", + "description": "The token string", + "required": true, + "schema": { + "type": "string" + } + } + ], + "post": { + "tags": [ + "Users" + ], + "summary": "Sends a token to activate user account", + "description": "Sends a token to activate user account\n", + "security": [ + { + "RebAuth": [] + } + ], + "responses": { + "204": { + "description": "User account was activated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "422": { + "description": "Invalid token was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "try {\n $client->users()->activate('token');\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ] + } + }, + "/api-keys": { + "get": { + "tags": [ + "API Keys" + ], + "summary": "Retrieve a list of api keys", + "description": "Retrieve a list of api keys\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of api keys was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiKey" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$apiKeys = $client->apiKeys()->search([\n 'filter' => 'description:Test',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "API Keys" + ], + "summary": "Create an api key", + "description": "Create an api key\n", + "responses": { + "201": { + "description": "Api Key was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiKey" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$apiKeyForm = new Rebilly\\Entities\\ApiKey();\n$apiKeyForm->setDescription('Test');\n$apiKeyForm->setDatetimeFormat($apiKeyForm::DATETIME_FORMAT_MYSQL);\n\ntry {\n $apiKey = $client->apiKeys()->create($apiKeyForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ApiKey" + } + } + }, + "/api-keys/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "API Keys" + ], + "summary": "Retrieve api key", + "description": "Retrieve api key with specified identifier string\n", + "responses": { + "200": { + "description": "Api key was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiKey" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$apiKeys = $client->apiKeys()->load('apiKeyID');\n" + } + ] + }, + "put": { + "tags": [ + "API Keys" + ], + "summary": "Create or update api key with predefined ID", + "description": "Create or update api key with predefined identifier string\n", + "responses": { + "200": { + "description": "ApiKey was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiKey" + } + } + } + }, + "201": { + "description": "ApiKey was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiKey" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$apiKeyForm = new Rebilly\\Entities\\ApiKey();\n$apiKeyForm->setDescription('TestPut');\n$apiKeyForm->setDatetimeFormat($apiKeyForm::DATETIME_FORMAT_MYSQL);\n\ntry {\n $apiKey = $client->apiKeys()->update('apiKeyID', $apiKeyForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/ApiKey" + } + }, + "delete": { + "tags": [ + "API Keys" + ], + "summary": "Delete api key", + "description": "Delete api key with predefined identifier string\n", + "responses": { + "204": { + "description": "ApiKey was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "$ref": "#/components/responses/Conflict" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$client->apiKeys()->delete('apiKeyID');\n" + } + ] + } + }, + "/attachments": { + "get": { + "tags": [ + "Files" + ], + "summary": "Retrieve a list of Attachments", + "description": "Retrieve a list of Attachments\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "$ref": "#/components/parameters/collectionFilter" + }, + { + "$ref": "#/components/parameters/collectionQuery" + }, + { + "$ref": "#/components/parameters/collectionExpand" + }, + { + "$ref": "#/components/parameters/collectionFields" + }, + { + "name": "sort", + "in": "query", + "description": "The collection items sort field and order (prefix with \"-\" for descending sort).", + "style": "form", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "id", + "-id", + "name", + "-name", + "relatedId", + "-relatedId", + "relatedType", + "-relatedType", + "fileId", + "-fileId", + "createdTime", + "-createdTime", + "updatedTime", + "-updatedTime" + ] + } + } + } + ], + "responses": { + "200": { + "description": "A list of Attachments was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Attachment" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$attachments = $client->attachments()->search([\n 'filter' => 'relatedType:customer',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Files" + ], + "summary": "Create an Attachment", + "description": "Create an Attachment\n", + "responses": { + "201": { + "description": "Attachment was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Attachment" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$attachmentForm = new Rebilly\\Entities\\Attachment();\n$attachmentForm->setFileId('fileId');\n$attachmentForm->setRelatedType($attachmentForm::TYPE_CUSTOMER);\n$attachmentForm->setRelatedId('customerId');\n\ntry {\n $attachment = $client->attachments()->create($attachmentForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Attachment" + } + } + }, + "/attachments/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Files" + ], + "summary": "Retrieve an Attachment", + "description": "Retrieve a Attachment with specified identifier string\n", + "responses": { + "200": { + "description": "Attachment was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Attachment" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$attachment = $client->attachments()->load('attachmentId');\n" + } + ] + }, + "put": { + "tags": [ + "Files" + ], + "summary": "Update the Attachment with predefined ID", + "description": "Update the Attachment with predefined ID\n", + "responses": { + "200": { + "description": "Attachment was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Attachment" + } + } + } + }, + "201": { + "description": "Attachment was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Attachment" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$attachmentForm = new Rebilly\\Entities\\Attachment();\n$attachmentForm->setFileId('fileId');\n$attachmentForm->setRelatedType($attachmentForm::TYPE_CUSTOMER);\n$attachmentForm->setRelatedId('customerId');\n\ntry {\n $attachment = $client->attachments()->update('attachmentId', $attachmentForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Attachment" + } + }, + "delete": { + "tags": [ + "Files" + ], + "summary": "Delete an Attachment", + "description": "Delete the Attachment with predefined identifier string\n", + "responses": { + "204": { + "description": "Attachment was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$client->attachments()->delete('attachmentId');\n" + } + ] + } + }, + "/authentication-options": { + "get": { + "tags": [ + "Customer Authentication" + ], + "summary": "Read current authentication options", + "description": "Read current authentication options\n", + "responses": { + "200": { + "description": "Current authentication options was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AuthenticationOptions" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$authenticationOptions = $client->authenticationOptions()->load();\n" + } + ] + }, + "put": { + "tags": [ + "Customer Authentication" + ], + "summary": "Change authentication options", + "description": "Change options\n", + "responses": { + "200": { + "description": "Authentication Options were updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticationOptions" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$authenticationOptionsForm = new Rebilly\\Entities\\AuthenticationOptions();\n// Regular expression below matches any password with 6+ length that contains alphabet symbols and/or numbers.\n$authenticationOptionsForm->setPasswordPattern('/^[a-zA-Z0-9]{6,}$/');\n\ntry {\n $authenticationOptions = $client->authenticationOptions()->update($authenticationOptionsForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticationOptions" + } + } + }, + "description": "Authentication Options resource", + "required": true + } + } + }, + "/authentication-tokens": { + "get": { + "tags": [ + "Customer Authentication" + ], + "summary": "Retrieve a list of auth tokens", + "description": "Retrieve a list of auth tokens\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of auth tokens was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AuthenticationToken" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$authenticationTokens = $client->authenticationTokens()->search([\n 'filter' => 'customerId:testCustomer',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Customer Authentication" + ], + "summary": "Login", + "description": "Login a user (customer)\n", + "responses": { + "201": { + "description": "Login successful", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticationToken" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$authenticationForm = new Rebilly\\Entities\\AuthenticationToken();\n$authenticationForm->setUsername('username');\n$authenticationForm->setPassword('test123');\n\ntry {\n $authenticationToken = $client->authenticationTokens()->login($authenticationForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticationToken" + } + } + }, + "description": "AuthenticationToken resource", + "required": true + } + } + }, + "/authentication-tokens/{token}": { + "parameters": [ + { + "name": "token", + "in": "path", + "description": "The token identifier string", + "required": true, + "schema": { + "type": "string" + } + } + ], + "get": { + "tags": [ + "Customer Authentication" + ], + "summary": "Verify", + "description": "Verify an authentication token\n", + "responses": { + "200": { + "description": "Authentication Token was verified", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticationToken" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$isVerified = $client->authenticationTokens()->verify('token');\n" + } + ] + }, + "delete": { + "tags": [ + "Customer Authentication" + ], + "summary": "Logout a user", + "description": "Logout a user\n", + "responses": { + "204": { + "description": "User was logged out", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$client->authenticationTokens()->logout('token');\n" + } + ] + } + }, + "/bank-accounts": { + "get": { + "tags": [ + "Bank Accounts" + ], + "summary": "Retrieve a list of bank accounts", + "description": "Retrieve a list of Bank Accounts\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of Bank Accounts was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BankAccount" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$bankAccounts = $client->bankAccounts()->search([\n 'filter' => 'customerId:testId',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Bank Accounts" + ], + "summary": "Create a Bank Account", + "description": "Create a Bank Account\n", + "responses": { + "201": { + "description": "Bank Account was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BankAccount" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$bankAccountForm = new Rebilly\\Entities\\BankAccount();\n$bankAccountForm->setCustomerId('customerId');\n$bankAccountForm->setContactId('contactId');\n$bankAccountForm->setRoutingNumber('0123456');\n$bankAccountForm->setAccountNumber('0123456');\n$bankAccountForm->setAccountType('checking');\n\ntry {\n $bankAccount = $client->bankAccounts()->create($bankAccountForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/BankAccount" + } + } + }, + "/bank-accounts/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Bank Accounts" + ], + "summary": "Retrieve a Bank Account", + "description": "Retrieve a Bank Account with specified identifier string\n", + "responses": { + "200": { + "description": "BankAccount was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BankAccount" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$bankAccount = $client->bankAccounts()->load('bankAccountId');\n" + } + ] + }, + "put": { + "tags": [ + "Bank Accounts" + ], + "summary": "Create a BankAccount with predefined ID", + "description": "Create or update a BankAccount with predefined identifier string\n", + "responses": { + "200": { + "description": "BankAccount was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BankAccount" + } + } + } + }, + "201": { + "description": "BankAccount was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BankAccount" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$bankAccountForm = new Rebilly\\Entities\\BankAccount();\n$bankAccountForm->setCustomerId('customerId');\n$bankAccountForm->setContactId('contactId');\n$bankAccountForm->setRoutingNumber('0123456');\n$bankAccountForm->setAccountNumber('0123456');\n$bankAccountForm->setAccountType('checking');\n\ntry {\n $bankAccount = $client->customers()->create($bankAccountForm, 'bankAccountId');\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/BankAccount" + } + } + }, + "/bank-accounts/{id}/deactivation": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "Bank Accounts" + ], + "summary": "Deactivate a Bank Account", + "description": "Deactivate a Bank Account\n", + "responses": { + "201": { + "description": "Deactivated successful", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BankAccount" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$bankAccount = $client->bankAccounts()->deactivate('bankAccountId');\n" + } + ] + } + }, + "/blacklists": { + "get": { + "tags": [ + "Blacklists" + ], + "summary": "Retrieve a list of blacklists", + "description": "Retrieve a list of blacklists\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of Blacklists was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Blacklist" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$blacklists = $client->blacklists()->search([\n 'filter' => 'value:testValue',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Blacklists" + ], + "summary": "Create a blacklist", + "description": "Create a blacklist\n", + "responses": { + "201": { + "description": "Blacklist was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Blacklist" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$blacklistForm = new Rebilly\\Entities\\Blacklist();\n$blacklistForm->setType($blacklistForm::TYPE_EMAIL);\n$blacklistForm->setValue('test@test.com');\n$blacklistForm->setExpiredTime('2025-01-01 05:00:00');\n\ntry {\n $blacklist = $client->blacklists()->create($blacklistForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Blacklist" + } + } + }, + "/blacklists/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Blacklists" + ], + "summary": "Retrieve a blacklist", + "description": "Retrieve a blacklist with specified identifier string\n", + "responses": { + "200": { + "description": "Blacklist was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Blacklist" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$blacklist = $client->blacklists()->load('blacklistId');\n" + } + ] + }, + "put": { + "tags": [ + "Blacklists" + ], + "summary": "Create a blacklist with predefined ID", + "description": "Create a blacklist with predefined identifier string\n", + "responses": { + "201": { + "description": "Blacklist was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Blacklist" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "409": { + "description": "Blacklist exist and cannot be updated", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$blacklistForm = new Rebilly\\Entities\\Blacklist();\n$blacklistForm->setType($blacklistForm::TYPE_EMAIL);\n$blacklistForm->setValue('test@test.com');\n$blacklistForm->setExpiredTime('2025-01-01 05:00:00');\n\ntry {\n $blacklist = $client->blacklists()->create($blacklistForm, 'blacklistId');\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Blacklist" + } + }, + "delete": { + "tags": [ + "Blacklists" + ], + "summary": "Delete a blacklist", + "description": "Delete a blacklist with predefined identifier string\n", + "responses": { + "204": { + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "description": "Blacklist was deleted" + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$client->blacklists()->delete('blacklistId');\n" + } + ] + } + }, + "/checkout-pages": { + "get": { + "tags": [ + "Checkout Pages" + ], + "summary": "Retrieve a list of checkout pages", + "description": "Retrieve a list of checkout pages\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of checkout pages was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CheckoutPage" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$checkoutPages = $client->checkoutPages()->search([\n 'filter' => 'name:testCheckoutPage',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Checkout Pages" + ], + "summary": "Create a Checkout Page", + "description": "Create a Checkout Page\n", + "responses": { + "201": { + "description": "Checkout Page was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CheckoutPage" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$checkoutPageForm = new Rebilly\\Entities\\CheckoutPage();\n$checkoutPageForm->setPlanId('planId');\n$checkoutPageForm->setWebsiteId('websiteId');\n$checkoutPageForm->setName('TestCheckoutPage');\n$checkoutPageForm->setUriPath('test-checkout-page');\n\ntry {\n $checkoutPage = $client->checkoutPages()->create($checkoutPageForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/CheckoutPage" + } + } + }, + "/checkout-pages/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Checkout Pages" + ], + "summary": "Retrieve a Checkout Page", + "description": "Retrieve a Checkout Page with specified identifier string\n", + "responses": { + "200": { + "description": "Checkout Page was retrieved successfully", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CheckoutPage" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$checkoutPage = $client->checkoutPages()->load('checkoutPageId');\n" + } + ] + }, + "put": { + "tags": [ + "Checkout Pages" + ], + "summary": "Create or update a Checkout Page with predefined ID", + "description": "Create or update a Checkout Page with predefined identifier string\n", + "responses": { + "200": { + "description": "Checkout Page was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CheckoutPage" + } + } + } + }, + "201": { + "description": "Checkout Page was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CheckoutPage" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$checkoutPageForm = new Rebilly\\Entities\\CheckoutPage();\n$checkoutPageForm->setPlanId('planId');\n$checkoutPageForm->setWebsiteId('websiteId');\n$checkoutPageForm->setName('TestCheckoutPage');\n$checkoutPageForm->setUriPath('test-checkout-page');\n\ntry {\n $checkoutPage = $client->checkoutPages()->update('checkoutPageId', $checkoutPageForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/CheckoutPage" + } + }, + "delete": { + "tags": [ + "Checkout Pages" + ], + "summary": "Delete a Checkout Page", + "description": "Delete a Checkout Page with predefined identifier string\n", + "responses": { + "204": { + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "description": "Checkout Page was deleted" + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "description": "Checkout page cannot be deleted" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$client->checkoutPages()->delete('checkoutPageId');\n" + } + ] + } + }, + "/contacts": { + "get": { + "tags": [ + "Contacts" + ], + "summary": "Retrieve a list of contacts", + "description": "Retrieve a list of contacts\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of Contacts was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Contact" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$contacts = $client->contacts()->search([\n 'filter' => 'firstName:John',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Contacts" + ], + "summary": "Create a contact", + "description": "Create a contact\n", + "responses": { + "201": { + "description": "Contact was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Contact" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$contactForm = new Rebilly\\Entities\\Contact();\n$contactForm->setFirstName('Sherlock');\n$contactForm->setLastName('Holmes');\n$contactForm->setOrganization('TestOrganization');\n\ntry {\n $contact = $client->contacts()->create($contactForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Contact" + } + } + }, + "/contacts/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Contacts" + ], + "summary": "Retrieve a contact", + "description": "Retrieve a contact with specified identifier string\n", + "responses": { + "200": { + "description": "Contact was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Contact" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$contact = $client->contacts()->load('contactId');\n" + } + ] + }, + "put": { + "tags": [ + "Contacts" + ], + "summary": "Create or update a contact with predefined ID", + "description": "Create or update a contact with predefined identifier string\n", + "responses": { + "201": { + "description": "Contact was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Contact" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "description": "Contact exists and cannot be updated" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$contactForm = new Rebilly\\Entities\\Contact();\n$contactForm->setFirstName('Sherlock');\n$contactForm->setLastName('Holmes');\n$contactForm->setOrganization('TestOrganization');\n\ntry {\n $contact = $client->contacts()->update('contactId', $contactForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Contact" + } + }, + "delete": { + "tags": [ + "Contacts" + ], + "summary": "Delete a contact", + "description": "Delete a contact with predefined identifier string\n", + "responses": { + "204": { + "description": "Contact was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "402": { + "description": "Contact cannot be deleted" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/coupons-redemptions": { + "get": { + "tags": [ + "Coupons" + ], + "summary": "Retrieve a list of coupon redemptions", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "$ref": "#/components/parameters/collectionFilter" + }, + { + "$ref": "#/components/parameters/collectionQuery" + }, + { + "$ref": "#/components/parameters/collectionCriteria" + }, + { + "$ref": "#/components/parameters/collectionSort" + } + ], + "responses": { + "200": { + "description": "Coupons redemptions were retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CouponRedemption" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$couponRedemptions = $client->couponsRedemptions()->search([\n 'filter' => 'customerId:testCustomer',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Coupons" + ], + "summary": "Redeem a coupon", + "description": "Redeem a coupon\n", + "responses": { + "201": { + "description": "Coupon was redeemed", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CouponRedemption" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$redemptionForm = new Rebilly\\Entities\\Coupons\\Redemption();\n$redemptionForm->setCustomerId('customerId');\n$redemptionForm->setRedemptionCode('redemptionCode');\n\n$restrictionArray = [\n 'type' => Rebilly\\Entities\\Coupons\\Restriction::TYPE_DISCOUNTS_PER_REDEMPTION,\n 'quantity' => 2,\n];\n\n$restrictionForm = new Rebilly\\Entities\\Coupons\\Restriction([\n $restrictionArray,\n]);\n\n$redemptionForm->setAdditionalRestrictions($restrictionForm);\n\ntry {\n $couponRedemption = $client->couponsRedemptions()->redeem($redemptionForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CouponRedemption" + } + } + }, + "description": "Redeem a coupon", + "required": true + } + } + }, + "/coupons-redemptions/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Coupons" + ], + "summary": "Retrieve a coupon redemption with specified identifier string", + "responses": { + "200": { + "description": "Retrieve a coupon redemption with specified identifier string", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CouponRedemption" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$couponRedemption = $client->couponsRedemptions()->load('redemptionCode');\n" + } + ] + } + }, + "/coupons-redemptions/{id}/cancel": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "Coupons" + ], + "summary": "Cancel a coupon redemption", + "responses": { + "201": { + "description": "Cancel a coupon redemption" + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$client->couponsRedemptions()->cancel('id');\n" + } + ] + } + }, + "/coupons": { + "get": { + "tags": [ + "Coupons" + ], + "summary": "Retrieve a list of coupons", + "description": "Retrieve a list of coupons\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "$ref": "#/components/parameters/collectionFilter" + }, + { + "$ref": "#/components/parameters/collectionQuery" + }, + { + "$ref": "#/components/parameters/collectionCriteria" + }, + { + "$ref": "#/components/parameters/collectionSort" + } + ], + "responses": { + "200": { + "description": "A list of coupons was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Coupon" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$coupons = $client->coupons()->search([\n 'filter' => 'status:issued',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Coupons" + ], + "summary": "Create a coupon", + "description": "Create a coupon\n", + "responses": { + "201": { + "description": "Coupon was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Coupon" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$couponForm = new Rebilly\\Entities\\Coupons\\Coupon();\n\n$discountArray = [\n 'currency' => 'USD',\n 'amount' => 1.99,\n];\n\n$discountForm = new \\Rebilly\\Entities\\Coupons\\Discounts\\Fixed($discountArray);\n$couponForm->setDiscount($discountForm);\n// Coupon can be used right now\n$couponForm->setIssuedTime(date('Y-m-d H:i:s'));\n\n$restrictionArray = [\n 'quantity' => 2,\n];\n\n$restrictionForm = new Rebilly\\Entities\\Coupons\\Restrictions\\DiscountsPerRedemption($restrictionArray);\n\n$couponForm->setRestrictions([$restrictionForm]);\n\ntry {\n $coupon = $client->coupons()->create($couponForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Coupon" + } + } + }, + "/coupons/{redemptionCode}": { + "parameters": [ + { + "name": "redemptionCode", + "in": "path", + "description": "The Coupon's redemption code", + "required": true, + "schema": { + "type": "string" + } + } + ], + "get": { + "tags": [ + "Coupons" + ], + "summary": "Retrieve a coupon", + "description": "Retrieve a coupon with specified redemption code string\n", + "responses": { + "200": { + "description": "Coupon was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Coupon" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$coupon = $client->coupons()->load('redemptionCode');\n" + } + ] + }, + "put": { + "tags": [ + "Coupons" + ], + "summary": "Create or update a coupon with predefined redemption code", + "description": "Create or update a coupon with predefined redemption code\n", + "responses": { + "200": { + "description": "Coupon was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Coupon" + } + } + } + }, + "201": { + "description": "Coupon was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Coupon" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "description": "Coupon was redeemed already and cannot be changed" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$couponForm = new Rebilly\\Entities\\Coupons\\Coupon();\n\n$discountArray = [\n 'type' => Rebilly\\Entities\\Coupons\\Discount::TYPE_FIXED,\n 'currency' => 'USD',\n 'amount' => 1.99,\n];\n\n$discountForm = new Rebilly\\Entities\\Coupons\\Discount($discountArray);\n$couponForm->setDiscount($discountForm);\n\n$restrictionArray = [\n 'type' => Rebilly\\Entities\\Coupons\\Restriction::TYPE_DISCOUNTS_PER_REDEMPTION,\n 'quantity' => 2,\n];\n\n$restrictionForm = new Rebilly\\Entities\\Coupons\\Restriction([\n $restrictionArray,\n]);\n\n$couponForm->setRestrictions($restrictionForm);\n\ntry {\n $coupon = $client->coupons()->create($couponForm, 'redemptionCode');\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Coupon" + } + } + }, + "/coupons/{redemptionCode}/expiration": { + "parameters": [ + { + "name": "redemptionCode", + "in": "path", + "description": "The Coupon's redemption code", + "required": true, + "schema": { + "type": "string" + } + } + ], + "post": { + "tags": [ + "Coupons" + ], + "summary": "Set a coupon's expiration time.", + "description": "Set a coupon's expiry time with the specified redemption code.\nThe expiredTime of a coupon must be greater than its issuedTime.\nThis cannot be performed on expired coupons.\n", + "responses": { + "201": { + "description": "Coupon expiration was successfully set", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Coupon" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "$ref": "#/components/responses/Conflict" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CouponExpiration" + } + } + }, + "description": "Coupon resource" + } + } + }, + "/credential-hashes/emails": { + "post": { + "tags": [ + "Credential Hashes" + ], + "summary": "Create an email credential", + "description": "Create an email credential\n", + "responses": { + "201": { + "description": "Email credential was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SmtpCredential" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SmtpCredential" + } + } + }, + "description": "Email credential resource", + "required": true + } + } + }, + "/credential-hashes/emails/{hash}": { + "parameters": [ + { + "$ref": "#/components/parameters/hash" + } + ], + "get": { + "tags": [ + "Credential Hashes" + ], + "summary": "Retrieve an email credential", + "description": "Retrieve an email credential with specified token identifier string\n", + "responses": { + "200": { + "description": "Email credential was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SmtpCredential" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/credential-hashes/webhooks": { + "post": { + "tags": [ + "Credential Hashes" + ], + "summary": "Create a webhook credential", + "description": "Create a webhook credential\n", + "responses": { + "201": { + "description": "Webhook credential was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookCredential" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookCredential" + } + } + }, + "description": "Credential resource", + "required": true + } + } + }, + "/credential-hashes/webhooks/{hash}": { + "parameters": [ + { + "$ref": "#/components/parameters/hash" + } + ], + "get": { + "tags": [ + "Credential Hashes" + ], + "summary": "Retrieve a webhook credential", + "description": "Retrieve a webhook credential with specified token identifier string\n", + "responses": { + "200": { + "description": "Webhook credential was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookCredential" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/credentials": { + "get": { + "tags": [ + "Customer Authentication" + ], + "summary": "Retrieve a list of credentials", + "description": "Retrieve a list of credentials\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of Credentials was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Credential" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$customerCredentials = $client->customerCredentials()->search([\n 'filter' => 'customerId:testCustomer',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Customer Authentication" + ], + "summary": "Create a credential", + "description": "Create a credential\n", + "responses": { + "201": { + "description": "Credential was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Credential" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$customerCredentialForm = new Rebilly\\Entities\\CustomerCredential();\n$customerCredentialForm->setCustomerId('customerId');\n$customerCredentialForm->setUsername('test');\n$customerCredentialForm->setPassword('1234');\n\ntry {\n $customerCredential = $client->customerCredentials()->create($customerCredentialForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Credential" + } + } + }, + "/credentials/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Customer Authentication" + ], + "summary": "Retrieve a credential", + "description": "Retrieve a credential with specified identifier string\n", + "responses": { + "200": { + "description": "Credential was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Credential" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$customerCredential = $client->customerCredentials()->load('credentialId');\n" + } + ] + }, + "put": { + "tags": [ + "Customer Authentication" + ], + "summary": "Create or update a credential with predefined ID", + "description": "Create or update a credential with predefined identifier string\n", + "responses": { + "200": { + "description": "Credential was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Credential" + } + } + } + }, + "201": { + "description": "Credential was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Credential" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$customerCredentialForm = new Rebilly\\Entities\\CustomerCredential();\n$customerCredentialForm->setCustomerId('customerId');\n$customerCredentialForm->setUsername('test');\n$customerCredentialForm->setPassword('1234');\n\ntry {\n $customerCredential = $client->customerCredentials()->update('credentialId', $customerCredentialForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Credential" + } + }, + "delete": { + "tags": [ + "Customer Authentication" + ], + "summary": "Delete a credential", + "description": "Delete a credential with predefined identifier string\n", + "responses": { + "204": { + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "description": "Credential was deleted" + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$client->customerCredentials()->delete('credentialId');\n" + } + ] + } + }, + "/custom-events": { + "get": { + "tags": [ + "Custom Events" + ], + "summary": "Retrieve a list of custom events", + "description": "Retrieve a list of custom events\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "name": "sort", + "in": "query", + "description": "The collection items sort field and order (prefix with \"-\" for descending sort).", + "style": "form", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "createdTime", + "-createdTime", + "handledTime", + "-handledTime", + "scheduledTime", + "-scheduledTime" + ] + } + } + } + ], + "responses": { + "200": { + "description": "A list of custom events was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomEvent" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + } + }, + "post": { + "tags": [ + "Custom Events" + ], + "summary": "Create a custom event", + "description": "Create a custom event\n", + "responses": { + "202": { + "description": "Custom event was accepted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomEvent" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "requestBody": { + "$ref": "#/components/requestBodies/CustomEvent" + } + } + }, + "/custom-events/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Custom Events" + ], + "summary": "Retrieve a custom event", + "description": "Retrieve a custom event with predefined identifier string\n", + "responses": { + "200": { + "description": "Custom event was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomEvent" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + }, + "put": { + "tags": [ + "Custom Events" + ], + "summary": "Create a custom event with predefined ID", + "description": "Create a custom event with predefined identifier string\n", + "responses": { + "202": { + "description": "Custom event was accepted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomEvent" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "409": { + "$ref": "#/components/responses/Conflict" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "requestBody": { + "$ref": "#/components/requestBodies/CustomEvent" + } + }, + "delete": { + "tags": [ + "Custom Events" + ], + "summary": "Delete a custom event", + "description": "Delete a custom event with predefined identifier string\n", + "responses": { + "204": { + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "description": "Custom event was deleted" + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "$ref": "#/components/responses/Conflict" + } + } + } + }, + "/custom-events/{id}/rules": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Custom Events", + "Rules" + ], + "summary": "Retrieve a list of rules for custom event", + "responses": { + "200": { + "description": "Rules were retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RuleSet" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + }, + "put": { + "tags": [ + "Custom Events", + "Rules" + ], + "summary": "Update the rules for custom event", + "responses": { + "200": { + "description": "Rules were updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RuleSet" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "$ref": "#/components/requestBodies/RuleSet" + } + } + }, + "/custom-events/{id}/rules/history": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Custom Events", + "Rules" + ], + "summary": "Retrieve the change history of the set of rules for a custom event", + "description": "Retrieve the change history of the set of rules for the selected custom event.\nThe history is updated each time you change the rules.\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "$ref": "#/components/parameters/collectionFilter" + }, + { + "$ref": "#/components/parameters/collectionQuery" + }, + { + "$ref": "#/components/parameters/collectionSort" + }, + { + "$ref": "#/components/parameters/collectionFields" + }, + { + "$ref": "#/components/parameters/collectionExpand" + } + ], + "responses": { + "200": { + "description": "History was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RuleSetHistoryItem" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/custom-events/{id}/rules/history/{version}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/rulesVersion" + } + ], + "get": { + "tags": [ + "Custom Events", + "Rules" + ], + "summary": "Retrieve the record from the change history of the set of rules for a custom event", + "description": "Retrieve the record from the change history of the set of rules for the selected custom event.\nA history record is created each time you change the rules.\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionFields" + }, + { + "$ref": "#/components/parameters/collectionExpand" + } + ], + "responses": { + "200": { + "description": "Rules version was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RuleSetHistoryItem" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/custom-events/{id}/rules/versions/{version}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/rulesVersion" + } + ], + "get": { + "tags": [ + "Custom Events", + "Rules" + ], + "summary": "Retrieve the version of the set of rules for a custom event", + "description": "Retrieve the version of the selected set of rules for the selected custom event.\nThe versions are created each time you change the rules.\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionFields" + }, + { + "$ref": "#/components/parameters/collectionExpand" + } + ], + "responses": { + "200": { + "description": "Rules version was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RuleSetVersion" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/custom-fields/{resource}": { + "parameters": [ + { + "name": "resource", + "in": "path", + "description": "The resource type string", + "required": true, + "schema": { + "type": "string", + "enum": [ + "customers", + "payment-cards", + "subscriptions", + "transactions", + "websites", + "contacts", + "products" + ] + } + } + ], + "get": { + "tags": [ + "Custom Fields" + ], + "summary": "Retrieve Custom Fields", + "description": "Retrieve a schema of Custom Fields for the given resource type\n", + "responses": { + "200": { + "description": "A schema of Custom Fields was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "description": "The list of custom fields", + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomField" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$customFields = $client->customFields()->search([\n 'filter' => 'type:boolean',\n]);\n" + } + ] + } + }, + "/custom-fields/{resource}/{name}": { + "parameters": [ + { + "name": "resource", + "in": "path", + "description": "The resource type string", + "required": true, + "schema": { + "type": "string", + "enum": [ + "customers", + "payment-cards", + "subscriptions", + "transactions", + "websites", + "contacts", + "products" + ] + } + }, + { + "name": "name", + "in": "path", + "description": "The custom field's identifier string", + "required": true, + "schema": { + "type": "string" + } + } + ], + "get": { + "tags": [ + "Custom Fields" + ], + "summary": "Retrieve a Custom Field", + "description": "Retrieve a schema of the given Custom Field for the given resource type\n", + "responses": { + "200": { + "description": "A schema of the Custom Field was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomField" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$customField = $client->customFields()->load('customers', 'customerId');\n" + } + ] + }, + "put": { + "tags": [ + "Custom Fields" + ], + "summary": "Create or alter a Custom Field", + "description": "Create or alter a schema of the given Custom Field for the given resource type.\n", + "responses": { + "200": { + "description": "The Custom Field was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomField" + } + } + } + }, + "201": { + "description": "The Custom Fields was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomField" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "409": { + "description": "The schema is in use: remove all the associated data in order to remove or alter the schema", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$customFieldForm = new Rebilly\\Entities\\CustomField();\n$customFieldForm->setType($customFieldForm::TYPE_BOOLEAN);\n\ntry {\n $customField = $client->customFields()->update('customers', 'testFieldName', $customFieldForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomField" + } + } + }, + "description": "Custom Fields schema of the given resource type", + "required": true + } + }, + "delete": { + "tags": [ + "Custom Fields" + ], + "summary": "Delete a custom field", + "description": "Delete a custom field by its name\n", + "responses": { + "204": { + "description": "Custom field has been deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "description": "The field is in use: remove all the associated data first", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$client->customFields()->delete('customers', 'testFieldName');\n" + } + ] + } + }, + "/customers": { + "get": { + "tags": [ + "Customers" + ], + "summary": "Retrieve a list of customers", + "description": "Retrieve a list of customers\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "$ref": "#/components/parameters/collectionFilter" + }, + { + "$ref": "#/components/parameters/collectionQuery" + }, + { + "$ref": "#/components/parameters/collectionExpand" + }, + { + "$ref": "#/components/parameters/collectionFields" + }, + { + "name": "sort", + "in": "query", + "description": "The collection items sort field and order (prefix with \"-\" for descending sort).", + "style": "form", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "id", + "-id", + "email", + "-email", + "createdTime", + "-createdTime", + "updatedTime", + "-updatedTime" + ] + } + } + }, + { + "name": "Accept", + "in": "header", + "description": "The response media type", + "schema": { + "type": "string", + "enum": [ + "application/json", + "text/csv" + ], + "default": "application/json" + } + } + ], + "responses": { + "200": { + "description": "A list of Customers was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Customer" + } + } + }, + "text/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Customer" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$customers = $client->customers()->search([\n 'filter' => 'firstName:John',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Customers" + ], + "summary": "Create a customer", + "description": "Create a customer\n", + "responses": { + "201": { + "description": "Customer was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Customer" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$customerForm = new Rebilly\\Entities\\Customer();\n$customerForm->setFirstName('Sherlock');\n$customerForm->setLastName('Holmes');\n$customerForm->setEmail('sherlock.holmes@gmail.com');\n\ntry {\n $customer = $client->customers()->create($customerForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Customer" + } + } + }, + "/customers/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Customers" + ], + "summary": "Retrieve a customer", + "description": "Retrieve a customer with specified identifier string\n", + "responses": { + "200": { + "description": "Customer was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Customer" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$customers = $client->customers()->load('myCustomerId');\n" + } + ] + }, + "put": { + "tags": [ + "Customers" + ], + "summary": "Create a customer with predefined ID", + "description": "Create a customer with predefined identifier string\n", + "responses": { + "200": { + "description": "Customer was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Customer" + } + } + } + }, + "201": { + "description": "Customer was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Customer" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$customerForm = new Rebilly\\Entities\\Customer();\n$customerForm->setFirstName('Sherlock');\n$customerForm->setLastName('Holmes');\n$customerForm->setEmail('sherlock.holmes@gmail.com');\n\ntry {\n $customer = $client->customers()->update('myCustomerId', $customerForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Customer" + } + } + }, + "/customers/{id}/lead-source": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Customers" + ], + "summary": "Retrieve a customer's Lead Source", + "description": "Retrieve a Lead Source of given customer\n", + "responses": { + "200": { + "description": "Lead Source was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadSource" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$customer = $client->customers()->load('myCustomerId');\n$leadSource = $customer->getLeadSource();\n" + } + ] + }, + "put": { + "tags": [ + "Customers" + ], + "summary": "Create a Lead Source for a customer", + "description": "Create a Lead Source for a customer\n", + "responses": { + "200": { + "description": "Lead Source was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadSource" + } + } + } + }, + "201": { + "description": "Lead Source was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadSource" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$leadSourceForm = new Rebilly\\Entities\\LeadSource();\n$leadSourceForm->setSource('TestSource');\n$leadSourceForm->setCampaign('TestCampaign');\n\ntry {\n $customer = $client->customers()->updateLeadSource('myCustomerId', $leadSourceForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/LeadSource" + } + }, + "delete": { + "tags": [ + "Customers" + ], + "summary": "Delete a Lead Source for a customer", + "description": "Delete a Lead Source that belongs to a certain customer\n", + "responses": { + "204": { + "description": "Lead Source was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "description": "Lead Source cannot be deleted" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$customer = $client->customers()->deleteLeadSource('myCustomerId');\n" + } + ] + } + }, + "/disputes": { + "get": { + "tags": [ + "Disputes" + ], + "summary": "Retrieve a list of disputes", + "description": "Retrieve a list of disputes\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of disputes was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Dispute" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$disputes = $client->disputes()->search([\n 'filter' => 'transactionId:testId',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Disputes" + ], + "summary": "Create a dispute", + "description": "Create a dispute\n", + "responses": { + "201": { + "description": "Dispute was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Dispute" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$disputeForm = new Rebilly\\Entities\\Dispute();\n$disputeForm->setTransactionId('transactionId');\n$disputeForm->setCurrency('USD');\n$disputeForm->setAmount(10);\n$disputeForm->setReasonCode(1000);\n$disputeForm->setType($disputeForm::TYPE_1CB);\n$disputeForm->setStatus($disputeForm::STATUS_RESPONSE_NEEDED);\n$disputeForm->setPostedTime('2025-01-01 05:00:00');\n\ntry {\n $dispute = $client->disputes()->create($disputeForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Dispute" + } + } + }, + "/disputes/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Disputes" + ], + "summary": "Retrieve a dispute", + "description": "Retrieve a dispute with specified identifier string\n", + "responses": { + "200": { + "description": "Dispute was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Dispute" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$dispute = $client->disputes()->load('disputeId');\n" + } + ] + }, + "put": { + "tags": [ + "Disputes" + ], + "summary": "Create or update a Dispute with predefined ID", + "description": "Create or update a Dispute with predefined identifier string\n", + "responses": { + "200": { + "description": "Dispute was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Dispute" + } + } + } + }, + "201": { + "description": "Dispute was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Dispute" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$disputeForm = new Rebilly\\Entities\\Dispute();\n$disputeForm->setTransactionId('transactionId');\n$disputeForm->setCurrency('USD');\n$disputeForm->setAmount(10);\n$disputeForm->setReasonCode(1000);\n$disputeForm->setType($disputeForm::TYPE_1CB);\n$disputeForm->setStatus($disputeForm::STATUS_RESPONSE_NEEDED);\n$disputeForm->setPostedTime('2025-01-01 05:00:00');\n\ntry {\n $dispute = $client->disputes()->update('disputeId', $dispute);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Dispute" + } + } + }, + "/events": { + "get": { + "tags": [ + "Events", + "Rules" + ], + "summary": "Retrieve a list of existing events", + "responses": { + "200": { + "description": "A list of System Events was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SystemEvent" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + } + } + }, + "/events/{eventType}": { + "parameters": [ + { + "$ref": "#/components/parameters/systemEventType" + } + ], + "get": { + "tags": [ + "Events", + "Rules" + ], + "summary": "Retrieve the event information", + "responses": { + "200": { + "description": "Rules were retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SystemEvent" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/events/{eventType}/rules": { + "parameters": [ + { + "$ref": "#/components/parameters/systemEventType" + } + ], + "get": { + "tags": [ + "Events", + "Rules" + ], + "summary": "Retrieve a list of rules for event", + "responses": { + "200": { + "description": "Rules were retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RuleSet" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + }, + "put": { + "tags": [ + "Events", + "Rules" + ], + "summary": "Update the rules for event", + "responses": { + "200": { + "description": "Rules were updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RuleSet" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "$ref": "#/components/requestBodies/RuleSet" + } + } + }, + "/events/{eventType}/rules/history": { + "parameters": [ + { + "$ref": "#/components/parameters/systemEventType" + } + ], + "get": { + "tags": [ + "Events", + "Rules" + ], + "summary": "Retrieve the change history of the set of rules", + "description": "Retrieve the change history of the selected set of rules.\nThe history is updated each time you change the rules.\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "$ref": "#/components/parameters/collectionFilter" + }, + { + "$ref": "#/components/parameters/collectionQuery" + }, + { + "$ref": "#/components/parameters/collectionSort" + }, + { + "$ref": "#/components/parameters/collectionFields" + }, + { + "$ref": "#/components/parameters/collectionExpand" + } + ], + "responses": { + "200": { + "description": "History was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RuleSetHistoryItem" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/events/{eventType}/rules/history/{version}": { + "parameters": [ + { + "$ref": "#/components/parameters/systemEventType" + }, + { + "$ref": "#/components/parameters/rulesVersion" + } + ], + "get": { + "tags": [ + "Events", + "Rules" + ], + "summary": "Retrieve the record from the change history of the set of rules", + "description": "Retrieve the record from the change history of the selected set of rules.\nA history record is created each time you change the rules.\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionFields" + }, + { + "$ref": "#/components/parameters/collectionExpand" + } + ], + "responses": { + "200": { + "description": "History record was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RuleSetHistoryItem" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/events/{eventType}/rules/versions/{version}": { + "parameters": [ + { + "$ref": "#/components/parameters/systemEventType" + }, + { + "$ref": "#/components/parameters/rulesVersion" + } + ], + "get": { + "tags": [ + "Events", + "Rules" + ], + "summary": "Retrieve the version of the set of rules", + "description": "Retrieve the version of the selected set of rules.\nThe versions are created each time you change the rules.\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionFields" + }, + { + "$ref": "#/components/parameters/collectionExpand" + } + ], + "responses": { + "200": { + "description": "Rules version was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RuleSetVersion" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/files": { + "get": { + "tags": [ + "Files" + ], + "summary": "Retrieve a list of files", + "description": "Retrieve a list of files\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "$ref": "#/components/parameters/collectionFilter" + }, + { + "$ref": "#/components/parameters/collectionQuery" + }, + { + "$ref": "#/components/parameters/collectionExpand" + }, + { + "$ref": "#/components/parameters/collectionFields" + }, + { + "name": "sort", + "in": "query", + "description": "The collection items sort field and order (prefix with \"-\" for descending sort).", + "style": "form", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "id", + "-id", + "name", + "-name", + "extension", + "-extension", + "size", + "-size", + "width", + "-width", + "height", + "-height", + "createdTime", + "-createdTime", + "updatedTime", + "-updatedTime" + ] + } + } + } + ], + "responses": { + "200": { + "description": "A list of Files was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/File" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$files = $client->files()->search([\n 'filter' => 'name:TestFile',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Files" + ], + "summary": "Create a file", + "description": "Create a file\n", + "responses": { + "201": { + "description": "File was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/File" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$fileForm = new Rebilly\\Entities\\File();\n$fileForm->setUrl('http://test.com/somefile.jpg');\n\ntry {\n $file = $client->files()->create($fileForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "url": { + "description": "The file URL", + "type": "string" + } + } + } + } + }, + "description": "Additionally, a file can be sent with a multipart/form-data POST request or the file's raw body can be sent as a request body", + "required": true + } + } + }, + "/files/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Files" + ], + "summary": "Retrieve a File", + "description": "Retrieve a File with specified identifier string\n", + "responses": { + "200": { + "description": "File was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/File" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$file = $client->files()->load('fileId');\n" + } + ] + }, + "put": { + "tags": [ + "Files" + ], + "summary": "Update the File with predefined ID. Note that file can be uploaded with POST only.", + "description": "Update the File with predefined ID\n", + "responses": { + "200": { + "description": "File was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/File" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$fileForm = new Rebilly\\Entities\\File();\n$fileForm->setDescription('This is a test file');\n\ntry {\n $file = $client->files()->update('fileId', $fileForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/File" + } + } + }, + "description": "File resource", + "required": true + } + }, + "delete": { + "tags": [ + "Files" + ], + "summary": "Delete a File", + "description": "Delete the File with predefined identifier string\n", + "responses": { + "204": { + "description": "File was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$client->files()->delete('fileId');\n" + } + ] + } + }, + "/files/{id}/download": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Files" + ], + "summary": "Retrieve a file", + "description": "Retrieve a file\n", + "responses": { + "200": { + "description": "The file was retrieved successfully", + "headers": { + "Content-Length": { + "description": "The number of bytes in the file", + "schema": { + "type": "integer" + } + }, + "Content-Type": { + "description": "The MIME type of the file", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "string", + "readOnly": true + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/files/{id}/download{extension}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "name": "extension", + "in": "path", + "description": "File extension which also indicates the desired file format", + "required": true, + "schema": { + "type": "string", + "enum": [ + ".png", + ".jpg" + ] + } + } + ], + "get": { + "tags": [ + "Files" + ], + "summary": "Used for converting images server-side", + "description": "Used for converting images server-side\n", + "responses": { + "200": { + "description": "The file was retrieved successfully", + "headers": { + "Content-Length": { + "description": "The number of bytes in the file", + "schema": { + "type": "integer" + } + }, + "Content-Type": { + "description": "The MIME type of the file", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "string", + "readOnly": true + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + } + } + }, + "/forgot-password": { + "post": { + "tags": [ + "Users" + ], + "summary": "Sends an email with a link containing a token to reset user password", + "description": "Sends an email with a link containing a token to reset user password\n", + "responses": { + "204": { + "description": "Email sent successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$forgotPasswordForm = new Rebilly\\Entities\\Email();\n$forgotPasswordForm->setEmail('johndoe@test.com');\n\ntry {\n $client->users()->forgotPassword($forgotPasswordForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Email" + } + } + }, + "description": "Email resource", + "required": true + } + } + }, + "/gateway-accounts": { + "get": { + "tags": [ + "Gateway Accounts" + ], + "summary": "Retrieve a list of gateway accounts", + "description": "Retrieve a list of gateway accounts\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of Gateway Accounts was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GatewayAccount" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$gatewayAccounts = $client->$gatewayAccounts()->search([\n 'filter' => 'currency:USD',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Gateway Accounts" + ], + "summary": "Create a Gateway Account", + "description": "Create a Gateway Account\n", + "responses": { + "201": { + "description": "Gateway Account was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GatewayAccount" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$gatewayAccountForm = new Rebilly\\Entities\\GatewayAccount();\n\n$gatewayAccountForm->setGatewayName('A1Gateway');\n$gatewayAccountForm->setAcquirerName('Bank of Rebilly');\n$gatewayAccountForm->setOrganizationId('organizationId');\n$gatewayAccountForm->setMerchantCategoryCode(5734);\n$gatewayAccountForm->setWebsites([\n 'websiteId1',\n 'websiteId2',\n]);\n$gatewayAccountForm->setPaymentCardSchemes([\n Rebilly\\Entities\\PaymentCardScheme::SCHEME_VISA,\n Rebilly\\Entities\\PaymentCardScheme::SCHEME_MASTERCARD,\n]);\n$gatewayAccountForm->setMethod(Rebilly\\Entities\\PaymentMethod::METHOD_CASH);\n\n$gatewayConfig = [\n 'accountId' => 'test',\n 'password' => '123',\n];\n\n$gatewayAccountForm->setGatewayConfig($gatewayConfig);\n\ntry {\n $gatewayAccount = $client->gatewayAccounts()->create($gatewayAccountForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/GatewayAccount" + } + } + }, + "/gateway-accounts/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Gateway Accounts" + ], + "summary": "Retrieve a Gateway Account", + "description": "Retrieve a Gateway Account with specified identifier string\n", + "responses": { + "200": { + "description": "Gateway Account was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GatewayAccount" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$gatewayAccount = $client->gatewayAccounts()->load('gatewayAccountId');\n" + } + ] + }, + "put": { + "tags": [ + "Gateway Accounts" + ], + "summary": "Create or update a Gateway Account with predefined ID", + "description": "Create or update a GatewayAccount with predefined identifier string\n", + "responses": { + "200": { + "description": "Gateway Account was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GatewayAccount" + } + } + } + }, + "201": { + "description": "Gateway Account was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GatewayAccount" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$gatewayAccountForm = new Rebilly\\Entities\\GatewayAccount();\n\n$gatewayAccountForm->setGatewayName('A1Gateway');\n$gatewayAccountForm->setAcquirerName('Bank of Rebilly');\n$gatewayAccountForm->setOrganizationId('organizationId');\n$gatewayAccountForm->setMerchantCategoryCode(5734);\n$gatewayAccountForm->setWebsites([\n 'websiteId1',\n 'websiteId2',\n]);\n$gatewayAccountForm->setPaymentCardSchemes([\n Rebilly\\Entities\\PaymentCardScheme::SCHEME_VISA,\n Rebilly\\Entities\\PaymentCardScheme::SCHEME_MASTERCARD,\n]);\n$gatewayAccountForm->setMethod(Rebilly\\Entities\\PaymentMethod::METHOD_CASH);\n\n$gatewayConfig = [\n 'accountId' => 'test',\n 'password' => '123',\n];\n\n$gatewayAccountForm->setGatewayConfig($gatewayConfig);\n\ntry {\n $gatewayAccount = $client->gatewayAccounts()->update('gatewayAccountId', $gatewayAccountForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/GatewayAccount" + } + }, + "patch": { + "tags": [ + "Gateway Accounts" + ], + "summary": "Update a Gateway Account with predefined ID", + "description": "Update a GatewayAccount with predefined identifier string\n", + "responses": { + "200": { + "description": "Gateway Account was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GatewayAccount" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "$ref": "#/components/requestBodies/GatewayAccount" + } + }, + "delete": { + "tags": [ + "Gateway Accounts" + ], + "summary": "Delete a Gateway Account", + "description": "Delete a Gateway Account with predefined identifier string\n", + "responses": { + "204": { + "description": "Gateway Account was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "$ref": "#/components/responses/Conflict" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "try {\n $client->gatewayAccounts()->delete('gatewayAccountId');\n} catch (ServerException $e) {\n echo $e->getMessage();\n}\n" + } + ] + } + }, + "/invoices": { + "get": { + "tags": [ + "Invoices" + ], + "summary": "Retrieve a list of invoices", + "description": "Retrieve a list of invoices\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "name": "Accept", + "in": "header", + "description": "The response media type", + "schema": { + "type": "string", + "enum": [ + "application/json", + "text/csv" + ], + "default": "application/json" + } + } + ], + "responses": { + "200": { + "description": "A list of invoices was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Invoice" + } + } + }, + "text/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Invoice" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$invoices = $client->invoices()->search([\n 'filter' => 'customerId:testCustomerId',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Invoices" + ], + "summary": "Create an invoice", + "description": "Create an invoice\n", + "responses": { + "201": { + "description": "Invoice was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Invoice" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$invoiceForm = new Rebilly\\Entities\\Invoice();\n$invoiceForm->setCustomerId('customerId');\n$invoiceForm->setWebsiteId('websiteId');\n$invoiceForm->setCurrency('USD');\n\ntry {\n $invoice = $client->invoices()->create($invoiceForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Invoice" + } + } + }, + "/invoices/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Invoices" + ], + "summary": "Retrieve an invoice", + "description": "Retrieve an invoice with specified identifier string\n", + "parameters": [ + { + "name": "Accept", + "in": "header", + "description": "The response media type", + "schema": { + "type": "string", + "enum": [ + "application/json", + "application/pdf" + ], + "default": "application/json" + } + } + ], + "responses": { + "200": { + "description": "Invoice was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Invoice" + } + }, + "application/pdf": { + "schema": { + "$ref": "#/components/schemas/Invoice" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$invoice = $client->invoices()->load('invoiceId');\n" + } + ] + }, + "put": { + "tags": [ + "Invoices" + ], + "summary": "Create or update an invoice with predefined ID", + "description": "Create or update an invoice with predefined identifier string\n", + "responses": { + "200": { + "description": "Invoice was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Invoice" + } + } + } + }, + "201": { + "description": "Invoice was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Invoice" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$invoiceForm = new Rebilly\\Entities\\Invoice();\n$invoiceForm->setCustomerId('customerId');\n$invoiceForm->setWebsiteId('websiteId');\n$invoiceForm->setCurrency('USD');\n\ntry {\n $invoice = $client->invoices()->update('invoiceId', $invoiceForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Invoice" + } + } + }, + "/invoices/{id}/abandon": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "Invoices" + ], + "summary": "Abandon an invoice", + "description": "Abandon an invoice with specified identifier string\n", + "responses": { + "201": { + "description": "Invoice was abandoned successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Invoice" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$invoice = $client->invoices()->abandon('invoiceId');\n" + } + ] + } + }, + "/invoices/{id}/issue": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "Invoices" + ], + "summary": "Issue an invoice", + "description": "Issue an invoice with specified identifier string\n", + "responses": { + "201": { + "description": "Invoice was issued successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Invoice" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$invoice = $client->invoices()->issue('invoiceId', '2025-01-01 05:00:00');\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvoiceIssue" + } + } + }, + "description": "InvoiceIssue resource", + "required": true + } + } + }, + "/invoices/{id}/items": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Invoices" + ], + "summary": "Retrieve invoice items", + "description": "Retrieve an invoice items with specified invoice identifier string\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "Invoice items were retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/InvoiceItem" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$invoiceItems = $client->invoiceItems()->search('invoiceId', [\n 'filter' => 'quantity:5',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Invoices" + ], + "summary": "Create an invoice item", + "description": "Create an invoice item\n", + "responses": { + "201": { + "description": "InvoiceItem was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvoiceItem" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$invoiceItemForm = new Rebilly\\Entities\\InvoiceItem();\n$invoiceItemForm->setType($invoiceItemForm::TYPE_DEBIT);\n$invoiceItemForm->setUnitPrice(0.99);\n$invoiceItemForm->setQuantity(5);\n\ntry {\n $invoiceItem = $client->invoiceItems()->create($invoiceItemForm, 'invoiceId');\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvoiceItem" + } + } + }, + "description": "InvoiceItem resource", + "required": true + } + } + }, + "/invoices/{id}/lead-source": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Invoices" + ], + "summary": "Retrieve an invoice's Lead Source", + "description": "Retrieve a Lead Source of given invoice\n", + "responses": { + "200": { + "description": "Lead Source was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadSource" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$invoice = $client->invoices()->load('invoiceId');\n$leadSource = $invoice->getLeadSource();\n" + } + ] + }, + "put": { + "tags": [ + "Invoices" + ], + "summary": "Create a Lead Source for an invoice", + "description": "Create a Lead Source for an invoice\n", + "responses": { + "200": { + "description": "Lead Source was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadSource" + } + } + } + }, + "201": { + "description": "Lead Source was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadSource" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$leadSourceForm = new Rebilly\\Entities\\LeadSource();\n$leadSourceForm->setSource('TestSource');\n$leadSourceForm->setCampaign('TestCampaign');\n\ntry {\n $invoice = $client->invoices()->updateLeadSource('invoiceId', $leadSourceForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/LeadSource" + } + }, + "delete": { + "tags": [ + "Invoices" + ], + "summary": "Delete a Lead Source for an invoice", + "description": "Delete a Lead Source that belongs to a certain invoice\n", + "responses": { + "204": { + "description": "Lead Source was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "description": "Lead Source cannot be deleted" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$invoice = $client->invoices()->deleteLeadSource('invoiceId');\n" + } + ] + } + }, + "/invoices/{id}/void": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "Invoices" + ], + "summary": "Void an invoice", + "description": "Void an invoice with specified identifier string\n", + "responses": { + "201": { + "description": "Invoice was voided successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Invoice" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$invoice = $client->invoices()->void('invoiceId');\n" + } + ] + } + }, + "/layouts": { + "get": { + "tags": [ + "Layouts" + ], + "summary": "Retrieve a layout list", + "description": "Retrieve a layout list\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "Layout list was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Layout" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$layouts = $client->layouts()->search([\n 'filter' => 'name:TestLayout',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Layouts" + ], + "summary": "Create a layout", + "description": "Create a layout\n", + "responses": { + "201": { + "description": "Layout was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Layout" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$layoutForm = new Rebilly\\Entities\\Layout();\n$layoutItemForm = new Rebilly\\Entities\\LayoutItem();\n\n$layoutItemForm->setPlanId('planId');\n$layoutItemForm->setStarred(false);\n\n$layoutForm->setName('TestLayout');\n$layoutForm->setLayoutItems([\n $layoutItemForm,\n]);\n\ntry {\n $layout = $client->layouts()->create($layoutForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Layout" + } + } + }, + "/layouts/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Layouts" + ], + "summary": "Retrieve a layout", + "description": "Retrieve a layout with specified identifier string\n", + "responses": { + "200": { + "description": "Layout was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Layout" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$layout = $client->layouts()->load('layoutId');\n" + } + ] + }, + "put": { + "tags": [ + "Layouts" + ], + "summary": "Create or update a layout with predefined ID", + "description": "Create or update a layout with predefined identifier string\n", + "responses": { + "200": { + "description": "Layout was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Layout" + } + } + } + }, + "201": { + "description": "Layout was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Layout" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$layoutForm = new Rebilly\\Entities\\Layout();\n$layoutItemForm = new Rebilly\\Entities\\LayoutItem();\n\n$layoutItemForm->setPlanId('planId');\n$layoutItemForm->setStarred(false);\n\n$layoutForm->setName('TestLayout');\n$layoutForm->setLayoutItems([\n $layoutItemForm,\n]);\n\ntry {\n $layout = $client->layouts()->update('layoutId', $layoutForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Layout" + } + }, + "delete": { + "tags": [ + "Layouts" + ], + "summary": "Delete a layout", + "description": "Delete a layout with predefined identifier string\n", + "responses": { + "204": { + "description": "Layout was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$client->layouts()->delete('layoutId');\n" + } + ] + } + }, + "/lists": { + "get": { + "tags": [ + "Lists" + ], + "summary": "Retrieve a collection of Lists (latest version of each List)", + "description": "Retrieve a collection of Lists\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "$ref": "#/components/parameters/collectionFilter" + }, + { + "$ref": "#/components/parameters/collectionCriteria" + }, + { + "$ref": "#/components/parameters/collectionSort" + } + ], + "responses": { + "200": { + "description": "A collection of Lists was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/List" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + } + }, + "post": { + "tags": [ + "Lists" + ], + "summary": "Create a List", + "description": "Create a List\n", + "responses": { + "201": { + "description": "List was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/List" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "$ref": "#/components/requestBodies/List" + } + } + }, + "/lists/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Lists" + ], + "summary": "Retrieve list's latest version", + "description": "Retrieve latest version of List with specified identifier string\n", + "responses": { + "200": { + "description": "List was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/List" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + }, + "put": { + "tags": [ + "Lists" + ], + "summary": "Create or update a list with predefined ID", + "description": "Create or update a list with predefined identifier string\n", + "responses": { + "200": { + "description": "List was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/List" + } + } + } + }, + "201": { + "description": "List was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/List" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "requestBody": { + "$ref": "#/components/requestBodies/List" + } + }, + "delete": { + "tags": [ + "Lists" + ], + "summary": "Delete a list", + "description": "Delete a list with predefined identifier string\n", + "responses": { + "204": { + "description": "List was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "description": "List is used in Rules and cannot be deleted" + } + } + } + }, + "/lists/{id}/{version}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "name": "version", + "in": "path", + "required": true, + "description": "List version", + "schema": { + "type": "integer", + "minimum": 1 + } + } + ], + "get": { + "tags": [ + "Lists" + ], + "summary": "Retrieve List's exact version", + "responses": { + "200": { + "description": "List's exact version was retrieved successfully", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/List" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/notes": { + "get": { + "tags": [ + "Notes" + ], + "summary": "Retrieve a list of notes", + "description": "Retrieve a list of notes\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of Notes was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Note" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$notes = $client->notes()->search([\n 'filter' => 'relatedType:customer',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Notes" + ], + "summary": "Create a note", + "description": "Create a note\n", + "responses": { + "201": { + "description": "Note was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Note" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$noteForm = new Rebilly\\Entities\\Note();\n$noteForm->setRelatedId('customerId');\n$noteForm->setRelatedType(Rebilly\\Entities\\ResourceType::TYPE_CUSTOMER);\n$noteForm->setContent('Test Note');\n\ntry {\n $note = $client->notes()->create($noteForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Note" + } + } + }, + "/notes/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Notes" + ], + "summary": "Retrieve a note", + "description": "Retrieve a note with specified identifier string\n", + "responses": { + "200": { + "description": "Note was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Note" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$note = $client->notes()->load('noteId');\n" + } + ] + }, + "put": { + "tags": [ + "Notes" + ], + "summary": "Create or update a note with predefined ID", + "description": "Create or update a note with predefined identifier string\n", + "responses": { + "200": { + "description": "Note was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Note" + } + } + } + }, + "201": { + "description": "Note was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Note" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$noteForm = new Rebilly\\Entities\\Note();\n$noteForm->setRelatedId('customerId');\n$noteForm->setRelatedType(Rebilly\\Entities\\ResourceType::TYPE_CUSTOMER);\n$noteForm->setContent('Test Note');\n\ntry {\n $note = $client->notes()->update('noteId', $noteForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Note" + } + } + }, + "/organizations": { + "get": { + "tags": [ + "Organizations" + ], + "summary": "Retrieve a list of organizations", + "description": "Retrieve a list of organizations\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of organizations was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Organization" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$organizations = $client->organizations()->search([\n 'filter' => 'city:Test',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Organizations" + ], + "summary": "Create a organization", + "description": "Create a organization\n", + "responses": { + "201": { + "description": "Organization was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Organization" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$organizationForm = new Rebilly\\Entities\\Organization();\n$organizationForm->setName('Test Organization');\n$organizationForm->setCountry('US');\n\ntry {\n $organization = $client->organizations()->create($organizationForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Organization" + } + } + }, + "/organizations/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Organizations" + ], + "summary": "Retrieve a organization", + "description": "Retrieve a organization with specified identifier string\n", + "responses": { + "200": { + "description": "Organization was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Organization" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$organization = $client->organizations()->load('organizationId');\n" + } + ] + }, + "put": { + "tags": [ + "Organizations" + ], + "summary": "Create or update a organization with predefined ID", + "description": "Create or update a organization with predefined identifier string\n", + "responses": { + "200": { + "description": "Organization was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Organization" + } + } + } + }, + "201": { + "description": "Organization was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Organization" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$organizationForm = new Rebilly\\Entities\\Organization();\n$organizationForm->setName('Test Organization');\n$organizationForm->setCountry('US');\n\ntry {\n $organization = $client->organizations()->update('organizationId', $organizationForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Organization" + } + }, + "delete": { + "tags": [ + "Organizations" + ], + "summary": "Delete a organization", + "description": "Delete a organization with predefined identifier string\n", + "responses": { + "204": { + "description": "Organization was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "description": "Organization has related resources and cannot be deleted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, + "/password-tokens": { + "get": { + "tags": [ + "Customer Authentication" + ], + "summary": "Retrieve a list of tokens", + "description": "Retrieve a list of tokens\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of Reset Password Tokens was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResetPasswordToken" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$resetPasswordTokens = $client->resetPasswordTokens()->search([\n 'filter' => 'token:string',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Customer Authentication" + ], + "summary": "Create a Reset Password Token", + "description": "Create a Reset Password Token\n", + "responses": { + "201": { + "description": "Reset Password Token was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResetPasswordToken" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$resetPasswordTokenForm = new Rebilly\\Entities\\ResetPasswordToken();\n$resetPasswordTokenForm->setUserName('test');\n$resetPasswordTokenForm->setPassword('1234');\n\ntry {\n $$resetPasswordToken = $client->resetPasswordTokens()->create($resetPasswordTokenForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResetPasswordToken" + } + } + }, + "description": "ResetPasswordToken resource", + "required": true + } + } + }, + "/password-tokens/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Customer Authentication" + ], + "summary": "Retrieve a Reset Password Token", + "description": "Retrieve a Reset Password Token with specified identifier string\n", + "responses": { + "200": { + "description": "ResetPasswordToken was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResetPasswordToken" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$resetPasswordToken = $client->resetPasswordTokens()->load('tokenId');\n" + } + ] + }, + "delete": { + "tags": [ + "Customer Authentication" + ], + "summary": "Delete a Reset Password Token", + "description": "Delete a Reset Password Token with predefined identifier string\n", + "responses": { + "204": { + "description": "ResetPasswordToken was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "description": "ResetPasswordToken has related resources and cannot be deleted" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "try {\n $client->websites()->delete('websiteId');\n} catch (ServerException $e) {\n echo $e->getMessage();\n}\n" + } + ] + } + }, + "/payment-cards-migrations": { + "get": { + "tags": [ + "Migrate payment cards" + ], + "summary": "Retrieve a list of payment cards ready for migration", + "description": "Retrieve a list of payment cards ready for migration\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of payment cards was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PaymentCard" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$paymentCardMigrations = $client->paymentCardMigrations()->search([\n 'filter' => 'status:active',\n]);\n" + } + ] + } + }, + "/payment-cards-migrations/migrate": { + "post": { + "tags": [ + "Migrate payment cards" + ], + "summary": "Migrate payment cards to another gateway account", + "description": "Migrate payment cards to another gateway account\n", + "responses": { + "201": { + "description": "Migration command was accepted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentCardMigrationResponse" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$paymentCardMigrationForm = new Rebilly\\Entities\\PaymentCardMigrationsRequest();\n$paymentCardMigrationForm->setFromGatewayAccountId('gatewayAccountId');\n$paymentCardMigrationForm->setToGatewayAccountId('newGatewayAccountId');\n\n$paymentCardIds = [\n 'testPaymentCardId',\n 'testPaymentCardId2',\n];\n\n$paymentCardMigrationForm->setPaymentCardIds($paymentCardIds)\n\ntry {\n $paymentCardMigrationResponse = $client->paymentCardMigrations()->migrate($paymentCardMigrationForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentCardMigrationRequest" + } + } + }, + "description": "Payment card migration attributes", + "required": true + } + } + }, + "/payment-cards": { + "get": { + "tags": [ + "Payment Cards" + ], + "summary": "Retrieve a list of Payment Cards", + "description": "Retrieve a list of Payments Cards\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of Payment Card was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PaymentCard" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$paymentCards = $client->paymentCards()->search([\n 'filter' => 'status:active',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Payment Cards" + ], + "summary": "Create a Payment Card", + "description": "Create a Payment Card\n", + "responses": { + "201": { + "description": "Payment Card was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentCard" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$paymentCardForm = new Rebilly\\Entities\\PaymentCard();\n$paymentCardForm->setCustomerId('customerId');\n$paymentCardForm->setPan('4111111111111111');\n$paymentCardForm->setExpYear(2025);\n$paymentCardForm->setExpMonth(8);\n$paymentCardForm->setBillingContactId('contactId');\n\ntry {\n $paymentCard = $client->paymentCards()->create($paymentCardForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentCard" + } + } + }, + "description": "PaymentCard resource", + "required": true + } + } + }, + "/payment-cards/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Payment Cards" + ], + "summary": "Retrieve a Payment Card", + "description": "Retrieve a Payment Card with specified identifier string\n", + "responses": { + "200": { + "description": "PaymentCard was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentCard" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$paymentCard = $client->paymentCards()->load('paymentCardId');\n" + } + ] + }, + "patch": { + "tags": [ + "Payment Cards" + ], + "summary": "Update a payment card's cvv value with predefined ID", + "description": "Update a payment card's cvv value with predefined identifier string\n", + "responses": { + "200": { + "description": "Gateway Account was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentCard" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cvv": { + "description": "Card's cvv (card verification value).", + "type": "string" + } + } + } + } + }, + "description": "Payment card", + "required": true + } + }, + "put": { + "tags": [ + "Payment Cards" + ], + "summary": "Create a payment card with predefined ID", + "responses": { + "201": { + "description": "Payment card was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentCard" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "409": { + "description": "Payment card already exists and cannot be updated", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$paymentCardForm = new Rebilly\\Entities\\PaymentCard();\n$paymentCardForm->setCustomerId('customerId');\n$paymentCardForm->setPan('4111111111111111');\n$paymentCardForm->setExpYear(2025);\n$paymentCardForm->setExpMonth(8);\n$paymentCardForm->setBillingContactId('contactId');\n\ntry {\n $paymentCard = $client->paymentCards()->create($paymentCardForm, 'paymentCardId');\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentCard" + } + } + }, + "description": "Payment card", + "required": true + } + } + }, + "/payment-cards/{id}/authorization": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "Payment Cards" + ], + "summary": "Authorize a Payment Card", + "description": "Authorize a Payment Card\n", + "responses": { + "201": { + "description": "Authorization successful", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentCard" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$paymentCardAuthorizationForm = new Rebilly\\Entities\\PaymentCardAuthorization();\n$paymentCardAuthorizationForm->setWebsiteId('websiteId');\n$paymentCardAuthorizationForm->setCurrency('USD');\n$paymentCardAuthorizationForm->setGatewayAccountId('gatewayAccountId');\n\ntry {\n $paymentCard = $client->paymentCards()->authorize('paymentCardId', $paymentCardAuthorizationForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "websiteId", + "currency" + ], + "properties": { + "websiteId": { + "description": "The Website ID", + "type": "string" + }, + "currency": { + "description": "Currency (three letter code)", + "type": "string" + }, + "gatewayAccountId": { + "description": "The Gateway account ID", + "type": "string" + }, + "amount": { + "description": "Amount", + "type": "number", + "format": "double" + } + } + } + } + }, + "description": "Payment Card resource", + "required": true + } + } + }, + "/payment-cards/{id}/deactivation": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "Payment Cards" + ], + "summary": "Deactivate a Payment Card", + "description": "Deactivate a Payment Card\n", + "responses": { + "201": { + "description": "Authorization successful", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentCard" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$client->paymentCards()->deactivate('paymentCardId');\n" + } + ] + } + }, + "/payments": { + "get": { + "tags": [ + "Payments" + ], + "summary": "Retrieve a payment list", + "description": "Retrieve a payment list\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "name": "Accept", + "in": "header", + "description": "The response media type", + "schema": { + "type": "string", + "enum": [ + "application/json", + "text/csv" + ], + "default": "application/json" + } + } + ], + "responses": { + "200": { + "description": "Payment list was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Payment" + } + } + }, + "text/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Payment" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$payments = $client->payments()->search([\n 'filter' => 'currency:USD',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Payments" + ], + "summary": "Create a payment", + "description": "Create a payment\n", + "responses": { + "201": { + "description": "Payment was processed", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Payment" + } + } + } + } + }, + "202": { + "description": "Payment was accepted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Payment" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "409": { + "$ref": "#/components/responses/Conflict" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$paymentForm = new Rebilly\\Entities\\Payment();\n\n$paymentForm->setWebsiteId('websiteId');\n$paymentForm->setCustomerId('customerId');\n$paymentForm->setCurrency('USD');\n$paymentForm->setAmount(1.99);\n\n$data = [\n 'method' => Rebilly\\Entities\\PaymentMethod::METHOD_CASH,\n];\n\n$paymentInstrumentForm = new Rebilly\\Entities\\PaymentMethodInstrument($data);\n\n$paymentForm->setPaymentInstrument($paymentInstrumentForm);\n\ntry {\n $payment = $client->payments()->create($paymentForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Payment" + } + } + }, + "/payments/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Payments" + ], + "summary": "Retrieve a payment", + "description": "Retrieve a payment with specified identifier string\n", + "responses": { + "200": { + "description": "Payment was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Payment" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$payment = $client->payments()->load('paymentId');\n" + } + ] + }, + "put": { + "tags": [ + "Payments" + ], + "summary": "Create a payment with predefined ID", + "description": "Make a payment with predefined identifier string\n", + "responses": { + "201": { + "description": "Payment was processed", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Payment" + } + } + } + } + }, + "202": { + "description": "Payment was accepted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Payment" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$paymentForm = new Rebilly\\Entities\\Payment();\n\n$paymentForm->setWebsiteId('websiteId');\n$paymentForm->setCustomerId('customerId');\n$paymentForm->setCurrency('USD');\n$paymentForm->setAmount(1.99);\n\n$data = [\n 'method' => Rebilly\\Entities\\PaymentMethod::METHOD_CASH,\n];\n\n$paymentInstrumentForm = new Rebilly\\Entities\\PaymentMethodInstrument($data);\n\n$paymentForm->setPaymentInstrument($paymentInstrumentForm);\n\ntry {\n $payment = $client->payments()->update('paymentId', $paymentForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Payment" + } + } + }, + "/paypal-accounts": { + "get": { + "tags": [ + "PayPal Accounts" + ], + "summary": "Retrieve a list of PayPal accounts", + "description": "Retrieve a list of PayPal Accounts\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of PayPal Accounts was retrieved successfully", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PayPalAccount" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + } + }, + "post": { + "tags": [ + "PayPal Accounts" + ], + "summary": "Create a PayPal Account", + "description": "Create a PayPal Account\n", + "responses": { + "201": { + "description": "PayPal Account was created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PayPalAccount" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PayPalAccount" + } + } + }, + "description": "PayPalAccount resource", + "required": true + } + } + }, + "/paypal-accounts/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "PayPal Accounts" + ], + "summary": "Retrieve a PayPal Account", + "description": "Retrieve a PayPal Account with specified identifier string\n", + "responses": { + "200": { + "description": "PayPal Account was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PayPalAccount" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + }, + "put": { + "tags": [ + "PayPal Accounts" + ], + "summary": "Create a PayPal account with predefined ID", + "responses": { + "201": { + "description": "PayPal Account was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PayPalAccount" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "409": { + "description": "PayPal Account exist and cannot be updated", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PayPalAccount" + } + } + }, + "description": "PayPal Account", + "required": true + } + } + }, + "/paypal-accounts/{id}/activation": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "PayPal Accounts" + ], + "summary": "Activate a PayPal Account", + "description": "Activate a PayPal Account\n", + "responses": { + "201": { + "description": "Activate successful", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PayPalAccount" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "websiteId", + "currency" + ], + "properties": { + "websiteId": { + "description": "The Website ID", + "type": "string" + }, + "currency": { + "description": "Currency (three letter code)", + "type": "string" + }, + "amount": { + "description": "The amount to authorize", + "type": "number", + "format": "double", + "default": 1 + }, + "redirectURLs": { + "description": "Redirect URLs", + "type": "object" + }, + "gatewayAccountId": { + "description": "The Gateway Account ID which use to send transactions", + "type": "string" + } + } + } + } + }, + "description": "PayPal Account resource", + "required": true + } + } + }, + "/paypal-accounts/{id}/deactivation": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "PayPal Accounts" + ], + "summary": "Deactivate a PayPal Account", + "description": "Deactivate a PayPal Account\n", + "responses": { + "201": { + "description": "Deactivate successful", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PayPalAccount" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + } + } + }, + "/plans": { + "get": { + "tags": [ + "Plans" + ], + "summary": "Retrieve a list of plans", + "description": "Retrieve a list of plans\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of Plans was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Plan" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$plans = $client->plans()->search([\n 'filter' => 'name:TestPlan',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Plans" + ], + "summary": "Create a plan", + "description": "Create a plan\n", + "responses": { + "201": { + "description": "Plan was created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Plan" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$planForm = new Rebilly\\Entities\\Plan();\n$planForm->setName('TestPlan');\n$planForm->setCurrency('USD');\n$planForm->setTrialAmount(1);\n$planForm->setTrialPeriodUnit('day');\n$planForm->setTrialPeriodLength(1);\n\ntry {\n $plan = $client->plans()->create($planForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Plan" + } + } + }, + "/plans/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Plans" + ], + "summary": "Retrieve a plan", + "description": "Retrieve a plan with specified identifier string\n", + "responses": { + "200": { + "description": "Plan was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Plan" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$plan = $client->plans()->load('planId');\n" + } + ] + }, + "put": { + "tags": [ + "Plans" + ], + "summary": "Create or update a Plan with predefined ID", + "description": "Create or update a Plan with predefined identifier string\n", + "responses": { + "200": { + "description": "Plan was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Plan" + } + } + } + }, + "201": { + "description": "Plan was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Plan" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$planForm = new Rebilly\\Entities\\Plan();\n$planForm->setName('TestPlan');\n$planForm->setCurrency('USD');\n$planForm->setTrialAmount(1);\n$planForm->setTrialPeriodUnit('day');\n$planForm->setTrialPeriodLength(1);\n\ntry {\n $plan = $client->plans()->update('planId', $planForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Plan" + } + }, + "delete": { + "tags": [ + "Plans" + ], + "summary": "Delete a Plan", + "description": "Delete a Plan with predefined identifier string\n", + "responses": { + "204": { + "description": "Plan was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$client->plans()->delete('planId');\n" + } + ] + } + }, + "/previews/rule-actions/send-email": { + "post": { + "tags": [ + "Rules" + ], + "summary": "Send a test email", + "description": "Send a test email\n", + "security": [ + { + "RebAuth": [] + } + ], + "responses": { + "200": { + "description": "Test email was sent", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SendTestEmail" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SendTestEmail" + } + } + }, + "description": "Test email resource", + "required": true + } + } + }, + "/previews/rule-actions/trigger-webhook": { + "post": { + "tags": [ + "Rules" + ], + "summary": "Trigger a test webhook", + "description": "Trigger a test webhook\n", + "security": [ + { + "RebAuth": [] + } + ], + "responses": { + "200": { + "description": "Test webhook was triggered", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SendPreviewWebhook" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SendPreviewWebhook" + } + } + }, + "description": "Test webhook resource", + "required": true + } + } + }, + "/previews/webhooks": { + "post": { + "tags": [ + "Webhooks" + ], + "summary": "Trigger a test webhook", + "description": "Trigger a test webhook\n", + "responses": { + "204": { + "description": "Test webhook was triggered", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "$ref": "#/components/requestBodies/GlobalWebhook" + } + } + }, + "/products": { + "get": { + "tags": [ + "Products" + ], + "summary": "Retrieve a list of products", + "description": "Retrieve a list of products\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of products was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Product" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + } + }, + "post": { + "tags": [ + "Products" + ], + "summary": "Create a Product", + "description": "Create a Product\n", + "responses": { + "201": { + "description": "Product was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Product" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "requestBody": { + "$ref": "#/components/requestBodies/Product" + } + } + }, + "/products/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Products" + ], + "summary": "Retrieve a product", + "description": "Retrieve a product with specified identifier string\n", + "responses": { + "200": { + "description": "Product was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Product" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + }, + "put": { + "tags": [ + "Products" + ], + "summary": "Create a product with predefined ID", + "description": "Create a product with predefined identifier string\n", + "responses": { + "200": { + "description": "Product was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Product" + } + } + } + }, + "201": { + "description": "Product was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Product" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "requestBody": { + "$ref": "#/components/requestBodies/Product" + } + }, + "delete": { + "tags": [ + "Products" + ], + "summary": "Delete a product", + "description": "Delete a product with predefined identifier string\n", + "responses": { + "204": { + "description": "Product was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/profile": { + "get": { + "tags": [ + "Profile" + ], + "summary": "Retrieve user's profile", + "description": "Retrieve user's profile\n", + "responses": { + "200": { + "description": "Profile was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Profile" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + }, + "put": { + "tags": [ + "Profile" + ], + "summary": "Update user's profile", + "description": "Update user's profile\n", + "responses": { + "200": { + "description": "Profile was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Profile" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Profile" + } + } + }, + "description": "Profile resource", + "required": true + } + } + }, + "/profile/password": { + "post": { + "tags": [ + "Profile" + ], + "summary": "Updates user's password with the specified newPassword", + "description": "Updates user's password with the specified newPassword. And checks if currentPassword matches the actual one.\n", + "responses": { + "201": { + "description": "Password updated successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Profile" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "requestBody": { + "$ref": "#/components/requestBodies/UpdatePassword" + } + } + }, + "/profile/totp-reset": { + "post": { + "tags": [ + "Profile" + ], + "summary": "Reset (renew) totpSecret", + "description": "Reset (renew) totpSecret\n", + "responses": { + "201": { + "description": "totpSecret reset (renewed) successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Profile" + } + } + } + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/queue/custom-events": { + "get": { + "tags": [ + "Custom Events" + ], + "summary": "Retrieve a list of scheduled custom events", + "description": "Retrieve a list of scheduled custom events\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of scheduled custom events was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomEvent" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + } + } + }, + "/queue/custom-events/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Custom Events" + ], + "summary": "Retrieve a scheduled custom event", + "description": "Retrieve a scheduled custom event with predefined identifier string\n", + "responses": { + "200": { + "description": "Scheduled custom event was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomEvent" + } + } + } + }, + "303": { + "description": "Custom event was successfully processed and moved out from queue", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomEvent" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + }, + "delete": { + "tags": [ + "Custom Events" + ], + "summary": "Delete a scheduled custom event", + "description": "Delete a scheduled custom event with predefined identifier string\n", + "responses": { + "204": { + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "description": "Scheduled custom event was deleted" + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/queue/payments": { + "get": { + "tags": [ + "Payments" + ], + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "summary": "Retrieve a scheduled payment list", + "description": "Retrieve a scheduled payment list\n", + "responses": { + "200": { + "description": "Successful retrieve the payments list that still waiting to be processed", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Payment" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$payments = $client->payments()->searchInQueue([\n 'filter' => 'currency:USD',\n]);\n" + } + ] + } + }, + "/queue/payments/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Payments" + ], + "summary": "Retrieve a scheduled payment", + "description": "Retrieve a payment with specified identifier string\n", + "responses": { + "200": { + "description": "Successful retrieve the payment that still waiting to be processed", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Payment" + } + } + } + }, + "303": { + "description": "Payment was successfully processed and moved out from queue", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Payment" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$payment = $client->payments()->loadFromQueue('paymentId');\n" + } + ] + }, + "put": { + "tags": [ + "Payments" + ], + "summary": "Update pending payment", + "responses": { + "200": { + "description": "Payment was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Payment" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "description": "Payment is already handled and cannot be updated" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "requestBody": { + "$ref": "#/components/requestBodies/Payment" + } + } + }, + "/sessions": { + "get": { + "tags": [ + "Sessions" + ], + "summary": "Retrieve a list of sessions", + "description": "Retrieve a list of sessions\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of Sessions was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Session" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$sessions = $client->sessions()->search([\n 'filter' => 'userId:testUserId',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Sessions" + ], + "summary": "Create a session", + "description": "Create a session\n", + "responses": { + "201": { + "description": "Session was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Session" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$sessionForm = new Rebilly\\Entities\\Session();\n\n$permissions = [\n // Example permission to use GET and POST methods only for certain Customers\n [\n 'resourceName' => Rebilly\\Entities\\ResourceType::TYPE_CUSTOMERS,\n 'methods' => [\n $sessionForm::METHOD_GET,\n $sessionForm::METHOD_POST,\n ],\n 'resourceIds' => [\n 'testCustomerId',\n 'testCustomerId2',\n ],\n ],\n // Example permission to use all methods for Websites resource\n [\n 'resourceName' => Rebilly\\Entities\\ResourceType::TYPE_WEBSITES,\n 'methods' => [\n $sessionForm::METHOD_GET,\n $sessionForm::METHOD_POST,\n $sessionForm::METHOD_PUT,\n $sessionForm::METHOD_HEAD,\n $sessionForm::METHOD_DELETE,\n ],\n ],\n // Example permission to use all methods for all resources\n [],\n];\n\n$sessionForm->setPermissions($permissions);\n\ntry {\n $session = $client->sessions()->create($sessionForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Session" + } + } + }, + "description": "Sessions resource", + "required": true + } + } + }, + "/sessions/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Sessions" + ], + "summary": "Retrieve a Session", + "description": "Retrieve a Session with specified identifier string\n", + "responses": { + "200": { + "description": "Session was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Session" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$session = $client->sessions()->load('sessionId');\n" + } + ] + }, + "put": { + "tags": [ + "Sessions" + ], + "summary": "Create or update a Session with predefined ID", + "description": "Create or update a Session with predefined identifier string\n", + "responses": { + "200": { + "description": "Session was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Session" + } + } + } + }, + "201": { + "description": "Session was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Session" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$sessionForm = new Rebilly\\Entities\\Session();\n\n$permissions = [\n [\n 'resourceName' => Rebilly\\Entities\\ResourceType::TYPE_CUSTOMERS,\n 'methods' => [\n $sessionForm::METHOD_GET,\n $sessionForm::METHOD_POST,\n ],\n 'resourceIds' => [\n 'testCustomerId',\n 'testCustomerId2',\n ],\n ],\n [\n 'resourceName' => Rebilly\\Entities\\ResourceType::TYPE_WEBSITES,\n 'methods' => [\n $sessionForm::METHOD_GET,\n $sessionForm::METHOD_POST,\n ],\n 'resourceIds' => [\n 'testWebsiteId',\n 'testWebsiteId2',\n ],\n ],\n];\n\n$sessionForm->setPermissions($permissions);\n\ntry {\n $session = $client->sessions()->update('sessionId', $sessionForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Session" + } + } + }, + "description": "Session resource", + "required": true + } + }, + "delete": { + "tags": [ + "Sessions" + ], + "summary": "Delete a Session", + "description": "Delete a Session with predefined identifier string\n", + "responses": { + "204": { + "description": "Session was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "description": "Session has related resources and cannot be deleted" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "try {\n $client->sessions()->delete('sessionId');\n} catch (ServerException $e) {\n echo $e->getMessage();\n}\n" + } + ] + } + }, + "/shipping-zones": { + "get": { + "tags": [ + "Shipping Zones" + ], + "summary": "Retrieve a list of shipping zones", + "description": "Retrieve a list of shipping zones\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of shipping zones was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShippingZone" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + } + }, + "post": { + "tags": [ + "Shipping Zones" + ], + "summary": "Create a Shipping Zone", + "description": "Create a Shipping Zone\n", + "responses": { + "201": { + "description": "Shipping Zone was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ShippingZone" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ShippingZone" + } + } + }, + "description": "Shipping Zone resource", + "required": true + } + } + }, + "/shipping-zones/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Shipping Zones" + ], + "summary": "Retrieve a shipping zone", + "description": "Retrieve a shipping zone with specified identifier string\n", + "responses": { + "200": { + "description": "Shipping zone was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ShippingZone" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + }, + "put": { + "tags": [ + "Shipping Zones" + ], + "summary": "Create a shipping zone with predefined ID", + "description": "Create a shipping zone with predefined identifier string\n", + "responses": { + "200": { + "description": "Shipping zone was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ShippingZone" + } + } + } + }, + "201": { + "description": "Shipping zone was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ShippingZone" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ShippingZone" + } + } + }, + "description": "Shipping zone resource", + "required": true + } + }, + "delete": { + "tags": [ + "Shipping Zones" + ], + "summary": "Delete a shipping zone", + "description": "Delete a shipping zone with predefined identifier string\n", + "responses": { + "204": { + "description": "Shipping zone was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/signin": { + "post": { + "tags": [ + "Users", + "Sessions" + ], + "summary": "Create a session with email and password", + "description": "Create a session with email and password\n", + "security": [], + "responses": { + "201": { + "description": "Session was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Session" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$loginForm = new Rebilly\\Entities\\Login();\n$loginForm->setEmail('test@test.com');\n$loginForm->setPassword('1234');\n\ntry {\n $user = $client->users()->signin($loginForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Signin" + } + } + }, + "description": "Signin resource", + "required": true + } + } + }, + "/signup": { + "post": { + "tags": [ + "Users" + ], + "summary": "Creates a new user and sends an email confirmation", + "description": "Creates a new user and sends an email confirmation\n", + "responses": { + "201": { + "description": "User was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/User" + } + } + } + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$signupForm = new Rebilly\\Entities\\Signup();\n$signupForm->setFirstName('John');\n$signupForm->setLastName('Doe');\n$signupForm->setEmail('johndoe@test.com');\n$signupForm->setBusinessPhone('+123456789');\n$signupForm->setPassword('1234');\n\ntry {\n $client->users()->signup($signupForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Signup" + } + } + }, + "description": "Signup resource", + "required": true + } + } + }, + "/status": { + "get": { + "tags": [ + "Status" + ], + "summary": "Retrieve API current status", + "description": "Retrieve API current status\n", + "security": [], + "responses": { + "200": { + "description": "Status was received", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Status" + } + } + } + } + } + } + }, + "/subscriptions": { + "get": { + "tags": [ + "Subscriptions" + ], + "summary": "Retrieve a list of subscriptions", + "description": "Retrieve a list of subscriptions\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "name": "Accept", + "in": "header", + "description": "The response media type", + "schema": { + "type": "string", + "enum": [ + "application/json", + "text/csv" + ], + "default": "application/json" + } + } + ], + "responses": { + "200": { + "description": "A list of subscriptions was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Subscription" + } + } + }, + "text/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Subscription" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$subscriptions = $client->subscriptions()->search([\n 'filter' => 'customerId:testCustomerId',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Subscriptions" + ], + "summary": "Create a subscription", + "description": "Create a subscription\n", + "responses": { + "201": { + "description": "Subscription was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Subscription" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$subscriptionForm = new Rebilly\\Entities\\Subscription();\n$subscriptionForm->setCustomerId('customerId');\n$subscriptionForm->setWebsiteId('websiteId');\n$subscriptionForm->setPlanId('planId');\n\ntry {\n $subscription = $client->subscriptions()->create($subscriptionForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Subscription" + } + } + }, + "/subscriptions/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Subscriptions" + ], + "summary": "Retrieve a subscription", + "description": "Retrieve a subscription with specified identifier string\n", + "responses": { + "200": { + "description": "Subscription was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Subscription" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$subscription = $client->subscriptions()->load('subscriptionId');\n" + } + ] + }, + "put": { + "tags": [ + "Subscriptions" + ], + "summary": "Create or update a subscription with predefined ID", + "description": "Create or update a subscription with predefined identifier string\n", + "responses": { + "200": { + "description": "Subscription was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Subscription" + } + } + } + }, + "201": { + "description": "Subscription was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Subscription" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$subscriptionForm = new Rebilly\\Entities\\Subscription();\n$subscriptionForm->setCustomerId('customerId');\n$subscriptionForm->setWebsiteId('websiteId');\n$subscriptionForm->setPlanId('planId');\n\ntry {\n $subscription = $client->subscriptions()->update('subscriptionId', $subscriptionForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Subscription" + } + } + }, + "/subscriptions/{id}/cancel": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "Subscriptions" + ], + "summary": "Cancel a subscription", + "description": "Cancel a subscription\n", + "responses": { + "201": { + "description": "Subscription was switched", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Subscription" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$subscriptionCancelForm = new Rebilly\\Entities\\SubscriptionCancel();\n$subscriptionCancelForm->setPolicy($subscriptionCancelForm::NOW);\n\ntry {\n $subscription = $client->subscriptions()->cancel('subscriptionId', $subscriptionCancelForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionCancel" + } + } + }, + "description": "Only policy", + "required": true + } + } + }, + "/subscriptions/{id}/lead-source": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Subscriptions" + ], + "summary": "Retrieve a subscription's Lead Source", + "description": "Retrieve a Lead Source of given subscription\n", + "responses": { + "200": { + "description": "Lead Source was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadSource" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$subscription = $client->subscriptions()->load('subscriptionId');\n$leadSource = $subscription->getLeadSource();\n" + } + ] + }, + "put": { + "tags": [ + "Subscriptions" + ], + "summary": "Create a Lead Source for a Subscription", + "description": "Create a Lead Source for a Subscription\n", + "responses": { + "200": { + "description": "Lead Source was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadSource" + } + } + } + }, + "201": { + "description": "Lead Source was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadSource" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$leadSourceForm = new Rebilly\\Entities\\LeadSource();\n$leadSourceForm->setSource('TestSource');\n$leadSourceForm->setCampaign('TestCampaign');\n\ntry {\n $subscription = $client->subscriptions()->updateLeadSource('subscriptionId', $leadSourceForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/LeadSource" + } + }, + "delete": { + "tags": [ + "Subscriptions" + ], + "summary": "Delete a Lead Source for a Subscription", + "description": "Delete a Lead Source that belongs to a certain Subscription\n", + "responses": { + "204": { + "description": "Lead Source was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "description": "Lead Source cannot be deleted" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$subscription = $client->subscriptions()->deleteLeadSource('subscriptionId');\n" + } + ] + } + }, + "/subscriptions/{id}/switch": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "Subscriptions" + ], + "summary": "Switch a subscription", + "description": "Switch a subscription\n", + "responses": { + "201": { + "description": "Subscription was switched", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Subscription" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$subscriptionSwitchForm = new Rebilly\\Entities\\SubscriptionSwitch();\n$subscriptionSwitchForm->setPlanId('newPlanId');\n$subscriptionSwitchForm->setPolicy($subscriptionSwitchForm::NOW);\n\ntry {\n $subscription = $client->subscriptions()->switchTo('subscriptionId', $subscriptionSwitchForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionSwitch" + } + } + }, + "description": "SubscriptionSwitch resource", + "required": true + } + } + }, + "/tax-categories": { + "get": { + "tags": [ + "Taxes" + ], + "summary": "Retrieve a list of tax categories", + "description": "Retrieve a list of tax categories\n", + "responses": { + "200": { + "description": "A list of tax categories was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TaxCategory" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + } + } + }, + "/tokens": { + "get": { + "tags": [ + "Payment Tokens" + ], + "summary": "Retrieve a list of tokens", + "description": "Retrieve a list of tokens\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of tokens was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PaymentToken" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$paymentCardTokens = $client->paymentCardTokens()->search([\n 'filter' => 'token:string',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Payment Tokens" + ], + "summary": "Create a payment token", + "description": "Create a token\n", + "security": [ + { + "RebAuth": [] + } + ], + "responses": { + "201": { + "description": "Token was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentToken" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$paymentCardTokenForm = new Rebilly\\Entities\\PaymentCardToken();\n$paymentCardTokenForm->setFirstName('John');\n$paymentCardTokenForm->setLastName('Doe');\n$paymentCardTokenForm->setAddress('1313 Main Street');\n$paymentCardTokenForm->setCity('Gotham');\n$paymentCardTokenForm->setPostalCode('12345');\n$paymentCardTokenForm->setRegion('NY');\n$paymentCardTokenForm->setCountry('US');\n\n$paymentInstrumentForm = new Entities\\PaymentInstruments\\PaymentCardPaymentInstrument();\n$paymentInstrumentForm->setPan('4111111111111111');\n$paymentInstrumentForm->setExpYear(2025);\n$paymentInstrumentForm->setExpMonth(8);\n$paymentInstrumentForm->setCvv(123);\n\n$paymentCardTokenForm->setPaymentInstrument($paymentInstrumentForm);\n\ntry {\n $paymentCardToken = $client->paymentCardTokens()->create($paymentCardTokenForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/PaymentToken" + } + } + }, + "/tokens/{token}": { + "parameters": [ + { + "name": "token", + "in": "path", + "description": "The token identifier string", + "required": true, + "schema": { + "type": "string" + } + } + ], + "get": { + "tags": [ + "Payment Tokens" + ], + "summary": "Retrieve a token", + "description": "Retrieve a token with specified identifier string\n", + "security": [ + { + "RebAuth": [] + } + ], + "responses": { + "200": { + "description": "Token was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentToken" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$paymentCardToken = $client->paymentCardTokens()->load('tokenId');\n" + } + ] + } + }, + "/tokens/{token}/expiration": { + "parameters": [ + { + "name": "token", + "in": "path", + "description": "The token identifier string", + "required": true, + "schema": { + "type": "string" + } + } + ], + "post": { + "tags": [ + "Payment Tokens" + ], + "summary": "Expire a token", + "description": "Expire a token\n", + "responses": { + "201": { + "description": "Token expiration successful", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentToken" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "try {\n $paymentCardToken = $client->paymentCardTokens()->expire('tokenId');\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/PaymentToken" + } + } + }, + "/tracking/api": { + "get": { + "tags": [ + "Tracking" + ], + "summary": "Retrieve a list of tracking API logs", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "name": "Accept", + "in": "header", + "description": "The response media type", + "schema": { + "type": "string", + "enum": [ + "application/json", + "text/csv" + ], + "default": "application/json" + } + } + ], + "responses": { + "200": { + "description": "Tracking API logs was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiTracking" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$apiTrackingLog = $client->apiTracking()->search([\n 'filter' => 'status:200',\n]);\n" + } + ] + } + }, + "/tracking/api/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Tracking" + ], + "summary": "Retrieve a tracking API log with specified identifier string", + "responses": { + "200": { + "description": "Tracking API log was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiTracking" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$apiTrackingLog = $client->apiTracking()->load('apiLogId');\n" + } + ] + } + }, + "/tracking/lists": { + "get": { + "tags": [ + "Tracking" + ], + "summary": "Retrieve Lists changes history", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "Lists changes history was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/List" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + } + } + }, + "/tracking/subscriptions": { + "get": { + "tags": [ + "Tracking" + ], + "summary": "Retrieve a list of tracking subscription logs", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "Tracking subscription logs was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SubscriptionTracking" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + } + } + }, + "/tracking/subscriptions/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Tracking" + ], + "summary": "Retrieve a tracking subscription log with specified identifier string", + "responses": { + "200": { + "description": "Tracking subscription log was retrieved successfully", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionTracking" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/tracking/webhooks": { + "get": { + "tags": [ + "Tracking" + ], + "summary": "Retrieve a list of tracking webhook notifications", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "$ref": "#/components/parameters/collectionSort" + }, + { + "$ref": "#/components/parameters/collectionFilter" + }, + { + "$ref": "#/components/parameters/collectionCriteria" + } + ], + "responses": { + "200": { + "description": "Tracking webhook notifications was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WebhookTracking" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + } + } + }, + "/tracking/webhooks/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Tracking" + ], + "summary": "Retrieve a tracking webhook notification with specified identifier string", + "responses": { + "200": { + "description": "Tracking webhook notification was retrieved successfully", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookTracking" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/tracking/website-webhooks": { + "get": { + "tags": [ + "Tracking" + ], + "summary": "Retrieve a list of tracking webhook notifications", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "Tracking webhook notifications was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WebsiteWebhookTracking" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + } + } + }, + "/tracking/website-webhooks/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Tracking" + ], + "summary": "Retrieve a tracking webhook notification with specified identifier string", + "responses": { + "200": { + "description": "Tracking webhook notification was retrieved successfully", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebsiteWebhookTracking" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/transactions": { + "get": { + "tags": [ + "Transactions" + ], + "summary": "Retrieve a list of transactions", + "description": "Retrieve a list of transactions\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "$ref": "#/components/parameters/collectionFilter" + }, + { + "$ref": "#/components/parameters/collectionQuery" + }, + { + "$ref": "#/components/parameters/collectionCriteria" + }, + { + "$ref": "#/components/parameters/collectionSort" + }, + { + "name": "Accept", + "in": "header", + "description": "The response media type", + "schema": { + "type": "string", + "enum": [ + "application/json", + "text/csv" + ], + "default": "application/json" + } + } + ], + "responses": { + "200": { + "description": "A list of transactions was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Transaction" + } + } + }, + "text/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Transaction" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$transactions = $client->transactions()->search([\n 'filter' => 'result:approved',\n]);\n" + } + ] + } + }, + "/transactions/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Transactions" + ], + "summary": "Retrieve a Transaction", + "description": "Retrieve a Transaction with specified identifier string\n", + "responses": { + "200": { + "description": "Transaction was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Transaction" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$transaction = $client->transactions()->load('transactionId');\n" + } + ] + } + }, + "/transactions/{id}/cancel": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "Transactions" + ], + "summary": "Cancel a pending or suspended transaction", + "description": "Cancel a scheduled transaction. Once handled a transaction cannot be canceled", + "responses": { + "201": { + "description": "Successful cancel the payment", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Transaction" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "try {\n $payment = $client->transactions()->cancel('transactionId');\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ] + } + }, + "/transactions/{id}/gateway-logs": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Transactions" + ], + "summary": "Retrieve a Transaction Gateway Logs", + "description": "Retrieve Gateway communication Logs for Transaction with specified identifier string", + "responses": { + "200": { + "description": "Logs were retrieved successfully", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TransactionGatewayLog" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + } + }, + "/transactions/{id}/lead-source": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Transactions" + ], + "summary": "Retrieve a transaction's Lead Source", + "description": "Retrieve a Lead Source of given transaction\n", + "responses": { + "200": { + "description": "Lead Source was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadSource" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$transaction = $client->transactions()->load('transactionId');\n$leadSource = $transaction->getLeadSource();\n" + } + ] + }, + "put": { + "tags": [ + "Transactions" + ], + "summary": "Create a Lead Source for a transaction", + "description": "Create a Lead Source for a transaction\n", + "responses": { + "200": { + "description": "Lead Source was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadSource" + } + } + } + }, + "201": { + "description": "Lead Source was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadSource" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$leadSourceForm = new Rebilly\\Entities\\LeadSource();\n$leadSourceForm->setSource('TestSource');\n$leadSourceForm->setCampaign('TestCampaign');\n\ntry {\n $transaction = $client->transactions()->updateLeadSource('transactionId', $leadSourceForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/LeadSource" + } + }, + "delete": { + "tags": [ + "Transactions" + ], + "summary": "Delete a Lead Source for a transaction", + "description": "Delete a Lead Source that belongs to a certain transaction\n", + "responses": { + "204": { + "description": "Lead Source was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "description": "Lead Source cannot be deleted" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$payment = $client->transactions()->deleteLeadSource('transactionId');\n" + } + ] + } + }, + "/transactions/{id}/refund": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "Transactions" + ], + "summary": "Refund a Transaction", + "description": "Refund a Transaction with specified identifier string.\nNote that the refund will be in the same currency as the original transaction.\n", + "responses": { + "201": { + "description": "Transaction was refunded successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Transaction" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$transaction = $client->transactions()->refund('transactionId', 1.99);\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TransactionRefund" + } + } + }, + "description": "Transaction resource", + "required": true + } + } + }, + "/users": { + "get": { + "tags": [ + "Users" + ], + "summary": "Retrieve a list of users", + "description": "Retrieve a list of users\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of users was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/User" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$users = $client->users()->search([\n 'filter' => 'firstName:John',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Users" + ], + "summary": "Create an user", + "description": "Create an user\n", + "responses": { + "201": { + "description": "User was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/User" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$userForm = new Rebilly\\Entities\\User();\n$userForm->setFirstName('John');\n$userForm->setLastName('Doe');\n$userForm->setEmail('johndoe@test.com');\n\ntry {\n $user = $client->users()->create($userForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/User" + } + } + }, + "/users/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Users" + ], + "summary": "Retrieve user", + "description": "Retrieve user with specified identifier string\n", + "responses": { + "200": { + "description": "User was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/User" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$user = $client->users()->load('userId');\n" + } + ] + }, + "put": { + "tags": [ + "Users" + ], + "summary": "Create or update user with predefined ID", + "description": "Create or update user with predefined identifier string\n", + "responses": { + "200": { + "description": "User was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/User" + } + } + } + }, + "201": { + "description": "User was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/User" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$userForm = new Rebilly\\Entities\\User();\n$userForm->setFirstName('John');\n$userForm->setLastName('Doe');\n$userForm->setEmail('johndoe@test.com');\n\ntry {\n $user = $client->users()->update('userId', $userForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/User" + } + }, + "delete": { + "tags": [ + "Users" + ], + "summary": "Delete user", + "description": "Delete user with predefined identifier string\n", + "responses": { + "204": { + "description": "User was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "$ref": "#/components/responses/Conflict" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "try {\n $client->users()->delete('userId');\n} catch (ServerException $e) {\n echo $e->getMessage();\n}\n" + } + ] + } + }, + "/users/{id}/password": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "Users" + ], + "summary": "Updates user's password with the specified newPassword", + "description": "Updates user's password with the specified newPassword. And checks if currentPassword matches the actual one.\n", + "responses": { + "201": { + "description": "Password updated successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/User" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/InvalidDataError" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$updatePasswordForm = new Rebilly\\Entities\\UpdatePassword();\n$updatePasswordForm->setCurrentPassword('1234');\n$updatePasswordForm->setNewPassword('5678');\n\ntry {\n $user = $client->users()->updatePassword('userId', $updatePasswordForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/UpdatePassword" + } + } + }, + "/users/{id}/totp-reset": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "post": { + "tags": [ + "Users" + ], + "summary": "Reset (renew) totpSecret", + "description": "Reset (renew) totpSecret\n", + "responses": { + "201": { + "description": "totpSecret reset (renewed) successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/User" + } + } + } + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$user = $client->users()->resetTotp('userId');\n" + } + ] + } + }, + "/users/reset-password/{token}": { + "parameters": [ + { + "name": "token", + "in": "path", + "description": "The token string", + "required": true, + "schema": { + "type": "string" + } + } + ], + "post": { + "tags": [ + "Users" + ], + "summary": "Reset user password", + "description": "Reset user password\n", + "responses": { + "201": { + "description": "Password was reset successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/User" + } + } + } + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$resetPasswordForm = new Rebilly\\Entities\\ResetPassword();\n$resetPasswordForm->setNewPassword('1234');\n\ntry {\n $user = $client->users()->resetPassword('userId', 'token', $resetPasswordForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResetPassword" + } + } + }, + "description": "ResetPassword resource", + "required": true + } + } + }, + "/webhooks": { + "get": { + "tags": [ + "Webhooks" + ], + "summary": "Retrieve a list of webhooks", + "description": "Retrieve a list of webhooks\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + } + ], + "responses": { + "200": { + "description": "A list of Webhooks was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GlobalWebhook" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + } + }, + "post": { + "tags": [ + "Webhooks" + ], + "summary": "Create a webhook", + "description": "Create a webhook\n", + "responses": { + "201": { + "description": "Webhook was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalWebhook" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "$ref": "#/components/requestBodies/GlobalWebhook" + } + } + }, + "/webhooks/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Webhooks" + ], + "summary": "Retrieve a webhook", + "description": "Retrieve a webhook with specified identifier string\n", + "responses": { + "200": { + "description": "Webhook was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalWebhook" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + } + }, + "put": { + "tags": [ + "Webhooks" + ], + "summary": "Create or update a webhook with predefined ID", + "description": "Create or update a webhook with predefined identifier string\n", + "responses": { + "200": { + "description": "Webhook was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalWebhook" + } + } + } + }, + "201": { + "description": "Webhook was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalWebhook" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "requestBody": { + "$ref": "#/components/requestBodies/GlobalWebhook" + } + } + }, + "/websites": { + "get": { + "tags": [ + "Websites" + ], + "summary": "Retrieve a list of websites", + "description": "Retrieve a list of websites\n", + "parameters": [ + { + "$ref": "#/components/parameters/collectionLimit" + }, + { + "$ref": "#/components/parameters/collectionOffset" + }, + { + "name": "Accept", + "in": "header", + "description": "The response media type", + "schema": { + "type": "string", + "enum": [ + "application/json", + "text/csv" + ], + "default": "application/json" + } + } + ], + "responses": { + "200": { + "description": "A list of Websites was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + }, + "Pagination-Total": { + "description": "Total items count", + "schema": { + "type": "integer" + } + }, + "Pagination-Limit": { + "description": "Items per page limit", + "schema": { + "type": "integer" + } + }, + "Pagination-Offset": { + "description": "Pagination offset", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Website" + } + } + }, + "text/csv": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Website" + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$websites = $client->websites()->search([\n 'filter' => 'name:TestWebsite',\n]);\n" + } + ] + }, + "post": { + "tags": [ + "Websites" + ], + "summary": "Create a website", + "description": "Create a website\n", + "responses": { + "201": { + "description": "Website was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Website" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$websiteForm = new Rebilly\\Entities\\Website();\n$websiteForm->setName('TestWebsite');\n$websiteForm->setUrl('http://testwebsite.com');\n$websiteForm->setServicePhone('+0123456789');\n$websiteForm->setServiceEmail('test@testwebsite.com');\n\ntry {\n $website = $client->websites()->create($websiteForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Website" + } + } + }, + "/websites/{id}": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Websites" + ], + "summary": "Retrieve a website", + "description": "Retrieve a website with specified identifier string\n", + "responses": { + "200": { + "description": "Website was retrieved successfully", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Website" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$website = $client->websites()->load('websiteId');\n" + } + ] + }, + "put": { + "tags": [ + "Websites" + ], + "summary": "Create or update a website with predefined ID", + "description": "Create or update a website with predefined identifier string\n", + "responses": { + "200": { + "description": "Website was updated", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Website" + } + } + } + }, + "201": { + "description": "Website was created", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Website" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$websiteForm = new Rebilly\\Entities\\Website();\n$websiteForm->setName('TestWebsite');\n$websiteForm->setUrl('http://testwebsite.com');\n$websiteForm->setServicePhone('+0123456789');\n$websiteForm->setServiceEmail('test@testwebsite.com');\n\ntry {\n $website = $client->websites()->update('websiteId', $websiteForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "$ref": "#/components/requestBodies/Website" + } + }, + "delete": { + "tags": [ + "Websites" + ], + "summary": "Delete a website", + "description": "Delete a website with predefined identifier string\n", + "responses": { + "204": { + "description": "Website was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "409": { + "description": "Website has related resources and cannot be deleted" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "try {\n $client->websites()->delete('websiteId');\n} catch (ServerException $e) {\n echo $e->getMessage();\n}\n" + } + ] + } + }, + "/websites/{id}/webhook": { + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "get": { + "tags": [ + "Websites" + ], + "summary": "Retrieve a webhook for website", + "description": "Retrieve a webhook for website with specified identifier string\n", + "responses": { + "200": { + "description": "Webhook was retrieved successfully", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebsiteWebhook" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$websiteWebhook = $client->websiteWebhook()->load('websiteId');\n" + } + ] + }, + "put": { + "tags": [ + "Websites" + ], + "summary": "Create or update a webhook for website with predefined ID", + "description": "Create or update a webhook for website with predefined identifier string\n", + "responses": { + "200": { + "description": "Webhook was updated", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebsiteWebhook" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$websiteWebhookForm = new Rebilly\\Entities\\WebsiteWebhook();\n$websiteWebhookForm->setWebHookUrl('http://testwebsite.com/webhook');\n$websiteWebhookForm->setWebHookUsername('test');\n$websiteWebhookForm->setWebHookPassword('1234');\n\ntry {\n $website = $client->websiteWebhook()->update('websiteId', $websiteWebhookForm);\n} catch (UnprocessableEntityException $e) {\n echo $e->getMessage();\n}\n" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebsiteWebhook" + } + } + }, + "description": "Webhook resource", + "required": true + } + }, + "delete": { + "tags": [ + "Websites" + ], + "summary": "Delete a webhook", + "description": "Delete a webhook that belongs to a website with predefined ID\n", + "responses": { + "204": { + "description": "Webhook was deleted", + "headers": { + "Rate-Limit-Limit": { + "description": "The number of allowed requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Remaining": { + "description": "The number of remaining requests in the current period", + "schema": { + "type": "integer" + } + }, + "Rate-Limit-Reset": { + "description": "The date in format defined by [RFC 822](https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1)\nwhen the current period will reset\n", + "schema": { + "type": "string" + } + } + } + }, + "401": { + "$ref": "#/components/responses/AccessForbidden" + }, + "404": { + "$ref": "#/components/responses/NotFound" + } + }, + "x-code-samples": [ + { + "lang": "PHP", + "source": "$client->websiteWebhook()->delete('websiteId');\n" + } + ] + } + } + }, + "components": { + "schemas": { + "ApiKey": { + "type": "object", + "description": "API secret Key.", + "properties": { + "id": { + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "description": { + "description": "API key description", + "type": "string" + }, + "datetimeFormat": { + "description": "Date time format", + "type": "string", + "default": "iso8601", + "enum": [ + "mysql", + "iso8601" + ] + }, + "apiUser": { + "description": "API user name", + "type": "string", + "readOnly": true + }, + "secretKey": { + "description": "API secret key's value", + "type": "string", + "readOnly": true + }, + "createdTime": { + "description": "The API key created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "Attachment": { + "type": "object", + "required": [ + "fileId", + "relatedId", + "relatedType" + ], + "properties": { + "id": { + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "fileId": { + "description": "Linked File object id", + "type": "string" + }, + "relatedType": { + "description": "Linked object type", + "type": "string", + "enum": [ + "customer", + "dispute", + "invoice", + "note", + "payment", + "plan", + "product", + "subscription", + "transaction" + ] + }, + "relatedId": { + "description": "Linked object Id", + "type": "string" + }, + "name": { + "description": "The Original Attachment name", + "type": "string" + }, + "description": { + "description": "The Attachment description", + "type": "string" + }, + "createdTime": { + "description": "Creation date/time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "Latest update date/time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 3, + "maxItems": 3, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/FileLink" + }, + { + "$ref": "#/components/schemas/AttachmentResourceLink" + } + ] + } + } + } + }, + "AuthenticationOptions": { + "type": "object", + "properties": { + "passwordPattern": { + "description": "Allowed password pattern", + "type": "string" + }, + "credentialTtl": { + "description": "The default lifetime of the credential in seconds", + "type": "integer" + }, + "authTokenTtl": { + "description": "The default lifetime of the auth-token in seconds", + "type": "integer" + }, + "resetTokenTtl": { + "description": "The default lifetime of the reset-token in seconds", + "type": "integer" + } + } + }, + "AuthenticationToken": { + "type": "object", + "required": [ + "username", + "password" + ], + "properties": { + "token": { + "description": "The token identifier string", + "type": "string", + "readOnly": true + }, + "username": { + "description": "The token's username", + "type": "string" + }, + "password": { + "description": "The token's password (write-only)", + "type": "string", + "format": "password" + }, + "credentialId": { + "description": "The credential's ID", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "customerId": { + "description": "The token's customer ID", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "expiredTime": { + "description": "Token's expired time", + "type": "string", + "format": "date-time" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "BankAccount": { + "type": "object", + "properties": { + "id": { + "description": "The bank account identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "customerId": { + "description": "The Customer's ID.", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "bankName": { + "description": "Bank's name.", + "type": "string" + }, + "routingNumber": { + "description": "Bank's Routing Number. Required if bank account is not created from Token. This field is write-only", + "type": "string" + }, + "accountNumber": { + "description": "Bank's Account Number. Required if bank account is not created from Token. This field is write-only", + "type": "string" + }, + "accountType": { + "description": "Banks's Account type. Required if bank account is not created from Token", + "type": "string" + }, + "token": { + "description": "Bank Account Token. Use without any other fields", + "type": "string" + }, + "address": { + "description": "The Address. Required if bank account is not created from Token", + "allOf": [ + { + "$ref": "#/components/schemas/ContactObject" + } + ] + }, + "status": { + "description": "Bank Account status", + "type": "string", + "enum": [ + "active", + "deactivated" + ] + }, + "createdTime": { + "description": "Bank Account created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "Bank Account updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "customFields": { + "$ref": "#/components/schemas/ResourceCustomFields" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 3, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/CustomerLink" + }, + { + "$ref": "#/components/schemas/ContactLink" + } + ] + } + } + } + }, + "Blacklist": { + "type": "object", + "required": [ + "type", + "value" + ], + "properties": { + "id": { + "description": "The blacklist identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "type": { + "description": "The blacklist type", + "type": "string", + "enum": [ + "payment-card-id", + "customer-id", + "email", + "ip-address", + "country", + "fingerprint", + "bin" + ] + }, + "value": { + "description": "The blacklist value", + "type": "string" + }, + "expiredTime": { + "description": "The blacklist expired time", + "type": "string", + "format": "date-time" + }, + "createdTime": { + "description": "The blacklist created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "The blacklist updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "CheckoutPage": { + "type": "object", + "required": [ + "name", + "planId", + "websiteId", + "uriPath" + ], + "properties": { + "id": { + "description": "Checkout page identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "planId": { + "description": "Checkout page plan ID", + "type": "string", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "websiteId": { + "description": "Checkout page website ID", + "type": "string", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "uriPath": { + "description": "Your own custom uri path for this Checkout Page. It will be appended to checkout url https://checkout.rebilly.com/website/", + "type": "string" + }, + "name": { + "description": "Checkout page name", + "type": "string" + }, + "isActive": { + "description": "If checkout page active", + "type": "boolean" + }, + "redirectUrl": { + "description": "Checkout page url", + "type": "string" + }, + "redirectTimeout": { + "description": "Checkout page redirect timeout", + "type": "integer" + }, + "allowCustomCustomerId": { + "description": "If to enable your own customer ID in requests", + "type": "boolean" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "none": { + "allOf": [ + { + "$ref": "#/components/schemas/AmountAdjustment" + }, + { + "$ref": "#/components/schemas/SmtpAuthorization" + }, + { + "$ref": "#/components/schemas/WebhookAuthorization" + } + ] + }, + "Contact": { + "type": "object", + "properties": { + "id": { + "description": "The contact identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "customerId": { + "description": "The contact customer ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "firstName": { + "description": "The contact first name", + "type": "string" + }, + "lastName": { + "description": "The contact last name", + "type": "string" + }, + "organization": { + "description": "The contact organization", + "type": "string" + }, + "address": { + "description": "The contact street address", + "type": "string", + "maxLength": 60 + }, + "address2": { + "description": "The contact street address (second line)", + "type": "string", + "maxLength": 60 + }, + "city": { + "description": "The contact city", + "type": "string", + "maxLength": 45 + }, + "region": { + "description": "The contact region (state)", + "type": "string", + "maxLength": 45 + }, + "country": { + "description": "The contact country ISO Alpha-2 code", + "type": "string", + "pattern": "^[A-Z]{2}$" + }, + "postalCode": { + "description": "The contact postal code", + "type": "string", + "maxLength": 10 + }, + "phoneNumbers": { + "$ref": "#/components/schemas/ContactPhoneNumbers" + }, + "emails": { + "$ref": "#/components/schemas/ContactEmails" + }, + "isOutdated": { + "description": "Is contact outdated", + "type": "boolean", + "readOnly": true + }, + "createdTime": { + "description": "The contact created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "The contact updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "customFields": { + "$ref": "#/components/schemas/ResourceCustomFields" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 2, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/CustomerLink" + } + ] + } + } + } + }, + "ContactEmails": { + "description": "The contact emails", + "type": "array", + "items": { + "type": "object", + "required": [ + "label", + "value" + ], + "properties": { + "label": { + "description": "The email label", + "type": "string" + }, + "value": { + "description": "The email value", + "type": "string" + }, + "primary": { + "description": "True if email is primary", + "type": "boolean" + } + } + } + }, + "ContactObject": { + "type": "object", + "properties": { + "firstName": { + "description": "The contact first name", + "type": "string" + }, + "lastName": { + "description": "The contact last name", + "type": "string" + }, + "organization": { + "description": "The contact organization", + "type": "string" + }, + "address": { + "description": "The contact street address", + "type": "string", + "maxLength": 60 + }, + "address2": { + "description": "The contact street address (second line)", + "type": "string", + "maxLength": 60 + }, + "city": { + "description": "The contact city", + "type": "string", + "maxLength": 45 + }, + "region": { + "description": "The contact region (state)", + "type": "string", + "maxLength": 45 + }, + "country": { + "description": "The contact country ISO Alpha-2 code", + "type": "string", + "pattern": "^[A-Z]{2}$" + }, + "postalCode": { + "description": "The contact postal code", + "type": "string", + "maxLength": 10 + }, + "phoneNumbers": { + "$ref": "#/components/schemas/ContactPhoneNumbers" + }, + "emails": { + "$ref": "#/components/schemas/ContactEmails" + } + } + }, + "ContactPhoneNumbers": { + "description": "The contact phone numbers", + "type": "array", + "items": { + "type": "object", + "required": [ + "label", + "value" + ], + "properties": { + "label": { + "description": "The phone label", + "type": "string" + }, + "value": { + "description": "The phone value", + "type": "string" + }, + "primary": { + "description": "True if phone is primary", + "type": "boolean" + } + } + } + }, + "Coupon": { + "type": "object", + "description": "Coupons and Discounts", + "required": [ + "discount", + "issuedTime" + ], + "properties": { + "redemptionCode": { + "description": "Coupon's redemption code", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "discount": { + "$ref": "#/components/schemas/Discount" + }, + "restrictions": { + "description": "Coupon restrictions", + "type": "array", + "items": { + "$ref": "#/components/schemas/CouponRestriction" + } + }, + "redemptionsCount": { + "type": "integer", + "description": "Coupon's redemptions count", + "minimum": 0, + "readOnly": true + }, + "status": { + "type": "string", + "description": "If coupon enabled", + "readOnly": true, + "enum": [ + "issued", + "expired" + ] + }, + "description": { + "type": "string", + "description": "Your coupon description. When it is not empty this is used for invoice discount item description,\notherwise the item's description uses coupon's redemptionCode like 'Coupon \"redemptionCode\"'\n" + }, + "issuedTime": { + "description": "Coupon's issued time (start time)", + "type": "string", + "format": "date-time" + }, + "expiredTime": { + "description": "Coupon's expire time (end time)", + "type": "string", + "format": "date-time" + }, + "createdTime": { + "description": "Coupon created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "Coupon updated time.", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "CouponExpiration": { + "type": "object", + "required": [ + "expiredTime" + ], + "properties": { + "expiredTime": { + "description": "The coupon's expiry time, must be greater than the issued time. Null or empty string will immediately expire the coupon.", + "type": "string", + "format": "date-time" + } + } + }, + "CouponRedemption": { + "type": "object", + "description": "Coupons redemption log", + "properties": { + "id": { + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "redemptionCode": { + "description": "Coupon's redemption code", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "customerId": { + "description": "Customer's ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "additionalRestrictions": { + "description": "Additional restrictions for coupon's redemptions", + "type": "array", + "items": { + "$ref": "#/components/schemas/RedemptionRestriction" + } + }, + "redeemedTime": { + "description": "Coupon redeem time", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "canceledTime": { + "description": "Coupon redemption canceled time", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "CouponRestriction": { + "description": "Coupon restrictions", + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GenericRestriction" + }, + { + "type": "object", + "properties": { + "type": { + "description": "Coupon's restriction type", + "type": "string", + "enum": [ + "discounts-per-redemption", + "redemptions-per-customer", + "restrict-to-invoices", + "restrict-to-plans", + "restrict-to-subscriptions", + "minimum-order-amount", + "total-redemptions" + ] + } + } + } + ] + }, + "Discount": { + "type": "object", + "discriminator": { + "propertyName": "type" + }, + "properties": { + "type": { + "description": "Discount type", + "type": "string", + "enum": [ + "fixed", + "percent" + ] + } + } + }, + "discounts-per-redemption": { + "description": "discounts-per-redemption restrictions", + "allOf": [ + { + "$ref": "#/components/schemas/GenericRestriction" + }, + { + "type": "object", + "required": [ + "quantity" + ], + "properties": { + "quantity": { + "type": "integer", + "description": "Restriction quantity" + } + } + } + ] + }, + "fixed": { + "description": "Coupon fixed amount discount", + "allOf": [ + { + "$ref": "#/components/schemas/Discount" + }, + { + "type": "object", + "required": [ + "amount", + "currency" + ], + "properties": { + "amount": { + "description": "Discount amount", + "type": "number", + "format": "double" + }, + "currency": { + "description": "Discount currency", + "type": "string" + } + } + } + ] + }, + "GenericRestriction": { + "description": "All restriction", + "type": "object", + "discriminator": { + "propertyName": "type" + }, + "properties": { + "type": { + "description": "Restriction type", + "type": "string" + } + } + }, + "InvoiceDiscount": { + "type": "object", + "readOnly": true, + "properties": { + "redemptionCode": { + "description": "Coupon's redemption code", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "redemptionId": { + "description": "Redemption ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "amount": { + "description": "Total amount that was discounted by this Coupon", + "type": "number", + "format": "double" + }, + "description": { + "type": "string", + "description": "Discount description" + } + } + }, + "minimum-order-amount": { + "description": "minimum-order-amount restrictions", + "allOf": [ + { + "$ref": "#/components/schemas/GenericRestriction" + }, + { + "type": "object", + "required": [ + "amount", + "currency" + ], + "properties": { + "amount": { + "type": "integer", + "description": "Minimum order quantity" + }, + "currency": { + "type": "string", + "description": "Minimum order currency" + } + } + } + ] + }, + "percent": { + "description": "Coupon percent discount", + "allOf": [ + { + "$ref": "#/components/schemas/Discount" + }, + { + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "description": "Discount percent", + "type": "number", + "format": "double" + } + } + } + ] + }, + "RedemptionRestriction": { + "description": "Redemption restrictions", + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GenericRestriction" + }, + { + "type": "object", + "properties": { + "type": { + "description": "Redemption's additional restriction type", + "type": "string", + "enum": [ + "discounts-per-redemption", + "restrict-to-invoices", + "restrict-to-plans", + "restrict-to-subscriptions", + "minimum-order-amount" + ] + } + } + } + ] + }, + "redemptions-per-customer": { + "description": "Quantity per Customer restrictions", + "allOf": [ + { + "$ref": "#/components/schemas/GenericRestriction" + }, + { + "type": "object", + "required": [ + "quantity" + ], + "properties": { + "quantity": { + "type": "integer", + "description": "Restriction value" + } + } + } + ] + }, + "restrict-to-invoices": { + "description": "restrict-to-invoices restrictions", + "allOf": [ + { + "$ref": "#/components/schemas/GenericRestriction" + }, + { + "type": "object", + "required": [ + "invoiceIds" + ], + "properties": { + "invoiceIds": { + "type": "array", + "description": "Invoice IDs coupon can be applied to", + "items": { + "type": "string" + } + } + } + } + ] + }, + "restrict-to-plans": { + "description": "restrict-to-plans restrictions", + "allOf": [ + { + "$ref": "#/components/schemas/GenericRestriction" + }, + { + "type": "object", + "required": [ + "planIds" + ], + "properties": { + "planIds": { + "type": "array", + "description": "Plan IDs coupon can be applied to", + "items": { + "type": "string" + } + } + } + } + ] + }, + "restrict-to-subscriptions": { + "description": "restrict-to-subscriptions restrictions", + "allOf": [ + { + "$ref": "#/components/schemas/GenericRestriction" + }, + { + "type": "object", + "required": [ + "subscriptionIds" + ], + "properties": { + "subscriptionIds": { + "type": "array", + "description": "Subscription IDs coupon can be applied to", + "items": { + "type": "string" + } + } + } + } + ] + }, + "total-redemptions": { + "description": "total-redemptions restrictions", + "allOf": [ + { + "$ref": "#/components/schemas/GenericRestriction" + }, + { + "type": "object", + "required": [ + "quantity" + ], + "properties": { + "quantity": { + "type": "integer", + "description": "Total redemptions quantity" + } + } + } + ] + }, + "Credential": { + "type": "object", + "required": [ + "username", + "password", + "customerId" + ], + "properties": { + "id": { + "description": "The credential identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "username": { + "description": "Credential's username", + "type": "string" + }, + "password": { + "description": "The credential's password", + "type": "string", + "format": "password" + }, + "customerId": { + "description": "The credential's customer ID", + "type": "string" + }, + "expiredTime": { + "description": "The credential's expired time", + "type": "string", + "format": "date-time" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 2, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/CustomerLink" + } + ] + } + } + } + }, + "Condition": { + "type": "object", + "discriminator": { + "propertyName": "op" + }, + "properties": { + "op": { + "type": "string", + "description": "The condition operation", + "enum": [ + "and", + "or", + "not", + "between", + "equals", + "in", + "gt", + "gte", + "lt", + "lte" + ] + } + }, + "required": [ + "op" + ] + }, + "and": { + "type": "object", + "description": "Logical AND", + "allOf": [ + { + "$ref": "#/components/schemas/Condition" + }, + { + "$ref": "#/components/schemas/logical" + } + ] + }, + "between": { + "type": "object", + "description": "Between condition", + "allOf": [ + { + "$ref": "#/components/schemas/Condition" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "min": { + "type": "string" + }, + "max": { + "type": "string" + } + }, + "required": [ + "path", + "min", + "max" + ] + } + ] + }, + "compare": { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "path", + "value" + ] + }, + "equals": { + "type": "object", + "description": "Equals condition", + "allOf": [ + { + "$ref": "#/components/schemas/Condition" + }, + { + "$ref": "#/components/schemas/compare" + } + ] + }, + "gt": { + "type": "object", + "description": "Greater than condition", + "allOf": [ + { + "$ref": "#/components/schemas/Condition" + }, + { + "$ref": "#/components/schemas/compare" + } + ] + }, + "gte": { + "type": "object", + "description": "Greater than or equals condition", + "allOf": [ + { + "$ref": "#/components/schemas/Condition" + }, + { + "$ref": "#/components/schemas/compare" + } + ] + }, + "in": { + "type": "object", + "description": "In condition", + "allOf": [ + { + "$ref": "#/components/schemas/Condition" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "path", + "values" + ] + } + ] + }, + "logical-not": { + "type": "object", + "properties": { + "condition": { + "$ref": "#/components/schemas/Condition" + } + }, + "required": [ + "condition" + ], + "example": { + "operation": "not", + "condition": { + "operation": "equals", + "path": "/name", + "value": "John Dou" + } + } + }, + "logical": { + "type": "object", + "properties": { + "conditions": { + "type": "array", + "minItems": 2, + "items": { + "$ref": "#/components/schemas/Condition" + } + } + }, + "required": [ + "conditions" + ] + }, + "lt": { + "type": "object", + "description": "Less than condition", + "allOf": [ + { + "$ref": "#/components/schemas/Condition" + }, + { + "$ref": "#/components/schemas/compare" + } + ] + }, + "lte": { + "type": "object", + "description": "Less than or equals condition", + "allOf": [ + { + "$ref": "#/components/schemas/Condition" + }, + { + "$ref": "#/components/schemas/compare" + } + ] + }, + "not": { + "type": "object", + "description": "Logical NOT", + "allOf": [ + { + "$ref": "#/components/schemas/Condition" + }, + { + "$ref": "#/components/schemas/logical-not" + } + ] + }, + "or": { + "type": "object", + "description": "Logical OR", + "allOf": [ + { + "$ref": "#/components/schemas/Condition" + }, + { + "$ref": "#/components/schemas/logical" + } + ] + }, + "Customer": { + "type": "object", + "properties": { + "id": { + "description": "The customer identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "defaultPaymentInstrument": { + "$ref": "#/components/schemas/PaymentInstrument" + }, + "createdTime": { + "description": "The customer created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "The customer updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "customFields": { + "$ref": "#/components/schemas/ResourceCustomFields" + }, + "primaryAddress": { + "$ref": "#/components/schemas/ContactObject" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 3, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/NotesLink" + }, + { + "$ref": "#/components/schemas/DefaultPaymentInstrumentLink" + }, + { + "$ref": "#/components/schemas/LeadSourceLink" + } + ] + } + } + } + }, + "CustomEvent": { + "type": "object", + "properties": { + "id": { + "description": "The custom event identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "eventType": { + "type": "string", + "description": "The system event type", + "enum": [ + "subscription-ended", + "subscription-trial-ended", + "subscription-renewed", + "payment-card-expired", + "invoice-past-due", + "invoice-issued", + "invoice-voided", + "invoice-paid", + "invoice-abandoned" + ] + }, + "title": { + "type": "string", + "description": "The custom event title" + }, + "description": { + "type": "string", + "description": "The custom event description" + }, + "chronology": { + "type": "string", + "description": "The emitting time of the custom event relatively to the system event", + "enum": [ + "before", + "after" + ] + }, + "scheduleInstruction": { + "$ref": "#/components/schemas/CustomEventScheduleInstruction" + }, + "createdTime": { + "$ref": "#/components/schemas/ServerTimestamp" + }, + "rulesCount": { + "type": "integer", + "readOnly": true + } + }, + "required": [ + "eventType", + "title", + "chronology", + "scheduleInstruction" + ] + }, + "CustomField": { + "description": "A separate Custom Field schema", + "type": "object", + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "description": "The name of the custom field", + "type": "string" + }, + "type": { + "description": "Type value | Description\n------------- | -------------\narray | An array of strings up to 255 characters, maximum size is 1000 elements\nboolean | true or false\ndate | String of format \"full-date\" (YYYY-MM-DD) from RFC-3339 (full-date)\ndatetime | String of format \"date-time\" (YYYY-MM-DDTHH:MM:SSZ) from RFC-3339 (date-time)\ninteger | Cardinal value of -2^31..2^31-1\nnumber | Float value. It can take cardinal values also which are interpreted as float\nstring | Regular string up to 255 characters\nmonetary | A map of 3-letters currency code and amount, e.g. {\"currency\": \"EUR\", \"amount\": 25.30}\n", + "type": "string", + "enum": [ + "array", + "boolean", + "datetime", + "integer", + "number", + "string", + "monetary" + ] + }, + "description": { + "description": "The custom field description", + "type": "string" + }, + "isUsed": { + "description": "A flag to represent that the custom field is used on a record of the resource.", + "type": "boolean" + }, + "additionalSchema": { + "description": "Additional parameters which can be added according to type:\nParameter Name | Types | Description\n-------------- | ------------- | -------------\nallowedValues | string, array | List of allowed values\n" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "Dispute": { + "type": "object", + "required": [ + "currency", + "transactionId", + "postedTime", + "type", + "status", + "reasonCode" + ], + "properties": { + "id": { + "description": "The dispute identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "customerId": { + "description": "The dispute's customer ID", + "type": "string", + "readOnly": true + }, + "transactionId": { + "description": "The dispute's transaction ID", + "type": "string" + }, + "currency": { + "description": "The dispute currency ISO Alpha code", + "type": "string" + }, + "amount": { + "description": "The dispute amount", + "type": "number", + "format": "double" + }, + "acquirerReferenceNumber": { + "description": "The dispute's acquirer reference number", + "type": "string" + }, + "reasonCode": { + "description": "The dispute's reason code", + "type": "string", + "enum": [ + "1000", + "12", + "2", + "30", + "31", + "35", + "37", + "40", + "41", + "42", + "46", + "47", + "49", + "50", + "53", + "54", + "55", + "57", + "59", + "60", + "62", + "7", + "70", + "71", + "72", + "73", + "74", + "75", + "76", + "77", + "79", + "8", + "80", + "81", + "82", + "83", + "85", + "86", + "93", + "00", + "63", + "A01", + "A02", + "A08", + "F10", + "F14", + "F22", + "F24", + "F29", + "C02", + "C04", + "C05", + "C08", + "C14", + "C18", + "C28", + "C31", + "C32", + "M10", + "M49", + "P01", + "P03", + "P04", + "P05", + "P07", + "P08", + "P22", + "P23", + "R03", + "R13", + "M01", + "FR1", + "FR4", + "FR6", + "AL", + "AP", + "AW", + "CA", + "CD", + "CR", + "DA", + "DP", + "DP1", + "EX", + "IC", + "IN", + "IS", + "LP", + "N", + "NA", + "NC", + "P", + "RG", + "RM", + "RN1", + "RN2", + "SV", + "TF", + "TNM", + "UA01", + "UA02", + "UA32", + "UA99", + "UA03", + "UA10", + "UA11", + "UA12", + "UA18", + "UA20", + "UA21", + "UA22", + "UA23", + "UA28", + "UA30", + "UA31", + "UA38", + "duplicate", + "fraudulent", + "subscription_canceled", + "product_unacceptable", + "product_not_received", + "unrecognized", + "credit_not_processed", + "customer_initiated", + "incorrect_account_details", + "insufficient_funds", + "bank_cannot_process", + "debit_not_authorized", + "general" + ] + }, + "category": { + "description": "The dispute's category", + "type": "string", + "readOnly": true, + "enum": [ + "fraud", + "unrecognized", + "product-not-received", + "product-unacceptable", + "product-not-refunded", + "duplicate", + "subscription-canceled", + "uncategorized" + ] + }, + "type": { + "description": "The dispute's type", + "type": "string", + "enum": [ + "information-request", + "first-chargeback", + "second-chargeback", + "arbitration" + ] + }, + "status": { + "description": "The dispute's status", + "type": "string", + "enum": [ + "response-needed", + "under-review", + "forfeited", + "won", + "lost", + "unknown" + ] + }, + "postedTime": { + "description": "Dispute posted time", + "type": "string", + "format": "date-time" + }, + "deadlineTime": { + "description": "Dispute deadline time", + "type": "string", + "format": "date-time" + }, + "rawResponse": { + "description": "Dispute raw response from gateway", + "type": "string", + "readOnly": true + }, + "resolvedTime": { + "description": "Dispute resolved time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "createdTime": { + "description": "Dispute created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "Dispute updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "DisputeEvidence": { + "type": "object", + "properties": { + "policy": { + "description": "The id of a file upload with the policy materials (may include the cancellation policy, refund policy, and terms of use).", + "type": "string" + }, + "accessLogs": { + "description": "The id of a file upload with the access logs showing the customer activity.", + "type": "string" + }, + "customerCommunication": { + "description": "The id of a file upload showing communication with the customer (for example emails).", + "type": "string" + }, + "customerSignature": { + "description": "The id of a file upload showing the signed contract or signed delivery receipt.", + "type": "string" + }, + "deliveryProof": { + "description": "The id of a file upload showing the proof of delivery.", + "type": "string" + }, + "explanation": { + "description": "An explanation relevant to the category of dispute.", + "type": "string" + }, + "additionalFile": { + "description": "Any additional evidence as a file upload id.", + "type": "string" + } + } + }, + "Email": { + "type": "object", + "required": [ + "email" + ], + "properties": { + "email": { + "description": "Email", + "type": "string", + "format": "email" + } + } + }, + "SmtpAuthorization": { + "type": "object", + "discriminator": { + "propertyName": "type" + }, + "properties": { + "type": { + "type": "string", + "enum": [ + "none", + "plain", + "login", + "cram-md5" + ], + "default": "none" + } + } + }, + "cram-md5": { + "allOf": [ + { + "$ref": "#/components/schemas/SmtpAuthorization" + }, + { + "$ref": "#/components/schemas/UserPasswordAuthorization" + } + ] + }, + "login": { + "allOf": [ + { + "$ref": "#/components/schemas/SmtpAuthorization" + }, + { + "$ref": "#/components/schemas/UserPasswordAuthorization" + } + ] + }, + "plain": { + "allOf": [ + { + "$ref": "#/components/schemas/SmtpAuthorization" + }, + { + "$ref": "#/components/schemas/UserPasswordAuthorization" + } + ] + }, + "SmtpCredential": { + "type": "object", + "description": "SMTP Credential", + "required": [ + "host" + ], + "properties": { + "hash": { + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "host": { + "type": "string", + "description": "The host name" + }, + "port": { + "type": "integer", + "description": "The port value", + "minimum": 1, + "maximum": 65535, + "default": 25 + }, + "encryption": { + "type": "string", + "description": "The encryption value", + "enum": [ + "none", + "tls", + "ssl" + ], + "default": "none" + }, + "auth": { + "$ref": "#/components/schemas/SmtpAuthorization" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "UserPasswordAuthorization": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string", + "format": "password" + } + }, + "required": [ + "username", + "password" + ] + }, + "Error": { + "type": "object", + "properties": { + "status": { + "type": "integer", + "minimum": 100, + "maximum": 600 + }, + "error": { + "type": "string" + } + } + }, + "SystemEvent": { + "type": "object", + "description": "The application event", + "readOnly": true, + "properties": { + "eventType": { + "$ref": "#/components/schemas/EventType" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "rulesCount": { + "type": "integer", + "readOnly": true + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "EventType": { + "type": "string", + "description": "Rebilly event type", + "readOnly": true, + "enum": [ + "dispute-created", + "gateway-account-requested", + "transaction-processed", + "subscription-canceled", + "subscription-created", + "subscription-renewed", + "payment-card-expired", + "payment-declined", + "transaction-process-requested", + "risk-score-changed" + ] + }, + "File": { + "type": "object", + "properties": { + "id": { + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "name": { + "description": "Original File name", + "type": "string" + }, + "extension": { + "description": "The File extension", + "type": "string" + }, + "description": { + "description": "The File description", + "type": "string" + }, + "url": { + "description": "Write-only. If defined on POST, this would be used as a file source.", + "type": "string" + }, + "tags": { + "description": "The tags list", + "type": "array", + "items": { + "type": "string" + } + }, + "mime": { + "description": "The mime type", + "type": "string", + "readOnly": true, + "enum": [ + "image/png", + "image/jpeg", + "image/gif", + "application/pdf", + "audio/mpeg" + ] + }, + "size": { + "description": "The File size in bytes", + "type": "integer", + "readOnly": true + }, + "width": { + "description": "Image width, applicable to images only", + "type": "integer", + "readOnly": true + }, + "height": { + "description": "Image height, applicable to images only", + "type": "integer", + "readOnly": true + }, + "sha1": { + "description": "Hash sum of the file", + "type": "string", + "readOnly": true + }, + "createdTime": { + "description": "The upload date/time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "The latest update date/time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 2, + "maxItems": 2, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/PermalinkLink" + } + ] + } + } + } + }, + "GatewayAccount": { + "type": "object", + "required": [ + "gatewayName", + "acquirerName", + "merchantCategoryCode", + "websites", + "acceptedCurrencies", + "organizationId" + ], + "discriminator": { + "propertyName": "gatewayName" + }, + "properties": { + "id": { + "description": "The gateway identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "status": { + "description": "The gateway account's status", + "readOnly": true, + "type": "string", + "enum": [ + "active", + "inactive", + "pending" + ] + }, + "gatewayName": { + "$ref": "#/components/schemas/GatewayName" + }, + "acquirerName": { + "$ref": "#/components/schemas/AcquirerName" + }, + "merchantCategoryCode": { + "description": "The gateway account's merchant category code", + "type": "integer", + "minimum": 742, + "maximum": 9950 + }, + "dccMarkup": { + "description": "Dynamic currency conversion markup in basis points", + "type": "integer", + "minimum": 1, + "maximum": 10000 + }, + "descriptor": { + "description": "The gateway account's descriptor", + "type": "string" + }, + "cityField": { + "description": "The gateway account's city field (also known as line 2 descriptor)", + "type": "string" + }, + "organizationId": { + "description": "Organization ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "websites": { + "description": "Websites IDs", + "type": "array", + "items": { + "description": "Website ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + } + }, + "excludedDccQuoteCurrencies": { + "description": "Excluded Dynamic Currency Conversion Quote Currencies", + "type": "array", + "items": { + "type": "string" + } + }, + "monthlyLimit": { + "description": "Monthly Limit", + "type": "integer", + "format": "double", + "minimum": 0 + }, + "threeDSecure": { + "description": "True, if Gateway Account allows 3DSecure", + "type": "boolean" + }, + "dynamicDescriptor": { + "description": "True, if Gateway Account allows dynamic descriptor", + "type": "boolean" + }, + "acceptedCurrencies": { + "description": "Accepted currencies (array of the currency three letter code)", + "type": "array", + "items": { + "type": "string" + } + }, + "method": { + "$ref": "#/components/schemas/Method" + }, + "paymentCardSchemes": { + "description": "Accepted payment card brands", + "type": "array", + "items": { + "type": "string", + "enum": [ + "Visa", + "MasterCard", + "American Express", + "Discover", + "Maestro", + "Solo", + "Electron", + "JCB", + "Voyager", + "Diners Club", + "Switch", + "Laser", + "China Unionpay" + ] + } + }, + "downtimeStart": { + "description": "Gateway account downtime start", + "type": "string", + "format": "date-time" + }, + "downtimeEnd": { + "description": "Gateway account downtime end", + "type": "string", + "format": "date-time" + }, + "createdTime": { + "description": "Gateway Account created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "Gateway Account updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 2, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/OnBoardingUrlLink" + } + ] + } + } + } + }, + "A1Gateway": { + "description": "A1Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "description": "A1Gateway credentials object", + "properties": { + "accountId": { + "type": "string", + "description": "A1Gateway account ID" + }, + "password": { + "type": "string", + "description": "A1Gateway password", + "format": "password" + } + }, + "required": [ + "accountId", + "password" + ] + }, + "mpi": { + "$ref": "#/components/schemas/A1GatewayMpis" + } + } + } + ] + }, + "AmexVPC": { + "description": "AmexVPC config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "description": "AmexVPC credentials object", + "properties": { + "url": { + "type": "string", + "description": "Virtual Payment Client URL" + }, + "merchantId": { + "type": "string", + "description": "Merchant ID" + }, + "accessCode": { + "type": "string", + "description": "Access Code", + "format": "password" + }, + "user": { + "type": "string", + "description": "User (used for refund, void and capture)" + }, + "password": { + "type": "string", + "description": "Password (used for refund, void and capture)", + "format": "password" + } + }, + "required": [ + "url", + "merchantId", + "accessCode", + "user", + "password" + ] + } + } + } + ] + }, + "AuthorizeNet": { + "description": "AuthorizeNet Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "apiLoginId": { + "type": "string", + "description": "AuthorizeNet Gateway api login ID" + }, + "transactionKey": { + "description": "AuthorizeNet Gateway Transaction Key", + "type": "string", + "format": "password" + } + }, + "required": [ + "apiLoginId", + "transactionKey" + ] + } + } + } + ] + }, + "Beanstream": { + "description": "Beanstream Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "merchantId": { + "type": "string", + "description": "Beanstream Gateway merchant ID" + }, + "apiPasscode": { + "type": "string", + "description": "Beanstream Gateway API Passcode", + "format": "password" + } + }, + "required": [ + "merchantId", + "apiPasscode" + ] + } + } + } + ] + }, + "BraintreePayments": { + "description": "BraintreePayments Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "publicKey": { + "type": "string", + "description": "BraintreePayments Public Key" + }, + "privateKey": { + "type": "string", + "description": "BraintreePayments Private Key", + "format": "password" + }, + "merchantId": { + "type": "string", + "description": "BraintreePayments merchant ID", + "format": "password" + }, + "merchantAccountId": { + "type": "string", + "description": "BraintreePayments merchant account ID", + "format": "password" + } + }, + "required": [ + "publicKey", + "privateKey", + "merchantId", + "merchantAccountId" + ] + } + } + } + ] + }, + "Cashflows": { + "description": "Cashflows Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "authId": { + "type": "string", + "description": "Cashflows Gateway auth ID" + }, + "authPassword": { + "type": "string", + "description": "Cashflows Gateway auth password", + "format": "password" + } + }, + "required": [ + "authPassword", + "authId" + ] + } + } + } + ] + }, + "Cayan": { + "description": "Cayan Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "merchantSiteId": { + "type": "string", + "description": "Cayan Gateway merchant site ID" + }, + "merchantName": { + "type": "string", + "description": "Cayan Gateway merchant name" + }, + "merchantKey": { + "type": "string", + "description": "Cayan Gateway merchant key", + "format": "password" + } + }, + "required": [ + "merchantSiteId", + "merchantName", + "merchantKey" + ] + } + } + } + ] + }, + "Chase": { + "description": "Chase Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "username": { + "type": "string", + "description": "Chase Gateway Net Connect username" + }, + "password": { + "type": "string", + "description": "Chase Gateway Net Connect password", + "format": "password" + }, + "coNumber": { + "type": "string", + "description": "Chase Gateway CO Number used for delimited file reports" + }, + "divisionId": { + "type": "string", + "description": "Chase Gateway division ID" + }, + "partialAuth": { + "type": "boolean", + "description": "Support for Partial Auths", + "default": false + } + }, + "required": [ + "username", + "password", + "coNumber", + "divisionId", + "partialAuth" + ] + } + } + } + ] + }, + "ChinaUnionPay": { + "description": "China Union Pay Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "accountId": { + "type": "string", + "description": "China Union Pay Gateway account ID" + }, + "partyId": { + "type": "string", + "description": "China Union Pay Gateway party ID" + }, + "goods": { + "type": "string", + "description": "China Union Pay Gateway goods" + }, + "md5key": { + "type": "string", + "description": "China Union Pay Gateway md5key", + "format": "password" + }, + "mobilePay": { + "type": "string", + "description": "China Union Pay Gateway mobile pay param" + } + }, + "required": [ + "accountId", + "partyId", + "goods", + "md5key", + "mobilePay" + ] + } + } + } + ] + }, + "Credorax": { + "description": "Credorax Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "merchantId": { + "type": "string", + "description": "Credorax Gateway merchant ID" + }, + "merchantMd5Signature": { + "type": "string", + "description": "Credorax Gateway md5 signature", + "format": "password" + } + }, + "required": [ + "merchantId", + "merchantMd5Signature" + ] + } + } + } + ] + }, + "DataCash": { + "description": "DataCash Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "client": { + "type": "string", + "description": "DataCash Gateway client" + }, + "password": { + "type": "string", + "description": "DataCash Gateway password", + "format": "password" + }, + "policy": { + "type": "integer", + "description": "Policy", + "minimum": 0, + "maximum": 7, + "default": 2 + }, + "delay": { + "type": "integer", + "description": "Auto Capture delay (in hours)", + "minimum": 0, + "default": 0 + } + }, + "required": [ + "client", + "password", + "policy", + "delay" + ] + }, + "mpi": { + "$ref": "#/components/schemas/DataCashMpis" + } + } + } + ] + }, + "Dengi": { + "description": "Dengi Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "projectId": { + "type": "string", + "description": "Dengi Gateway project ID" + }, + "publicKey": { + "type": "string", + "description": "Dengi Gateway public key", + "format": "password" + }, + "refundKey": { + "type": "string", + "description": "Dengi Gateway refund key", + "format": "password" + } + }, + "required": [ + "projectId", + "publicKey", + "refundKey" + ] + } + } + } + ] + }, + "eMerchantPay": { + "description": "eMerchantPay Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "eMerchantPay Gateway client ID" + }, + "apiKey": { + "type": "string", + "description": "eMerchantPay Gateway api key", + "format": "password" + } + }, + "required": [ + "clientId", + "apiKey" + ] + }, + "mpi": { + "$ref": "#/components/schemas/eMerchantPayMpis" + } + } + } + ] + }, + "Flexepin": { + "description": "Flexepin Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "apiKey": { + "type": "string", + "description": "Flexepin API Key" + }, + "apiSecret": { + "type": "string", + "description": "Flexepin API Secret", + "format": "password" + } + }, + "required": [ + "apiKey", + "apiSecret" + ] + } + } + } + ] + }, + "Forte": { + "description": "Forte Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "accountId": { + "type": "string", + "description": "Forte Gateway account ID" + }, + "locationId": { + "type": "string", + "description": "Forte Gateway location ID" + }, + "apiAccessId": { + "type": "string", + "description": "Forte Gateway api access ID", + "format": "password" + }, + "apiSecretKey": { + "type": "string", + "description": "Forte Gateway api secret key", + "format": "password" + } + }, + "required": [ + "accountId", + "locationId", + "apiAccessId", + "apiSecretKey" + ] + } + } + } + ] + }, + "FundSend": { + "description": "FundSend Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "FundSend Gateway client ID" + }, + "secretWord": { + "type": "string", + "description": "FundSend Gateway secret word", + "format": "password" + } + }, + "required": [ + "clientId", + "secretWord" + ] + } + } + } + ] + }, + "GET": { + "description": "GET Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "accountId": { + "type": "string", + "description": "GET Gateway account ID" + } + }, + "required": [ + "accountId" + ] + }, + "mpi": { + "$ref": "#/components/schemas/GETMpis" + } + } + } + ] + }, + "GlobalCollect": { + "description": "GlobalCollect Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "merchantId": { + "type": "string", + "description": "GlobalCollect Gateway merchant ID" + }, + "apiKeyId": { + "type": "string", + "description": "GlobalCollect Gateway api key ID" + }, + "apiSecretKey": { + "type": "string", + "description": "GlobalCollect Gateway api secret key", + "format": "password" + }, + "skipFraudService": { + "type": "boolean", + "description": "GlobalCollect skip fraud service" + } + }, + "required": [ + "merchantId", + "apiKeyId", + "apiSecretKey" + ] + }, + "mpi": { + "$ref": "#/components/schemas/GlobalCollectMpis" + } + } + } + ] + }, + "GlobalOne": { + "description": "GlobalOne Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "terminalId": { + "type": "string", + "description": "GlobalOne Gateway terminal ID" + }, + "sharedSecret": { + "type": "string", + "description": "GlobalOne Gateway shared secret", + "format": "password" + } + }, + "required": [ + "terminalId", + "sharedSecret" + ] + } + } + } + ] + }, + "Gpaysafe": { + "description": "Gpaysafe Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "apiKey": { + "type": "string", + "description": "Gpaysafe apiKey" + } + }, + "required": [ + "apiKey" + ] + } + } + } + ] + }, + "iCheque": { + "description": "iCheque Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "iCheque Gateway client ID" + }, + "secretWord": { + "type": "string", + "description": "iCheque Gateway secret word", + "format": "password" + } + }, + "required": [ + "clientId", + "secretWord" + ] + } + } + } + ] + }, + "Ilixium": { + "description": "Ilixium Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "merchantId": { + "type": "string", + "description": "Ilixium Gateway merchant ID" + }, + "accountId": { + "type": "string", + "description": "Ilixium Gateway account ID" + }, + "digestPassword": { + "type": "string", + "description": "Ilixium Gateway digest password", + "format": "password" + } + }, + "required": [ + "merchantId", + "accountId", + "digestPassword" + ] + }, + "mpi": { + "$ref": "#/components/schemas/IlixiumMpis" + } + } + } + ] + }, + "Jeton": { + "description": "Jeton Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "apiKey": { + "type": "string", + "description": "Jeton apiKey" + } + }, + "required": [ + "apiKey" + ] + } + } + } + ] + }, + "JetPay": { + "description": "JetPay Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "TerminalID": { + "type": "string", + "description": "JetPay Gateway terminal ID" + } + }, + "required": [ + "TerminalID" + ] + } + } + } + ] + }, + "Moneris": { + "description": "Moneris Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "apiToken": { + "type": "string", + "description": "Moneris Gateway api token", + "format": "password" + }, + "storeId": { + "type": "string", + "description": "Moneris Gateway store ID" + } + }, + "required": [ + "storeId", + "apiToken" + ] + } + } + } + ] + }, + "NMI": { + "description": "NMI Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "username": { + "type": "string", + "description": "NMI Gateway api token" + }, + "password": { + "type": "string", + "description": "NMI Gateway store ID", + "format": "password" + } + }, + "required": [ + "username", + "password" + ] + }, + "mpi": { + "$ref": "#/components/schemas/NMIMpis" + } + } + } + ] + }, + "OchaPay": { + "description": "OchaPay Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "apiUsername": { + "type": "string", + "description": "OchaPay Gateway username" + }, + "apiPassword": { + "type": "string", + "description": "OchaPay Gateway api password", + "format": "password" + }, + "secretWord": { + "type": "string", + "description": "OchaPay Gateway secret word", + "format": "password" + } + }, + "required": [ + "apiUsername", + "apiPassword", + "secretWord" + ] + } + } + } + ] + }, + "Optimal": { + "description": "Optimal Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "storeId": { + "type": "string", + "description": "Optimal Gateway store ID" + }, + "storePwd": { + "type": "string", + "description": "Optimal Gateway store password", + "format": "password" + }, + "accountNum": { + "type": "string", + "description": "Optimal Gateway account number" + } + }, + "required": [ + "storeId", + "storePwd", + "accountNum" + ] + }, + "mpi": { + "$ref": "#/components/schemas/OptimalMpis" + } + } + } + ] + }, + "PandaGateway": { + "description": "Panda Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "merchantCode": { + "type": "string", + "description": "Panda Gateway merchant code" + }, + "apiCode": { + "type": "string", + "description": "Panda Gateway api code" + }, + "signKey": { + "type": "string", + "description": "Panda Gateway sign key", + "format": "password" + } + }, + "required": [ + "merchantCode", + "apiCode", + "signKey" + ] + } + } + } + ] + }, + "Payeezy": { + "description": "Payeezy Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "merchantId": { + "type": "string", + "description": "Payeezy Merchant ID" + }, + "merchantToken": { + "type": "string", + "description": "Merchant Token", + "format": "password" + }, + "apiKey": { + "type": "string", + "description": "API Key" + }, + "apiSecret": { + "type": "string", + "description": "API Secret", + "format": "password" + } + }, + "required": [ + "merchantId", + "merchantToken", + "apiKey", + "apiSecret" + ] + } + } + } + ] + }, + "Payflow": { + "description": "Payflow config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "description": "Payflow credentials object", + "properties": { + "user": { + "type": "string", + "description": "If you set up one or more additional users on the account, this value is the ID of the user authorized to process transactions. If, however, you have not set up additional users, USER has the same value as VENDOR" + }, + "vendor": { + "type": "string", + "description": "Your merchant login ID created when you registered for the account." + }, + "password": { + "type": "string", + "description": "The password you defined while registering for the account.", + "format": "password" + } + }, + "required": [ + "user", + "vendor", + "password" + ] + } + } + } + ] + }, + "PayPal": { + "description": "PayPal Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "merchantIdInPayPal": { + "type": "string", + "description": "PayPal Gateway merchant id" + }, + "redirectUrl": { + "type": "string", + "description": "PayPal Gateway redirect url", + "format": "url" + } + }, + "required": [ + "merchantIdInPayPal", + "redirectUrl" + ] + } + } + } + ] + }, + "Payr": { + "description": "Payr Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "Payr Gateway client ID" + }, + "secretWord": { + "type": "string", + "description": "Payr Gateway secret word", + "format": "password" + } + }, + "required": [ + "clientId", + "secretWord" + ] + } + } + } + ] + }, + "Payvision": { + "description": "Payvision Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "memberId": { + "type": "string", + "description": "Payvision Gateway member id" + }, + "memberGuid": { + "type": "string", + "description": "Payvision Gateway member guid", + "format": "password" + }, + "avs": { + "type": "boolean", + "description": "Payvision Gateway avs" + }, + "delay": { + "type": "integer", + "description": "Payvision Gateway delay" + } + }, + "required": [ + "memberId", + "memberGuid", + "avs", + "delay" + ] + }, + "mpi": { + "$ref": "#/components/schemas/PayvisionMpis" + } + } + } + ] + }, + "Plugnpay": { + "description": "Plugnpay Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "publisher-name": { + "type": "string", + "description": "Plugnpay Gateway member id" + }, + "publisher-password": { + "type": "string", + "description": "Plugnpay Gateway avs", + "format": "password" + } + }, + "required": [ + "publisher-name", + "publisher-password" + ] + } + } + } + ] + }, + "Realex": { + "description": "Realex Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "merchantId": { + "type": "string", + "description": "Realex Gateway merchant id" + }, + "secretKey": { + "type": "string", + "description": "Realex Gateway secret key", + "format": "password" + }, + "rebatePassword": { + "type": "string", + "description": "Realex Gateway rebate password", + "format": "password" + }, + "account": { + "type": "string", + "description": "Realex Gateway account" + } + }, + "required": [ + "merchantId", + "secretKey", + "rebatePassword", + "account" + ] + } + } + } + ] + }, + "RealTime": { + "description": "RealTime Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "RealTime Gateway client ID" + }, + "secretWord": { + "type": "string", + "description": "RealTime Gateway secret word", + "format": "password" + } + }, + "required": [ + "clientId", + "secretWord" + ] + } + } + } + ] + }, + "RebillyProcessor": { + "description": "RebillyProcessor Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "properties": { + "mpi": { + "$ref": "#/components/schemas/RebillyProcessorMpis" + } + } + } + ] + }, + "Redsys": { + "description": "Redsys Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "merchantCode": { + "type": "string", + "description": "Redsys Gateway merchant code", + "format": "password" + }, + "secretCode": { + "type": "string", + "description": "Redsys Gateway secret code", + "format": "password" + } + }, + "required": [ + "merchantCode", + "secretCode" + ] + } + } + } + ] + }, + "RPN": { + "description": "RPN Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "mid": { + "type": "string", + "description": "RPN MID" + }, + "key": { + "type": "string", + "description": "RPN Key", + "format": "password" + } + }, + "required": [ + "mid", + "key" + ] + } + } + } + ] + }, + "Sagepay": { + "description": "Sagepay Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "M_ID": { + "type": "string", + "description": "Sagepay Gateway merchant ID" + }, + "M_KEY": { + "type": "string", + "description": "Sagepay Gateway merchant key", + "format": "password" + } + }, + "required": [ + "M_ID", + "M_KEY" + ] + } + } + } + ] + }, + "SMSVoucher": { + "description": "SMSVoucher Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "AppId": { + "type": "string", + "description": "SMSVoucher AppId" + } + }, + "required": [ + "AppId" + ] + } + } + } + ] + }, + "Stripe": { + "description": "Stripe Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "redirectUrl": { + "type": "string", + "description": "Stripe Gateway redirect url", + "format": "url" + } + }, + "required": [ + "redirectUrl" + ] + } + } + } + ] + }, + "UPayCard": { + "description": "UPayCard Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "receiver_account": { + "type": "string", + "description": "merchant receiver account" + }, + "key": { + "type": "string", + "description": "merchant key", + "format": "password" + }, + "secret": { + "type": "string", + "description": "merchant secret", + "format": "password" + } + }, + "required": [ + "receiver_account", + "key", + "secret" + ] + } + } + } + ] + }, + "USAePay": { + "description": "USAePay Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "sourceKey": { + "type": "string", + "description": "USAePay Gateway source key", + "format": "password" + }, + "pin": { + "type": "string", + "description": "USAePay Gateway pin", + "format": "password" + } + }, + "required": [ + "sourceKey", + "pin" + ] + } + } + } + ] + }, + "VantivLitle": { + "description": "VantivLitle Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "username": { + "type": "string", + "description": "VantivLitle Gateway username" + }, + "password": { + "type": "string", + "description": "VantivLitle Gateway password", + "format": "password" + }, + "merchantId": { + "type": "string", + "description": "VantivLitle Gateway merchant ID" + } + }, + "required": [ + "username", + "password", + "merchantId" + ] + }, + "mpi": { + "$ref": "#/components/schemas/VantivLitleMpis" + } + } + } + ] + }, + "vegaaH": { + "description": "vegaaH Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "terminalId": { + "type": "string", + "description": "vegaaH Gateway terminal ID" + }, + "password": { + "type": "string", + "description": "vegaaH Gateway password", + "format": "password" + } + }, + "required": [ + "terminalId", + "password" + ] + } + } + } + ] + }, + "Walpay": { + "description": "Walpay Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "merchantName": { + "type": "string", + "description": "Walpay Gateway merchant name" + }, + "merchantPin": { + "type": "string", + "description": "Walpay Gateway merchant pin", + "format": "password" + } + }, + "required": [ + "merchantName", + "merchantPin" + ] + }, + "mpi": { + "$ref": "#/components/schemas/WalpayMpis" + } + } + } + ] + }, + "Wirecard": { + "description": "Wirecard Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "merchantUsername": { + "type": "string", + "description": "Wirecard Gateway merchant username" + }, + "merchantPassword": { + "type": "string", + "description": "Wirecard Gateway merchant password", + "format": "password" + }, + "businessSignature": { + "type": "string", + "description": "Wirecard Gateway merchant business case signature", + "format": "password" + }, + "delay": { + "type": "integer", + "description": "Wirecard Gateway delay" + } + }, + "required": [ + "merchantUsername", + "merchantPassword", + "businessSignature", + "delay" + ] + }, + "mpi": { + "$ref": "#/components/schemas/WirecardMpis" + } + } + } + ] + }, + "Worldpay": { + "description": "Worldpay Gateway config", + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccount" + }, + { + "type": "object", + "required": [ + "gatewayConfig" + ], + "properties": { + "gatewayConfig": { + "type": "object", + "properties": { + "merchantCode": { + "type": "string", + "description": "Worldpay Gateway merchant code", + "format": "password" + }, + "merchantPassword": { + "type": "string", + "description": "Worldpay Gateway merchant password", + "format": "password" + } + }, + "required": [ + "merchantCode", + "merchantPassword" + ] + }, + "mpi": { + "$ref": "#/components/schemas/WorldpayMpis" + } + } + } + ] + }, + "AcquirerName": { + "description": "Acquirer name", + "type": "string", + "enum": [ + "Alipay", + "AIB", + "B+S", + "Bank of America", + "Bank of Moscow", + "Bank of Rebilly", + "Bank One", + "Beanstream", + "BMO Harris Bank", + "Borgun", + "BraintreePayments", + "Catalunya Caixa", + "Chase", + "ChinaUnionPay", + "CIM", + "Credorax", + "Elavon", + "EMS", + "Fifth Third Bank", + "First Data Buypass", + "First Data Nashville", + "First Data North", + "First Data Omaha", + "Flexepin", + "Forte", + "FundSend", + "GlobalCollect", + "Global East", + "Gpaysafe", + "Heartland", + "HSBC", + "iCheque", + "Ilixium", + "Jeton", + "Masapay", + "Merrick", + "Mission Valley Bank", + "Moneris", + "NATWEST", + "NMI", + "OchaPay", + "Other", + "Panda Bank", + "PayPal", + "Payr", + "Payvision", + "Peoples Trust Company", + "Privatbank", + "RBC", + "RBS WorldPay", + "RealTime", + "RebillyProcessor", + "SMSVoucher", + "State Bank of Mauritius", + "Stripe", + "TBI", + "TrustPay", + "TSYS", + "UPayCard", + "Vantiv", + "VoicePay", + "WeChat Pay", + "Wells Fargo", + "Wing Hang Bank", + "Wirecard", + "WorldPay" + ] + }, + "GatewayName": { + "description": "The gateway name", + "type": "string", + "enum": [ + "A1Gateway", + "AmexVPC", + "AuthorizeNet", + "Beanstream", + "BraintreePayments", + "Cashflows", + "Cayan", + "Chase", + "ChinaUnionPay", + "Credorax", + "DataCash", + "Dengi", + "eMerchantPay", + "Flexepin", + "FundSend", + "Forte", + "GET", + "GlobalCollect", + "GlobalOne", + "Gpaysafe", + "iCheque", + "Ilixium", + "JetPay", + "Jeton", + "Moneris", + "NMI", + "OchaPay", + "Optimal", + "PandaGateway", + "Payeezy", + "Payflow", + "PayPal", + "Payr", + "Payvision", + "Plugnpay", + "Realex", + "RealTime", + "RebillyProcessor", + "Redsys", + "RPN", + "Sagepay", + "SMSVoucher", + "Stripe", + "UPayCard", + "USAePay", + "VantivLitle", + "vegaaH", + "Walpay", + "Wirecard", + "Worldpay" + ] + }, + "MpiName": { + "description": "The Merchant plug-in Name", + "type": "string", + "enum": [ + "PayvisionMpi", + "WirecardMpi", + "IlixiumMpi", + "DataCashMpi", + "OptimalMpi", + "GlobalCollectMpi", + "CardinalCommerce", + "Other" + ] + }, + "GlobalWebhook": { + "type": "object", + "required": [ + "method", + "url", + "credentialHash" + ], + "properties": { + "id": { + "description": "The webhook identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "eventsFilter": { + "description": "An array of System event type", + "type": "array", + "default": [], + "items": { + "$ref": "#/components/schemas/GlobalWebhookEventType" + } + }, + "status": { + "$ref": "#/components/schemas/OnOff" + }, + "method": { + "type": "string", + "enum": [ + "GET", + "POST", + "PUT", + "PATCH", + "DELETE" + ] + }, + "url": { + "description": "URL that will be triggered when the given event occurs.", + "type": "string", + "format": "uri" + }, + "headers": { + "type": "object", + "description": "Map of elements with header name - header value association" + }, + "credentialHash": { + "type": "string", + "description": "Hash from Credentials which is used for authentication by the given URL" + }, + "createdTime": { + "description": "List created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "List updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "Links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "GlobalWebhookEventType": { + "type": "string", + "description": "Rebilly webhooks event type", + "enum": [ + "gateway-account-requested", + "subscription-trial-ended", + "subscription-activated", + "subscription-canceled", + "subscription-renewed", + "transaction-processed", + "payment-card-expired", + "payment-declined", + "invoice-modified", + "invoice-created", + "dispute-created", + "suspended-payment-completed" + ] + }, + "InvalidError": { + "allOf": [ + { + "$ref": "#/components/schemas/Error" + }, + { + "type": "object", + "properties": { + "details": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + ] + }, + "Invoice": { + "type": "object", + "required": [ + "customerId", + "websiteId", + "currency" + ], + "properties": { + "id": { + "description": "The invoice identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "customerId": { + "description": "The customer's ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "websiteId": { + "description": "The website's ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "organizationId": { + "description": "The organization's ID", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "subscriptionId": { + "description": "The related Subscription's ID if available, otherwise null", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "currency": { + "description": "The currency three letter code", + "type": "string" + }, + "amount": { + "description": "The Invoice's amount", + "type": "number", + "format": "double", + "readOnly": true + }, + "shippingAmount": { + "description": "The Invoice's shipping amount", + "type": "number", + "format": "double", + "readOnly": true + }, + "billingAddress": { + "description": "Invoice's billing address", + "allOf": [ + { + "$ref": "#/components/schemas/ContactObject" + } + ] + }, + "deliveryAddress": { + "description": "Invoice's delivery address", + "allOf": [ + { + "$ref": "#/components/schemas/ContactObject" + } + ] + }, + "notes": { + "description": "Notes for the customer which will display on the invoice", + "type": "string" + }, + "items": { + "type": "array", + "description": "Invoice items array", + "readOnly": true, + "items": { + "type": "string" + } + }, + "taxes": { + "type": "array", + "description": "Taxes applied to this invoice", + "readOnly": true, + "items": { + "allOf": [ + { + "$ref": "#/components/schemas/InvoiceTax" + } + ] + } + }, + "discounts": { + "type": "array", + "description": "Discounts applied", + "readOnly": true, + "items": { + "allOf": [ + { + "$ref": "#/components/schemas/InvoiceDiscount" + } + ] + } + }, + "status": { + "type": "string", + "description": "Invoice status.", + "readOnly": true, + "enum": [ + "draft", + "issued", + "past-due", + "paid", + "abandoned", + "voided" + ] + }, + "delinquentCollectionPeriod": { + "type": "integer", + "description": "Delinquent Collection Period - difference between paidTime and dueTime in days.", + "readOnly": true + }, + "collectionPeriod": { + "type": "integer", + "description": "Collection Period - difference between paidTime and issuedTime in days.", + "readOnly": true + }, + "abandonedTime": { + "description": "Invoice abandoned time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "voidedTime": { + "description": "Invoice voided time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "paidTime": { + "description": "Invoice paid time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "dueTime": { + "description": "Invoice due time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "issuedTime": { + "description": "Invoice issued time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "createdTime": { + "description": "Invoice created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 6, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/CustomerLink" + }, + { + "$ref": "#/components/schemas/WebsiteLink" + }, + { + "$ref": "#/components/schemas/BillingContactLink" + }, + { + "$ref": "#/components/schemas/DeliveryContactLink" + }, + { + "$ref": "#/components/schemas/OrganizationLink" + }, + { + "$ref": "#/components/schemas/LeadSourceLink" + } + ] + } + } + } + }, + "InvoiceIssue": { + "type": "object", + "properties": { + "issuedTime": { + "type": "string", + "format": "date-time" + } + } + }, + "InvoiceItem": { + "type": "object", + "required": [ + "type", + "unitPrice" + ], + "properties": { + "id": { + "description": "The website identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "type": { + "description": "Invoice item's type", + "type": "string", + "enum": [ + "debit", + "credit" + ] + }, + "unitPrice": { + "description": "Invoice item's price", + "type": "number", + "format": "double" + }, + "quantity": { + "description": "Invoice item's quantity", + "type": "integer" + }, + "productId": { + "description": "The product's ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "description": { + "description": "Invoice item's description", + "type": "string" + }, + "discountAmount": { + "description": "Invoice item discount amount", + "type": "number", + "format": "double", + "readOnly": true + }, + "periodStartTime": { + "description": "Start time", + "type": "string", + "format": "date-time" + }, + "periodEndTime": { + "description": "End time", + "type": "string", + "format": "date-time" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 2, + "items": { + "x-tuple": true, + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/SubscriptionLink" + } + ] + } + } + } + }, + "InvoiceTax": { + "type": "object", + "readOnly": true, + "properties": { + "amount": { + "description": "Tax amount", + "type": "number", + "format": "double" + }, + "description": { + "type": "string", + "description": "Tax description" + } + } + }, + "Layout": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "id": { + "description": "The layout identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "name": { + "description": "The name of the layout string", + "type": "string" + }, + "items": { + "description": "The array of layout items (planId and starred)", + "type": "array", + "items": { + "$ref": "#/components/schemas/LayoutItem" + } + }, + "createdTime": { + "description": "Layout created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "customFields": { + "$ref": "#/components/schemas/ResourceCustomFields" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 2, + "maxItems": 2, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/ItemsLink" + } + ] + } + } + } + }, + "LayoutItem": { + "type": "object", + "required": [ + "planId" + ], + "properties": { + "planId": { + "description": "The plan identifier string", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "starred": { + "description": "Boolean if the plan should be starred (special callout presentation)", + "type": "boolean" + }, + "order": { + "description": "Item's order in Layout", + "type": "integer", + "readOnly": true + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "LeadSource": { + "type": "object", + "properties": { + "id": { + "description": "The lead source identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "medium": { + "description": "Lead Source's medium (eg search, display)", + "type": "string" + }, + "source": { + "description": "Lead Source's source (eg google, yahoo)", + "type": "string" + }, + "campaign": { + "description": "Lead Source's campaign (eg go-big-123)", + "type": "string" + }, + "term": { + "description": "Lead Source's term (eg salt shakers)", + "type": "string" + }, + "content": { + "description": "Lead Source's content (eg smiley faces)", + "type": "string" + }, + "affiliate": { + "description": "Lead Source's affiliate (eg 123, Bob Smith)", + "type": "string" + }, + "subAffiliate": { + "description": "Lead Source's sub-affiliate also called a sub-id or click id in some circles (eg 123456)", + "type": "string" + }, + "salesAgent": { + "description": "Lead Source's sales agent (eg James Bond)", + "type": "string" + }, + "clickId": { + "description": "Lead Source's click id (may come from an ad server)", + "type": "string" + }, + "path": { + "description": "Lead Source's path uri (eg www.example.com/some/landing/path)", + "type": "string" + }, + "ipAddress": { + "description": "Customer's IP Address", + "type": "string" + }, + "currency": { + "description": "Currency (three letter ISO 4217 alpha code) (eg USD, EUR)", + "type": "string" + }, + "amount": { + "description": "The amount that the lead cost", + "type": "number", + "format": "double" + }, + "createdTime": { + "description": "LeadSource created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "LeadSource updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 2, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/CustomerLink" + } + ] + } + } + } + }, + "ApprovalUrlLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "approvalUrl" + ] + } + }, + "required": [ + "rel" + ] + }, + "AttachmentResourceLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "customer", + "dispute", + "invoice", + "note", + "payment", + "plan", + "product", + "subscription", + "transaction" + ] + } + }, + "required": [ + "rel" + ] + }, + "BankAccountLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "bankAccount" + ] + } + }, + "required": [ + "rel" + ] + }, + "BillingContactLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "billingContact" + ] + } + }, + "required": [ + "rel" + ] + }, + "CancelUrlLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "cancelUrl" + ] + } + }, + "required": [ + "rel" + ] + }, + "ContactLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "contact" + ] + } + }, + "required": [ + "rel" + ] + }, + "CustomerLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "customer" + ] + } + }, + "required": [ + "rel" + ] + }, + "DefaultPaymentInstrumentLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "defaultPaymentInstrument" + ] + } + }, + "required": [ + "rel" + ] + }, + "DeliveryContactLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "deliveryContact" + ] + } + }, + "required": [ + "rel" + ] + }, + "DisputeLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "dispute" + ] + } + }, + "required": [ + "rel" + ] + }, + "FileLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "file" + ] + } + }, + "required": [ + "rel" + ] + }, + "GatewayAccountLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "gatewayAccount" + ] + } + }, + "required": [ + "rel" + ] + }, + "ItemsLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "items" + ] + } + }, + "required": [ + "rel" + ] + }, + "LeadSourceLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "leadSource" + ] + } + }, + "required": [ + "rel" + ] + }, + "NewLink": { + "type": "object", + "properties": { + "href": { + "description": "The link URL", + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "NotesLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "notes" + ] + } + }, + "required": [ + "rel" + ] + }, + "OnBoardingUrlLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "onBoardingUrl" + ] + } + }, + "required": [ + "rel" + ] + }, + "OrganizationLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "organization" + ] + } + }, + "required": [ + "rel" + ] + }, + "ParentTransactionLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "parentTransaction" + ] + } + }, + "required": [ + "rel" + ] + }, + "PaymentCardLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "paymentCard" + ] + } + }, + "required": [ + "rel" + ] + }, + "PaymentLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "payment" + ] + } + }, + "required": [ + "rel" + ] + }, + "PermalinkLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "permalink" + ] + } + }, + "required": [ + "rel" + ] + }, + "PlanLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "plan" + ] + } + }, + "required": [ + "rel" + ] + }, + "RefundUrlLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "refundUrl" + ] + } + }, + "required": [ + "rel" + ] + }, + "RetriedTransactionLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "retriedTransaction" + ] + } + }, + "required": [ + "rel" + ] + }, + "RuleSetVersionLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "rules" + ] + } + }, + "required": [ + "rel" + ] + }, + "SelfLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "self" + ] + } + }, + "required": [ + "rel" + ] + }, + "SubscriptionLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "subscription" + ] + } + }, + "required": [ + "rel" + ] + }, + "TransactionLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "transaction" + ] + } + }, + "required": [ + "rel" + ] + }, + "WebsiteLink": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/NewLink" + } + ], + "properties": { + "rel": { + "description": "The link type", + "type": "string", + "enum": [ + "website" + ] + } + }, + "required": [ + "rel" + ] + }, + "List": { + "type": "object", + "required": [ + "name", + "values" + ], + "properties": { + "id": { + "description": "List ID", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "version": { + "description": "List version", + "type": "integer", + "readOnly": true, + "minimum": 1 + }, + "name": { + "description": "List name", + "type": "string" + }, + "values": { + "description": "List values", + "type": "array", + "items": { + "type": "string" + } + }, + "createdTime": { + "description": "List created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "List updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "Links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "Method": { + "type": "string", + "description": "The payment method", + "enum": [ + "ach", + "cash", + "payment-card", + "paypal", + "Alipay", + "China UnionPay", + "Flexepin", + "Gpaysafe", + "Jeton", + "OchaPay", + "SMSVoucher", + "UPayCard", + "WeChat Pay" + ] + }, + "A1GatewayMpis": { + "description": "A1Gateway Mpis", + "discriminator": { + "propertyName": "name" + }, + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "allOf": [ + { + "$ref": "#/components/schemas/MpiName" + } + ], + "enum": [ + "Other" + ] + } + } + }, + "DataCashMpi": { + "description": "DataCash Integrated", + "allOf": [ + { + "$ref": "#/components/schemas/DataCashMpis" + } + ] + }, + "DataCashMpis": { + "description": "DataCash Mpis", + "discriminator": { + "propertyName": "name" + }, + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "allOf": [ + { + "$ref": "#/components/schemas/MpiName" + } + ], + "enum": [ + "DataCashMpi" + ] + } + } + }, + "eMerchantPayMpis": { + "description": "eMerchantPay Mpis", + "discriminator": { + "propertyName": "name" + }, + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "allOf": [ + { + "$ref": "#/components/schemas/MpiName" + } + ], + "enum": [ + "Other" + ] + } + } + }, + "GETMpis": { + "description": "GET Mpis", + "discriminator": { + "propertyName": "name" + }, + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "allOf": [ + { + "$ref": "#/components/schemas/MpiName" + } + ], + "enum": [ + "Other" + ] + } + } + }, + "GlobalCollectMpi": { + "description": "GlobalCollect Integrated", + "allOf": [ + { + "$ref": "#/components/schemas/GlobalCollectMpis" + } + ] + }, + "GlobalCollectMpis": { + "description": "GlobalCollect Mpis", + "discriminator": { + "propertyName": "name" + }, + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "allOf": [ + { + "$ref": "#/components/schemas/MpiName" + } + ], + "enum": [ + "GlobalCollectMpi" + ] + } + } + }, + "IlixiumMpi": { + "description": "Ilixium Integrated", + "allOf": [ + { + "$ref": "#/components/schemas/IlixiumMpis" + } + ] + }, + "IlixiumMpis": { + "description": "IlixiumMpis Mpis", + "discriminator": { + "propertyName": "name" + }, + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "allOf": [ + { + "$ref": "#/components/schemas/MpiName" + } + ], + "enum": [ + "IlixiumMpi" + ] + } + } + }, + "NMIMpis": { + "description": "NMI Mpis", + "discriminator": { + "propertyName": "name" + }, + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "allOf": [ + { + "$ref": "#/components/schemas/MpiName" + } + ], + "enum": [ + "Other" + ] + } + } + }, + "OptimalMpi": { + "description": "Optimal Integrated", + "allOf": [ + { + "$ref": "#/components/schemas/OptimalMpis" + } + ] + }, + "OptimalMpis": { + "description": "Optimal Mpis", + "discriminator": { + "propertyName": "name" + }, + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "allOf": [ + { + "$ref": "#/components/schemas/MpiName" + } + ], + "enum": [ + "OptimalMpi" + ] + } + } + }, + "Other": { + "description": "Other", + "allOf": [ + { + "$ref": "#/components/schemas/A1GatewayMpis" + }, + { + "$ref": "#/components/schemas/eMerchantPayMpis" + }, + { + "$ref": "#/components/schemas/GETMpis" + }, + { + "$ref": "#/components/schemas/NMIMpis" + }, + { + "$ref": "#/components/schemas/PayvisionMpis" + }, + { + "$ref": "#/components/schemas/VantivLitleMpis" + }, + { + "$ref": "#/components/schemas/WalpayMpis" + }, + { + "$ref": "#/components/schemas/WorldpayMpis" + } + ] + }, + "CardinalCommerce": { + "description": "CardinalCommerce Mpi Credentials", + "allOf": [ + { + "$ref": "#/components/schemas/PayvisionMpis" + }, + { + "type": "object", + "required": [ + "merchantId", + "processorId", + "transactionPwd" + ], + "properties": { + "merchantId": { + "type": "string", + "description": "Cardinal MerchantId" + }, + "processorId": { + "type": "string", + "description": "Cardinal ProcessorId" + }, + "transactionPwd": { + "type": "string", + "format": "password", + "description": "Cardinal TransactionPwd" + } + } + } + ] + }, + "PayvisionMpi": { + "description": "Payvision Integrated", + "allOf": [ + { + "$ref": "#/components/schemas/PayvisionMpis" + } + ] + }, + "PayvisionMpis": { + "description": "Payvision Mpis", + "discriminator": { + "propertyName": "name" + }, + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "allOf": [ + { + "$ref": "#/components/schemas/MpiName" + } + ], + "enum": [ + "PayvisionMpi", + "CardinalCommerce", + "Other" + ] + } + } + }, + "RebillyProcessorMpi": { + "description": "RebillyProcessor Integrated", + "allOf": [ + { + "$ref": "#/components/schemas/RebillyProcessorMpis" + } + ] + }, + "RebillyProcessorMpis": { + "description": "RebillyProcessorMpis Mpis", + "discriminator": { + "propertyName": "name" + }, + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "allOf": [ + { + "$ref": "#/components/schemas/MpiName" + } + ], + "enum": [ + "RebillySandboxMpi" + ] + } + } + }, + "VantivLitleMpis": { + "description": "VantivLitle Mpis", + "discriminator": { + "propertyName": "name" + }, + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "allOf": [ + { + "$ref": "#/components/schemas/MpiName" + } + ], + "enum": [ + "Other" + ] + } + } + }, + "WalpayMpis": { + "description": "WalpayMpis Mpis", + "discriminator": { + "propertyName": "name" + }, + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "allOf": [ + { + "$ref": "#/components/schemas/MpiName" + } + ], + "enum": [ + "Other" + ] + } + } + }, + "WirecardMpi": { + "description": "Wirecard Integrated", + "allOf": [ + { + "$ref": "#/components/schemas/WirecardMpis" + } + ] + }, + "WirecardMpis": { + "description": "Wirecard Mpis", + "discriminator": { + "propertyName": "name" + }, + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "allOf": [ + { + "$ref": "#/components/schemas/MpiName" + } + ], + "enum": [ + "WirecardMpi" + ] + } + } + }, + "WorldpayMpis": { + "description": "Worldpay Mpis", + "discriminator": { + "propertyName": "name" + }, + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "allOf": [ + { + "$ref": "#/components/schemas/MpiName" + } + ], + "enum": [ + "Other" + ] + } + } + }, + "Note": { + "type": "object", + "required": [ + "content", + "relatedType", + "relatedId" + ], + "properties": { + "id": { + "description": "The note identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "createdBy": { + "description": "The note's creator", + "type": "string", + "readOnly": true + }, + "content": { + "description": "The note's name", + "type": "string" + }, + "archived": { + "description": "Is the note archived (excluded from List method)", + "type": "boolean" + }, + "relatedType": { + "description": "The note's related resource type", + "type": "string", + "enum": [ + "customer", + "payment-card", + "payment-gateway", + "subscription", + "transaction" + ] + }, + "relatedId": { + "description": "The note's related resource ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "createdTime": { + "description": "Note created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "Note updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "archivedTime": { + "description": "Note archived time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "OnOff": { + "type": "string", + "default": "active", + "enum": [ + "active", + "inactive" + ] + }, + "Organization": { + "type": "object", + "required": [ + "name", + "country" + ], + "properties": { + "id": { + "description": "The organization identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "createdTime": { + "$ref": "#/components/schemas/ServerTimestamp" + }, + "updatedTime": { + "description": "The organization updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "name": { + "description": "The organization name", + "type": "string", + "maxLength": 60 + }, + "address": { + "description": "The organization street address", + "type": "string", + "maxLength": 60 + }, + "address2": { + "description": "The organization street address", + "type": "string", + "maxLength": 60 + }, + "city": { + "description": "The organization city", + "type": "string", + "maxLength": 45 + }, + "region": { + "description": "The organization region (state)", + "type": "string", + "maxLength": 45 + }, + "country": { + "description": "The organization country ISO Alpha-2 code", + "type": "string", + "pattern": "^[A-Z]{2}$" + }, + "postalCode": { + "description": "The organization postal code", + "type": "string", + "maxLength": 10 + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "Payment": { + "type": "object", + "required": [ + "websiteId", + "customerId", + "currency", + "amount" + ], + "properties": { + "id": { + "description": "The payment identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "websiteId": { + "description": "The website identifier string", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "customerId": { + "description": "The customer identifier string", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "currency": { + "description": "The payment currency ISO Alpha code", + "type": "string" + }, + "amount": { + "description": "The payment amount", + "type": "integer", + "format": "double" + }, + "scheduledTime": { + "description": "The time the payment is scheduled for collection", + "type": "string", + "format": "date-time" + }, + "invoiceIds": { + "description": "The array of invoice identifiers", + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceId" + } + }, + "description": { + "description": "The payment description", + "type": "string", + "maxLength": 255 + }, + "retryInstruction": { + "$ref": "#/components/schemas/PaymentRetry" + }, + "retryNumber": { + "readOnly": true, + "description": "The position in the sequence of retries", + "type": "integer" + }, + "retriedPaymentId": { + "readOnly": true, + "description": "The retried payment ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "customFields": { + "$ref": "#/components/schemas/ResourceCustomFields" + }, + "paymentInstrument": { + "$ref": "#/components/schemas/PaymentInstrument" + }, + "billingAddress": { + "description": "Billing Address", + "allOf": [ + { + "$ref": "#/components/schemas/ContactObject" + } + ] + }, + "createdBy": { + "description": "The process that created this payment", + "type": "string" + }, + "updatedBy": { + "description": "The process that updated this payment", + "type": "string" + }, + "status": { + "description": "Payment status", + "type": "string", + "readOnly": true, + "enum": [ + "scheduled", + "queued", + "in-progress", + "incomplete", + "waiting-gateway", + "suspended", + "completed" + ] + }, + "result": { + "description": "Payment result", + "type": "string", + "readOnly": true, + "enum": [ + "approved", + "declined", + "canceled", + "unknown" + ] + }, + "riskMetadata": { + "description": "Risk metadata", + "allOf": [ + { + "$ref": "#/components/schemas/RiskMetadata" + } + ] + }, + "createdTime": { + "description": "Payment created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "Payment updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 4, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/WebsiteLink" + }, + { + "$ref": "#/components/schemas/TransactionLink" + }, + { + "$ref": "#/components/schemas/ApprovalUrlLink" + }, + { + "$ref": "#/components/schemas/LeadSourceLink" + } + ] + } + } + } + }, + "PaymentCard": { + "type": "object", + "properties": { + "id": { + "description": "The card identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "customerId": { + "description": "The Customer's ID. Required if card is creating not from Token", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "pan": { + "description": "The card PAN (Primary Account Number). Required if card is creating not from Token", + "type": "string" + }, + "bin": { + "description": "The card's bin (the PAN's first 6 digits)", + "type": "string", + "format": "bin", + "readOnly": true + }, + "last4": { + "description": "The PAN's last 4 digits", + "type": "string", + "readOnly": true + }, + "expYear": { + "description": "Card's expiry year. Required if card is creating not from Token", + "type": "integer" + }, + "expMonth": { + "description": "Card's expiry month. Required if card is creating not from Token", + "type": "integer" + }, + "cvv": { + "description": "Card's cvv (card verification value). Required if card is creating not from Token", + "type": "string" + }, + "billingAddress": { + "description": "The Billing Address. Required if card is creating not from Token", + "allOf": [ + { + "$ref": "#/components/schemas/ContactObject" + } + ] + }, + "token": { + "description": "PaymentCardToken. Use without any other fields", + "type": "string" + }, + "safeHash": { + "description": "The card's hash. Based on bin and last 4 digits of the PAN", + "type": "string", + "readOnly": true + }, + "status": { + "description": "Payment Card status", + "type": "string", + "readOnly": true, + "enum": [ + "active", + "expired", + "inactive", + "deactivated", + "pending" + ] + }, + "brand": { + "description": "Payment Card brand", + "type": "string", + "readOnly": true, + "enum": [ + "Visa", + "MasterCard", + "American Express", + "Discover", + "Maestro", + "Solo", + "Electron", + "JCB", + "Voyager", + "Diners Club", + "Switch", + "Laser", + "China UnionPay" + ] + }, + "bankCountry": { + "description": "Payment Card bank country", + "type": "string", + "readOnly": true + }, + "bankName": { + "description": "Payment Card bank name", + "type": "string", + "readOnly": true + }, + "createdTime": { + "description": "Card created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "Card updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "customFields": { + "$ref": "#/components/schemas/ResourceCustomFields" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 3, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/CustomerLink" + }, + { + "$ref": "#/components/schemas/BillingContactLink" + } + ] + } + } + } + }, + "PaymentCardMigrationRequest": { + "type": "object", + "required": [ + "fromGatewayAccountId", + "toGatewayAccountId", + "paymentCardIds" + ], + "properties": { + "fromGatewayAccountId": { + "description": "An ID of Gateway Account cards should be migrated from", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "toGatewayAccountId": { + "description": "An ID of Gateway Account cards should be migrated to", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "paymentCardIds": { + "type": "array", + "minItems": 1, + "items": { + "description": "An array of payment card IDs", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + } + } + } + }, + "PaymentCardMigrationResponse": { + "type": "object", + "properties": { + "migratedCards": { + "type": "integer", + "description": "Amount of cards that were successfully migrated" + } + } + }, + "PaymentInstrument": { + "type": "object", + "required": [ + "method" + ], + "discriminator": { + "propertyName": "method" + }, + "properties": { + "method": { + "$ref": "#/components/schemas/Method" + } + } + }, + "ach": { + "description": "ACH payment instrument object", + "allOf": [ + { + "$ref": "#/components/schemas/PaymentInstrument" + }, + { + "type": "object", + "required": [ + "bankAccountId" + ], + "properties": { + "bankAccountId": { + "description": "The bank account identifier string", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "gatewayAccountId": { + "description": "The payment gateway identifier string", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + } + } + } + ] + }, + "cash": { + "description": "Cash payment instrument object", + "allOf": [ + { + "$ref": "#/components/schemas/PaymentInstrument" + }, + { + "type": "object", + "properties": { + "receivedBy": { + "description": "The receiver's name", + "type": "string" + } + } + } + ] + }, + "payment-card": { + "description": "Payment card payment instrument object", + "allOf": [ + { + "$ref": "#/components/schemas/PaymentInstrument" + }, + { + "type": "object", + "required": [ + "paymentCardId" + ], + "properties": { + "paymentCardId": { + "description": "The payment card identifier string", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "gatewayAccountId": { + "description": "The payment gateway identifier string", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + } + } + } + ] + }, + "paypal": { + "description": "PayPal payment instrument object", + "allOf": [ + { + "$ref": "#/components/schemas/PaymentInstrument" + }, + { + "type": "object", + "required": [ + "payPalAccountId" + ], + "properties": { + "payPalAccountId": { + "description": "The PayPal account identifier string", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "gatewayAccountId": { + "description": "The payment gateway identifier string", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + } + } + } + ] + }, + "AmountAdjustment": { + "type": "object", + "discriminator": { + "propertyName": "method" + }, + "properties": { + "method": { + "type": "string", + "enum": [ + "none", + "partial", + "discount" + ] + } + }, + "required": [ + "method" + ] + }, + "PaymentRetry": { + "type": "object", + "properties": { + "attempts": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "scheduleInstruction": { + "$ref": "#/components/schemas/CommonScheduleInstruction" + }, + "paymentInstruction": { + "$ref": "#/components/schemas/AmountAdjustment" + } + }, + "required": [ + "scheduleInstruction", + "paymentInstruction" + ] + } + }, + "afterAttemptPolicy": { + "description": "The policy on the attempt finishes", + "type": "string", + "enum": [ + "none", + "change-subscription-renewal-time" + ] + }, + "afterRetryEndPolicy": { + "description": "The policy on the retry ends", + "type": "string", + "enum": [ + "none", + "cancel-subscription" + ] + } + }, + "required": [ + "attempts", + "afterAttemptPolicy", + "afterRetryEndPolicy" + ] + }, + "discount": { + "allOf": [ + { + "$ref": "#/components/schemas/AmountAdjustment" + }, + { + "type": "object", + "properties": { + "value": { + "description": "The payment amount discount", + "type": "number", + "format": "float" + }, + "type": { + "description": "The payment amount discount type", + "type": "string", + "enum": [ + "percent", + "fixed" + ] + } + }, + "required": [ + "value", + "type" + ] + } + ] + }, + "partial": { + "allOf": [ + { + "$ref": "#/components/schemas/AmountAdjustment" + }, + { + "type": "object", + "properties": { + "value": { + "description": "The payment amount", + "type": "number", + "format": "float" + }, + "type": { + "description": "The payment amount type", + "type": "string", + "enum": [ + "percent", + "fixed" + ] + } + }, + "required": [ + "value", + "type" + ] + } + ] + }, + "PaymentToken": { + "type": "object", + "required": [ + "method", + "paymentInstrument" + ], + "properties": { + "id": { + "description": "The token identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "method": { + "$ref": "#/components/schemas/Method" + }, + "paymentInstrument": { + "$ref": "#/components/schemas/PaymentTokenInstrument" + }, + "fingerprint": { + "description": "Device fingerprint hash", + "type": "string" + }, + "billingAddress": { + "description": "The Address. Required if bank account is not created from Token", + "allOf": [ + { + "$ref": "#/components/schemas/ContactObject" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "PaymentTokenInstrument": { + "type": "object", + "description": "Payment Token instrument object", + "properties": { + "pan": { + "description": "The card PAN (Primary Account Number)", + "type": "string" + }, + "expMonth": { + "description": "Card's expiry month", + "type": "integer" + }, + "expYear": { + "description": "Card's expiry year", + "type": "integer" + }, + "cvv": { + "description": "The CVV/CVC of the payment card", + "type": "string" + }, + "routingNumber": { + "description": "Routing Number", + "type": "integer" + }, + "accountNumber": { + "description": "AccountNumber", + "type": "integer" + }, + "accountType": { + "description": "Account Type", + "type": "string" + }, + "bankName": { + "description": "Bank name", + "type": "string" + } + } + }, + "PayPalAccount": { + "type": "object", + "properties": { + "id": { + "description": "The PayPal identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "customerId": { + "description": "The Customer's ID.", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "billingAddress": { + "description": "The Customer's Billing Address.", + "allOf": [ + { + "$ref": "#/components/schemas/ContactObject" + } + ] + }, + "username": { + "description": "PayPal username.", + "type": "string" + }, + "status": { + "description": "PayPal Account status", + "type": "string", + "readOnly": true, + "enum": [ + "inactive", + "active", + "deactivated" + ] + }, + "createdTime": { + "description": "PayPal Account created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "PayPal Account updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "customFields": { + "$ref": "#/components/schemas/ResourceCustomFields" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 4, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/CustomerLink" + }, + { + "$ref": "#/components/schemas/ContactLink" + }, + { + "$ref": "#/components/schemas/ApprovalUrlLink" + } + ] + } + } + }, + "required": [ + "customerId", + "billingAddress" + ] + }, + "Plan": { + "type": "object", + "required": [ + "name", + "currency" + ], + "properties": { + "id": { + "description": "The website identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "name": { + "description": "The plan name", + "type": "string" + }, + "currency": { + "description": "Currency (three letter ISO 4217 code)", + "type": "string" + }, + "currencySign": { + "description": "Currency sign", + "type": "string" + }, + "isActive": { + "description": "If the plan is not active, customers cannot subscribe to the plan (default to true)", + "type": "boolean" + }, + "description": { + "description": "The plan description", + "type": "string" + }, + "richDescription": { + "description": "The plan rich description - supports HTML", + "type": "string" + }, + "recurringAmount": { + "description": "The amount that recurs according to the schedule", + "type": "number", + "format": "double" + }, + "recurringPeriodUnit": { + "description": "The unit of time", + "type": "string", + "enum": [ + "day", + "week", + "month", + "year" + ] + }, + "recurringPeriodLength": { + "description": "The length of time (used with the recurringPeriodUnit)", + "type": "integer" + }, + "trialAmount": { + "description": "The amount of a trial - 0 is a valid value (for free)", + "type": "number", + "format": "double" + }, + "trialPeriodUnit": { + "description": "The unit of time", + "type": "string", + "enum": [ + "day", + "week", + "month", + "year" + ] + }, + "trialPeriodLength": { + "description": "The length of time (used with the trialPeriodUnit)", + "type": "integer" + }, + "setupAmount": { + "description": "The amount of a trial - 0 is a valid value (for free)", + "type": "number", + "format": "double" + }, + "expiredTime": { + "description": "Time when the plan is not longer valid", + "type": "string", + "format": "date-time" + }, + "contractTermUnit": { + "description": "The unit of time", + "type": "string", + "enum": [ + "day", + "week", + "month", + "year" + ] + }, + "contractTermLength": { + "description": "The length that corresponds with the contractTermUnit", + "type": "integer" + }, + "recurringPeriodLimit": { + "description": "The number of times a subscription will rebill until the contract is over", + "type": "integer" + }, + "minQuantity": { + "description": "Minimum quantity per order, defaults to 1", + "type": "integer" + }, + "maxQuantity": { + "description": "Maximum quantity per order (NULL if no maximum)", + "type": "integer" + }, + "createdTime": { + "description": "Plan created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "Plan updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "PriceBasedShippingRate": { + "type": "object", + "required": [ + "name", + "currency", + "price" + ], + "properties": { + "name": { + "description": "The shipping rate name", + "type": "string", + "maxLength": 255 + }, + "minOrderSubtotal": { + "description": "Minimum order subtotal for which this shipping rate is applicable, defaults to 0.00", + "type": "number", + "format": "double", + "default": 0 + }, + "maxOrderSubtotal": { + "description": "Maximum order subtotal for which this shipping rate is applicable (NULL if no maximum)", + "type": "number", + "format": "double" + }, + "price": { + "description": "The shipping price - 0 is a valid value (for free)", + "type": "number", + "format": "double" + }, + "currency": { + "description": "Currency (three letter ISO 4217 code)", + "type": "string" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "Product": { + "type": "object", + "required": [ + "name" + ], + "description": "Your product includes digital goods, services, and physical goods.\nProducts appear on invoice line items. If you set a tax category identifier,\ntaxes will be calculated upon invoice generation.\n", + "example": "{\n \"id\": \"stringid\",\n \"name\": \"Widget\",\n \"description\": \"Fantastic widget\",\n \"taxCategoryId\": null,\n \"requiresShipping\": true,\n \"accountingCode\": \"100\",\n \"customFields\": [],\n \"createdTime\": \"2015-08-27 13:45:12\",\n \"updatedTime\": \"2015-08-27 13:45:12\",\n \"_links\": [\n {\n \"rel\": \"self\",\n \"href\": \"https://api.rebilly.com/v2.1/products/stringid\"\n }\n ]\n}\n", + "properties": { + "id": { + "description": "The product identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "name": { + "description": "The product name", + "type": "string", + "maxLength": 255 + }, + "description": { + "description": "The product description", + "type": "string", + "maxLength": 512 + }, + "taxCategoryId": { + "description": "The product's tax category identifier string", + "type": "string", + "enum": [ + 99999, + 20010, + 40030, + 51020, + 51010, + 31000, + 30070 + ] + }, + "requiresShipping": { + "description": "If the product requires shipping, shipping calculations will be applied", + "type": "boolean" + }, + "accountingCode": { + "description": "The product accounting code", + "type": "string" + }, + "customFields": { + "$ref": "#/components/schemas/ResourceCustomFields" + }, + "createdTime": { + "description": "The product created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "The product updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "Profile": { + "type": "object", + "properties": { + "id": { + "description": "The user identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "email": { + "description": "The user email", + "readOnly": true, + "type": "string", + "format": "email", + "maxLength": 100 + }, + "firstName": { + "description": "User's first name", + "readOnly": true, + "type": "string" + }, + "lastName": { + "description": "User's last name", + "readOnly": true, + "type": "string" + }, + "businessPhone": { + "description": "The user business phone number", + "readOnly": true, + "type": "string" + }, + "mobilePhone": { + "description": "The user mobile phone number", + "readOnly": true, + "type": "string" + }, + "availableCurrencies": { + "type": "array", + "description": "An array of reporting currencies enabled for the merchant", + "readOnly": true, + "items": { + "type": "string" + } + }, + "reportingCurrency": { + "description": "The user's ISO Alpha-3 code used for reports", + "type": "string" + }, + "totpRequired": { + "description": "The user setting of two-factor authentication", + "readOnly": true, + "type": "boolean" + }, + "totpSecret": { + "description": "The user TOTP key for authentication app (if TOTP enabled)", + "readOnly": true, + "type": "string" + }, + "totpUrl": { + "description": "The user link to QR-code for TOTP authentication app (if TOTP enabled)", + "readOnly": true, + "type": "string", + "format": "url" + }, + "country": { + "description": "The user country setting - two letter code", + "readOnly": true, + "type": "string" + }, + "preferences": { + "description": "User preferences like timezone, language and many more. This is an object with custom properties.", + "type": "object" + } + } + }, + "ResetPassword": { + "type": "object", + "required": [ + "newPassword" + ], + "properties": { + "newPassword": { + "description": "New password", + "type": "string", + "format": "password" + } + } + }, + "ResetPasswordToken": { + "type": "object", + "required": [ + "username", + "password" + ], + "properties": { + "token": { + "description": "The token's identifier string", + "type": "string", + "readOnly": true + }, + "username": { + "description": "The token's username", + "type": "string" + }, + "password": { + "description": "Token's password (only for POST)", + "type": "string", + "format": "password" + }, + "credential": { + "description": "Token's credential ID", + "type": "string" + }, + "expiredTime": { + "description": "Password expired time", + "type": "string", + "format": "date-time" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "ResourceCustomFields": { + "description": "\"Custom Fields list as a map `{\"custom field name\": \"custom field value\", ...}\"`.\nThe format must follow the saved format (see Custom Fields section for the formats).\n", + "type": "object" + }, + "ResourceId": { + "type": "string", + "description": "The resource ID. Defaults to UUID v4", + "maxLength": 50, + "example": "4f6cf35x-2c4y-483z-a0a9-158621f77a21" + }, + "RiskMetadata": { + "type": "object", + "properties": { + "ipAddress": { + "description": "The customer's IP", + "type": "string", + "format": "ipv4" + }, + "isProxy": { + "description": "True if customer's ip address is related to proxy", + "type": "boolean", + "readOnly": true + }, + "isVpn": { + "description": "True if customer's ip address is related to VPN", + "type": "boolean", + "readOnly": true + }, + "isTor": { + "description": "True if customer's ip address is related to TOR", + "type": "boolean", + "readOnly": true + }, + "isHosting": { + "description": "True if customer's ip address is related to hosting", + "type": "boolean", + "readOnly": true + }, + "vpnServiceName": { + "description": "VPN service name, if available", + "type": "string", + "readOnly": true + }, + "isp": { + "description": "Internet Service Provider name, if available", + "type": "string", + "readOnly": true + }, + "country": { + "description": "Country ISO Alpha-2 code for specified ipAddress", + "maxLength": 2, + "type": "string", + "readOnly": true, + "example": "US" + }, + "city": { + "description": "City for specified ipAddress", + "type": "string", + "readOnly": true, + "example": "New York" + }, + "latitude": { + "description": "Latitude for specified ipAddress", + "type": "number", + "format": "double", + "readOnly": true + }, + "longitude": { + "description": "Longitude for specified ipAddress", + "type": "number", + "format": "double", + "readOnly": true + }, + "postalCode": { + "description": "Postal code for specified ipAddress", + "type": "string", + "maxLength": 10, + "readOnly": true + }, + "timeZone": { + "description": "Time zone for specified ipAddress", + "type": "string", + "readOnly": true, + "example": "America/New_York" + }, + "accuracyRadius": { + "description": "Accuracy radius for specified ipAddress (kilometers)", + "type": "integer", + "readOnly": true + }, + "fingerprint": { + "description": "The fingerprint", + "type": "string" + }, + "httpHeaders": { + "description": "HTTP headers", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "example": { + "User-Agent": "Mozilla/5.0", + "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" + } + } + } + }, + "add-risk-score": { + "allOf": [ + { + "$ref": "#/components/schemas/RuleAction" + }, + { + "type": "object", + "description": "Add risk score", + "properties": { + "score": { + "type": "integer", + "default": 0 + } + } + } + ] + }, + "blacklist": { + "description": "Add customer data to blacklist", + "allOf": [ + { + "$ref": "#/components/schemas/RuleAction" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "customer-id", + "email", + "fingerprint", + "ip-address", + "payment-card-id" + ] + }, + "ttl": { + "type": "integer", + "description": "Blacklist TTL. Defaults to zero, meaning blacklist record won't expire ever.", + "default": 0 + } + }, + "required": [ + "type" + ] + } + ] + }, + "cancel-scheduled-payments": { + "description": "", + "allOf": [ + { + "$ref": "#/components/schemas/RuleAction" + } + ] + }, + "guess-payment-card-expiration": { + "description": "", + "allOf": [ + { + "$ref": "#/components/schemas/RuleAction" + } + ] + }, + "pick-gateway-account": { + "description": "", + "allOf": [ + { + "$ref": "#/components/schemas/RuleAction" + }, + { + "type": "object", + "properties": { + "pickInstruction": { + "$ref": "#/components/schemas/GatewayAccountPickInstruction" + } + }, + "required": [ + "pickInstruction" + ] + } + ] + }, + "schedule-payment-retry": { + "description": "", + "allOf": [ + { + "$ref": "#/components/schemas/RuleAction" + }, + { + "$ref": "#/components/schemas/PaymentRetry" + } + ] + }, + "schedule-payment": { + "description": "", + "allOf": [ + { + "$ref": "#/components/schemas/RuleAction" + }, + { + "type": "object", + "description": "The calculation instruction of scheduled time for payment", + "properties": { + "scheduleInstruction": { + "$ref": "#/components/schemas/CommonScheduleInstruction" + }, + "amountPolicy": { + "type": "string", + "enum": [ + "balance-outstanding", + "invoice-total" + ] + } + }, + "required": [ + "scheduleInstruction", + "amountPolicy" + ] + } + ] + }, + "send-email": { + "description": "", + "allOf": [ + { + "$ref": "#/components/schemas/RuleAction" + }, + { + "$ref": "#/components/schemas/EmailNotification" + } + ] + }, + "stop-subscriptions": { + "description": "Stop active subscriptions", + "allOf": [ + { + "$ref": "#/components/schemas/RuleAction" + } + ] + }, + "trigger-webhook": { + "description": "", + "allOf": [ + { + "$ref": "#/components/schemas/RuleAction" + }, + { + "$ref": "#/components/schemas/Webhook" + } + ] + }, + "SendPreviewWebhook": { + "description": "Trigger a test webhook", + "allOf": [ + { + "$ref": "#/components/schemas/Webhook" + } + ] + }, + "SendTestEmail": { + "description": "Send a test email", + "allOf": [ + { + "$ref": "#/components/schemas/EmailNotification" + } + ] + }, + "EmailNotification": { + "type": "object", + "properties": { + "credentialHash": { + "type": "string", + "description": "SMTP Credential identifier string." + }, + "sender": { + "type": "string", + "description": "The sender address. The template palceholders are allowed." + }, + "recipients": { + "type": "array", + "description": "The recipients addresses. The template palceholders are allowed.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "cc": { + "type": "array", + "description": "The recipients addresses. The template palceholders are allowed.", + "items": { + "type": "string" + } + }, + "bcc": { + "type": "array", + "description": "The hidden recipients addresses. The template palceholders are allowed.", + "items": { + "type": "string" + } + }, + "subject": { + "type": "string", + "description": "The message subject. The template palceholders are allowed." + }, + "bodyText": { + "type": "string", + "description": "Leave empty to use text from \"bodyHtml\" without tags.\nThe template palceholders are allowed.\n" + }, + "bodyHtml": { + "type": "string", + "description": "Leave empty to receive \"text/plain\" email.\nThe template palceholders are allowed.\n" + } + }, + "required": [ + "credentialHash", + "sender", + "recipients", + "subject", + "bodyText", + "bodyHtml" + ] + }, + "GatewayAccountPickInstruction": { + "type": "object", + "discriminator": { + "propertyName": "method" + }, + "properties": { + "method": { + "type": "string", + "enum": [ + "gateway-account-weights", + "gateway-acquirer-weights" + ] + } + }, + "required": [ + "method" + ] + }, + "gateway-account-weights": { + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccountPickInstruction" + }, + { + "type": "object", + "properties": { + "weightedList": { + "type": "array", + "uniqueItems": true, + "minimum": 0, + "items": { + "type": "object", + "properties": { + "gatewayAccountId": { + "$ref": "#/components/schemas/ResourceId" + }, + "weight": { + "type": "integer" + } + }, + "required": [ + "gatewayAccountId", + "weight" + ] + }, + "example": "[\n {\"gatewayAccountId\": \"my_gateway_account_1\", \"weight\": 80},\n {\"gatewayAccountId\": \"my_gateway_account_2\", \"weight\": 20}\n]\n" + } + }, + "required": [ + "weightedList" + ] + } + ] + }, + "gateway-acquirer-weights": { + "allOf": [ + { + "$ref": "#/components/schemas/GatewayAccountPickInstruction" + }, + { + "type": "object", + "properties": { + "weightedList": { + "type": "array", + "uniqueItems": true, + "minimum": 0, + "items": { + "type": "object", + "properties": { + "gatewayName": { + "$ref": "#/components/schemas/GatewayName" + }, + "acquirerName": { + "$ref": "#/components/schemas/AcquirerName" + }, + "weight": { + "type": "integer" + } + }, + "required": [ + "gatewayName", + "acquirerName", + "weight" + ] + }, + "example": "[\n {\"gatewayName\": \"RebillyProcessor\", \"acquirerName\": \"AIB\", \"weight\": 80},\n {\"gatewayName\": \"RebillyProcessor\", \"acquirerName\": \"B+S\", \"weight\": 20}\n" + } + }, + "required": [ + "weightedList" + ] + } + ] + }, + "Rule": { + "type": "object", + "description": "The rule", + "properties": { + "name": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/OnOff" + }, + "final": { + "description": "Whether rule is final, meaning stop further matching rules if this is matched", + "type": "boolean", + "default": true + }, + "criteria": { + "$ref": "#/components/schemas/Condition" + }, + "actions": { + "type": "array", + "uniqueItems": true, + "items": { + "$ref": "#/components/schemas/RuleAction" + } + } + }, + "required": [ + "name", + "actions" + ] + }, + "RuleAction": { + "type": "object", + "discriminator": { + "propertyName": "name" + }, + "properties": { + "name": { + "type": "string", + "description": "The action name", + "enum": [ + "blacklist", + "cancel-scheduled-payments", + "guess-payment-card-expiration", + "pick-gateway-account", + "schedule-payment-retry", + "schedule-payment", + "send-email", + "trigger-webhook", + "stop-subscriptions", + "add-risk-score" + ] + }, + "status": { + "$ref": "#/components/schemas/OnOff" + } + }, + "required": [ + "name" + ] + }, + "RuleSet": { + "type": "object", + "description": "Set of rules for particular event", + "properties": { + "version": { + "type": "integer", + "readOnly": true + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Rule" + } + }, + "updatedTime": { + "$ref": "#/components/schemas/ServerTimestamp" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + }, + "required": [ + "rules" + ] + }, + "RuleSetHistoryItem": { + "type": "object", + "description": "Version of rules", + "readOnly": true, + "properties": { + "version": { + "type": "integer" + }, + "createdTime": { + "$ref": "#/components/schemas/ServerTimestamp" + }, + "_links": { + "type": "array", + "description": "The links related to a resource", + "readOnly": true, + "minItems": 2, + "maxItems": 2, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/RuleSetVersionLink" + } + ] + } + } + } + }, + "RuleSetVersion": { + "type": "object", + "description": "Version of rules", + "readOnly": true, + "properties": { + "version": { + "type": "integer" + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Rule" + } + }, + "createdTime": { + "$ref": "#/components/schemas/ServerTimestamp" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "Webhook": { + "type": "object", + "properties": { + "method": { + "type": "string", + "enum": [ + "GET", + "POST", + "PUT", + "PATCH", + "DELETE" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "query": { + "type": "object", + "description": "The URI parameters", + "additionalProperties": { + "type": "string", + "example": { + "param1": "value1", + "param2": "value2" + } + } + }, + "body": { + "type": "string" + }, + "credentialHash": { + "type": "string", + "description": "Webhook Credential identifier string." + }, + "headers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WebhookHeader" + } + } + }, + "required": [ + "method", + "url" + ] + }, + "WebhookHeader": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/OnOff" + }, + "value": { + "type": "string", + "example": { + "Header1": "value1", + "Header2": "value2;value3" + } + } + }, + "required": [ + "name", + "value" + ] + }, + "CommonScheduleInstruction": { + "type": "object", + "description": "The calculation instruction of scheduled time", + "discriminator": { + "propertyName": "method" + }, + "properties": { + "method": { + "type": "string", + "enum": [ + "auto", + "immediately", + "date-interval", + "day-of-month", + "day-of-week" + ] + } + }, + "required": [ + "method" + ] + }, + "CustomEventScheduleInstruction": { + "type": "object", + "description": "The calculation instruction of scheduled time", + "discriminator": { + "propertyName": "method" + }, + "properties": { + "method": { + "type": "string", + "enum": [ + "date-interval", + "day-of-month", + "day-of-week" + ] + } + }, + "required": [ + "method" + ] + }, + "DayOfWeek": { + "type": "string", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + }, + "auto": { + "allOf": [ + { + "$ref": "#/components/schemas/CommonScheduleInstruction" + } + ] + }, + "date-interval": { + "allOf": [ + { + "$ref": "#/components/schemas/CommonScheduleInstruction" + }, + { + "$ref": "#/components/schemas/CustomEventScheduleInstruction" + }, + { + "type": "object", + "properties": { + "duration": { + "type": "integer", + "description": "The number of the units", + "minimum": 1 + }, + "unit": { + "$ref": "#/components/schemas/TimeUnit" + } + }, + "required": [ + "duration", + "unit" + ] + } + ] + }, + "day-of-month": { + "allOf": [ + { + "$ref": "#/components/schemas/CommonScheduleInstruction" + }, + { + "$ref": "#/components/schemas/CustomEventScheduleInstruction" + }, + { + "type": "object", + "properties": { + "day": { + "type": "integer", + "minimum": 1, + "maximum": 31, + "description": "The day of the month when event will be scheduled.\nBe aware if the month has less days,\nthe last day of the month will be selected.\n" + }, + "time": { + "$ref": "#/components/schemas/Time" + } + }, + "required": [ + "day" + ] + } + ] + }, + "day-of-week": { + "allOf": [ + { + "$ref": "#/components/schemas/CommonScheduleInstruction" + }, + { + "$ref": "#/components/schemas/CustomEventScheduleInstruction" + }, + { + "type": "object", + "properties": { + "day": { + "$ref": "#/components/schemas/DayOfWeek" + }, + "week": { + "type": "string", + "default": "next", + "enum": [ + "next", + "first-in-month", + "last-in-month" + ] + }, + "time": { + "$ref": "#/components/schemas/Time" + } + }, + "required": [ + "day" + ] + } + ] + }, + "immediately": { + "allOf": [ + { + "$ref": "#/components/schemas/CommonScheduleInstruction" + } + ] + }, + "Time": { + "type": "string", + "format": "date-time", + "pattern": "^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](Z(\\+|\\-)([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9])?$" + }, + "TimeUnit": { + "type": "string", + "enum": [ + "second", + "seconds", + "minute", + "minutes", + "hour", + "hours", + "day", + "days", + "month", + "months", + "year", + "years" + ] + }, + "ServerTimestamp": { + "type": "string", + "description": "Read-only timestamp, automatically assigned on back-end.", + "format": "date-time", + "readOnly": true + }, + "Session": { + "type": "object", + "required": [ + "permissions" + ], + "properties": { + "id": { + "description": "The session identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "token": { + "description": "The session's token used for authentication", + "type": "string" + }, + "permissions": { + "description": "The session's permissions. See the format in example", + "allOf": [ + { + "$ref": "#/components/schemas/UserPermissions" + } + ] + }, + "userId": { + "description": "The user identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "createdTime": { + "description": "Session created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "Session updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "expiredTime": { + "description": "Session expired time. Defaults to one hour", + "type": "string", + "format": "date-time" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "ShippingZone": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "id": { + "description": "The shipping zone identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "name": { + "description": "The shipping zone name", + "type": "string", + "maxLength": 255 + }, + "countries": { + "description": "Countries covered by the shipping zone. A country can only belong to one shipping zone (no overlapping).\nThis property can be empty or null to create a default shipping zone for countries that were not specified in other zones.\n", + "type": "array", + "items": { + "description": "Country ISO Alpha-2 code", + "type": "string", + "pattern": "^[A-Z]{2}$" + } + }, + "rates": { + "description": "Price-based shipping rate instructions", + "type": "array", + "items": { + "description": "Price based shipping rate instruction", + "allOf": [ + { + "$ref": "#/components/schemas/PriceBasedShippingRate" + } + ] + } + }, + "isDefault": { + "description": "Is this Shipping Zone default", + "readOnly": true + }, + "createdTime": { + "description": "The shipping zone created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "The shipping zone updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "Signin": { + "type": "object", + "required": [ + "email", + "password" + ], + "properties": { + "email": { + "description": "Email", + "type": "string" + }, + "password": { + "description": "Password", + "type": "string", + "format": "password" + }, + "expiredTime": { + "description": "Session expired time. Defaults to one hour", + "type": "string", + "format": "date-time" + } + } + }, + "Signup": { + "type": "object", + "required": [ + "email", + "company", + "firstName", + "lastName", + "businessPhone", + "password", + "website" + ], + "properties": { + "email": { + "description": "The user email", + "type": "string", + "format": "email", + "maxLength": 100 + }, + "company": { + "description": "The user's company name", + "type": "string" + }, + "firstName": { + "description": "The user first name", + "type": "string" + }, + "lastName": { + "description": "The user last name", + "type": "string" + }, + "businessPhone": { + "description": "The user business phone number", + "type": "string" + }, + "password": { + "description": "The user password", + "type": "string", + "format": "password" + }, + "website": { + "description": "The user's website address", + "type": "string" + }, + "currencies": { + "description": "An array of currencies codes", + "type": "array", + "default": [ + "USD" + ], + "items": { + "description": "3 letters ISO 4217 currency code", + "type": "string" + } + }, + "merchantCategoryCode": { + "description": "Merchant category code. Defaults to \"Computer Software Stores\"", + "type": "integer", + "default": 5734 + } + } + }, + "Status": { + "type": "object", + "properties": { + "status": { + "description": "The API status. If everything is ok - value is 'ok'", + "type": "string", + "readOnly": true, + "enum": [ + "ok" + ] + }, + "time": { + "description": "Current time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + } + } + }, + "Subscription": { + "type": "object", + "required": [ + "customerId", + "planId", + "websiteId" + ], + "properties": { + "id": { + "description": "The Subscription identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "customerId": { + "description": "Unique id for each customer", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "planId": { + "description": "Unique id for each plan", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "websiteId": { + "description": "Unique id for each website", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "initialInvoiceId": { + "description": "Unique id for the initial invoice", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "deliveryAddress": { + "description": "Delivery address", + "allOf": [ + { + "$ref": "#/components/schemas/ContactObject" + } + ] + }, + "billingAddress": { + "description": "Billing address", + "allOf": [ + { + "$ref": "#/components/schemas/ContactObject" + } + ] + }, + "status": { + "description": "Subscription status", + "type": "string", + "readOnly": true + }, + "quantity": { + "description": "Quantity for each subscription. Default value to 1", + "type": "integer" + }, + "autopay": { + "description": "Autopay determines if a payment attempt will be automatic", + "type": "boolean", + "default": true + }, + "inTrial": { + "description": "True if the subscription is currently in a trial period", + "type": "boolean", + "readOnly": true + }, + "rebillNumber": { + "description": "The current period number", + "type": "integer", + "readOnly": true + }, + "canceledBy": { + "description": "Canceled by", + "type": "string", + "readOnly": true, + "enum": [ + "merchant", + "customer", + "rebilly" + ] + }, + "cancelCategory": { + "description": "Cancel category", + "type": "string", + "readOnly": true, + "enum": [ + "billing-failure", + "did-not-use", + "did-not-want", + "missing-features", + "bugs-or-problems", + "do-not-remember", + "risk-warning", + "contract-expired", + "too-expensive", + "never-started", + "switched-plan", + "other" + ] + }, + "cancelDescription": { + "description": "Cancel reason description in free form", + "type": "string", + "readOnly": true, + "maxLength": 255 + }, + "riskMetadata": { + "description": "Risk metadata", + "allOf": [ + { + "$ref": "#/components/schemas/RiskMetadata" + } + ] + }, + "startTime": { + "description": "Subscription start time", + "type": "string", + "format": "date-time" + }, + "activationTime": { + "description": "Subscription activation time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "endTime": { + "description": "Subscription end time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "renewalTime": { + "description": "Subscription renewal time", + "type": "string", + "format": "date-time" + }, + "canceledTime": { + "description": "Subscription canceled time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "createdTime": { + "description": "Subscription created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "Subscription updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "customFields": { + "$ref": "#/components/schemas/ResourceCustomFields" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 6, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/CustomerLink" + }, + { + "$ref": "#/components/schemas/PlanLink" + }, + { + "$ref": "#/components/schemas/WebsiteLink" + }, + { + "$ref": "#/components/schemas/BillingContactLink" + }, + { + "$ref": "#/components/schemas/DeliveryContactLink" + }, + { + "$ref": "#/components/schemas/LeadSourceLink" + } + ] + } + } + } + }, + "SubscriptionCancel": { + "type": "object", + "required": [ + "policy", + "canceledBy", + "cancelCategory" + ], + "properties": { + "policy": { + "description": "Cancel policy", + "type": "string", + "enum": [ + "at-next-renewal", + "now-with-prorata-credit", + "now" + ] + }, + "canceledBy": { + "description": "Canceled by", + "type": "string", + "enum": [ + "merchant", + "customer" + ] + }, + "cancelCategory": { + "description": "Cancel category", + "type": "string", + "enum": [ + "did-not-use", + "did-not-want", + "missing-features", + "bugs-or-problems", + "do-not-remember", + "risk-warning", + "contract-expired", + "too-expensive", + "other" + ] + }, + "cancelDescription": { + "description": "Cancel reason description in free form", + "type": "string", + "maxLength": 255 + } + } + }, + "SubscriptionSwitch": { + "type": "object", + "required": [ + "planId", + "policy" + ], + "properties": { + "planId": { + "description": "The plan identifier string", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "policy": { + "description": "Switch policy", + "type": "string", + "enum": [ + "at-next-renewal", + "now-with-prorata-credit", + "now" + ] + }, + "websiteId": { + "description": "The website's ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "quantity": { + "description": "Quantity for each subscription. Default value to 1", + "type": "integer" + } + } + }, + "TaxCategory": { + "type": "object", + "properties": { + "id": { + "description": "The tax category identifier string", + "type": "string", + "readOnly": true, + "maxLength": 50, + "enum": [ + 99999, + 20010, + 40030, + 51020, + 51010, + 31000, + 30070 + ] + }, + "description": { + "description": "The tax category description", + "type": "string", + "maxLength": 512 + }, + "taxProvider": { + "description": "The tax category maps to a provider", + "type": "string", + "enum": [ + "tax-jar" + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "ThreeDSecure": { + "type": "object", + "required": [ + "enrolled", + "enrollmentEci", + "customerId", + "gatewayAccountId", + "paymentCardId", + "websiteId", + "currency", + "amount" + ], + "properties": { + "id": { + "description": "The 3D Secure entry identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "customerId": { + "description": "Related customer ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "gatewayAccountId": { + "description": "Related gateway account ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "paymentCardId": { + "description": "Related payment card ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "websiteId": { + "description": "Related Website ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "enrolled": { + "description": "Is the cardholder enrolled in 3DSecure", + "type": "string", + "enum": [ + "Y", + "N", + "U" + ] + }, + "enrollmentEci": { + "description": "The 3D Secure entry enrollment eci", + "type": "string" + }, + "eci": { + "description": "The 3D Secure entry electronic commerce indicator", + "type": "integer" + }, + "cavv": { + "description": "The 3D Secure entry cardholder authentication verification value", + "type": "string" + }, + "xid": { + "description": "The 3D Secure entry transaction Id", + "type": "string" + }, + "payerAuthResponseStatus": { + "description": "The 3D Secure entry Auth Response Status", + "type": "string", + "enum": [ + "Y", + "N", + "U", + "A" + ] + }, + "signatureVerification": { + "description": "If signature was verified", + "type": "string", + "enum": [ + "Y", + "N" + ] + }, + "amount": { + "description": "Transaction amount", + "type": "number", + "format": "double" + }, + "currency": { + "description": "The currency three letter code", + "type": "string" + }, + "createdTime": { + "description": "The 3D Secure entry created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "ApiTracking": { + "type": "object", + "description": "Tracking API Requests.", + "readOnly": true, + "properties": { + "id": { + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "status": { + "type": "integer", + "description": "HTTP response code" + }, + "url": { + "type": "string", + "description": "API request address" + }, + "method": { + "type": "string", + "description": "HTTP method", + "enum": [ + "HEAD", + "GET", + "POST", + "PUT", + "DELETE", + "PATCH" + ] + }, + "request": { + "type": "string", + "description": "Request JSON-string" + }, + "response": { + "type": "string", + "description": "Response JSON-string" + }, + "requestHeaders": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "example": { + "User-Agent": "Mozilla/5.0", + "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" + } + }, + "responseHeaders": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "example": { + "Rate-Limit-Limit": 5000, + "Rate-Limit-Remaining": 4999, + "Rate-Limit-Reset": "Mon, 31 Jul 2017 04:16:00 +0000" + } + }, + "user": { + "type": "object", + "description": "The user who has made a request", + "readOnly": true, + "properties": { + "userId": { + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "apiKeyId": { + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "email": { + "description": "The user email", + "type": "string", + "format": "email" + }, + "firstName": { + "description": "The user first name", + "type": "string" + }, + "lastName": { + "description": "The user last name", + "type": "string" + }, + "ipAddress": { + "type": "string", + "description": "Client IP address", + "format": "ipv4" + }, + "userAgent": { + "description": "The software that is acting on behalf of a user", + "type": "string" + }, + "fingerprint": { + "description": "The user device fingerprint hash", + "type": "string" + }, + "isSupport": { + "description": "If user from support", + "type": "boolean" + } + } + }, + "duration": { + "type": "integer", + "description": "Request duration in milliseconds" + }, + "createdTime": { + "description": "The log created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "SubscriptionTracking": { + "type": "object", + "description": "Tracking subscription log", + "readOnly": true, + "properties": { + "id": { + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "subscriptionId": { + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "invoiceItemId": { + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "result": { + "type": "string", + "description": "Subscription's result", + "enum": [ + "created", + "postponed", + "stopped", + "error" + ] + }, + "message": { + "type": "string", + "description": "It contains the transaction number and renewal time" + }, + "createdTime": { + "description": "The log created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "WebhookTracking": { + "type": "object", + "description": "Webhook Tracking Requests.", + "readOnly": true, + "properties": { + "id": { + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "eventType": { + "$ref": "#/components/schemas/EventType" + }, + "url": { + "type": "string", + "description": "Url where webhook was sent" + }, + "method": { + "type": "string", + "description": "HTTP method which was used to send webhook", + "example": "POST" + }, + "headers": { + "type": "object", + "description": "HTTP headers which were used to send webhook", + "additionalProperties": { + "type": "string" + }, + "example": { + "My-Header": "Cool-Value" + } + }, + "responseCode": { + "type": "integer", + "description": "HTTP code response" + }, + "responseBody": { + "type": "string", + "description": "Response body received" + }, + "payload": { + "type": "object", + "description": "Event's data information" + }, + "sentTime": { + "description": "Sent time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "initiatedTime": { + "description": "Initiated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "createdTime": { + "description": "The log created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "WebsiteWebhookTracking": { + "type": "object", + "description": "Webhook Tracking Requests.", + "readOnly": true, + "properties": { + "id": { + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "websiteId": { + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "eventName": { + "type": "string", + "description": "Event name for which webhook was called" + }, + "status": { + "type": "string", + "description": "Event's status", + "enum": [ + "fail", + "success" + ] + }, + "response": { + "type": "integer", + "description": "HTTP code response" + }, + "pushData": { + "type": "string", + "description": "Event's data information JSON-string" + }, + "sentTime": { + "description": "Sent time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "nextSendTime": { + "description": "Next send time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "createdTime": { + "description": "The log created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "TransactionGatewayLog": { + "type": "object", + "readOnly": true, + "properties": { + "headers": { + "description": "The request headers", + "type": "array", + "items": { + "type": "string" + } + }, + "url": { + "description": "The request URL", + "type": "string" + }, + "request": { + "description": "The request body", + "type": "string" + }, + "response": { + "description": "The response body", + "type": "string" + }, + "duration": { + "description": "The request time, msec", + "type": "integer" + }, + "createdTime": { + "description": "The log entry created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/TransactionLink" + } + } + } + }, + "TransactionRefund": { + "type": "object", + "required": [ + "amount" + ], + "properties": { + "amount": { + "description": "Refund amount", + "type": "number", + "format": "double" + } + } + }, + "RedirectUrls": { + "type": "object", + "description": "The redirect URIs", + "required": [ + "error", + "success", + "decline", + "cancel" + ], + "properties": { + "error": { + "type": "string", + "format": "url" + }, + "success": { + "type": "string", + "format": "url" + }, + "decline": { + "type": "string", + "format": "url" + }, + "cancel": { + "type": "string", + "format": "url" + } + } + }, + "ThreeDSecureResult": { + "type": "object", + "readOnly": true, + "required": [ + "enrolled", + "authenticated", + "liability" + ], + "properties": { + "enrolled": { + "description": "Is the cardholder enrolled in 3D Secure", + "type": "string", + "enum": [ + "yes", + "no", + "invalid card/timeout", + "unavailable" + ] + }, + "authenticated": { + "description": "The 3D Secure entry Auth Response Status", + "type": "string", + "enum": [ + "yes", + "no", + "not applicable", + "attempted" + ] + }, + "liability": { + "type": "string", + "enum": [ + "protected", + "not protected", + "protected (attempt)" + ] + } + } + }, + "Transaction": { + "type": "object", + "properties": { + "id": { + "description": "The transaction identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "type": { + "description": "Transaction type", + "type": "string", + "readOnly": true, + "enum": [ + "authorize", + "capture", + "credit", + "refund", + "sale", + "void" + ] + }, + "status": { + "description": "Transaction status", + "type": "string", + "readOnly": true, + "enum": [ + "completed", + "connection-error", + "never-sent", + "pending", + "sending", + "suspended", + "timeout", + "waiting-capture", + "waiting-refund" + ] + }, + "result": { + "description": "Transaction result", + "type": "string", + "readOnly": true, + "enum": [ + "approved", + "canceled", + "declined", + "unknown" + ] + }, + "amount": { + "description": "The transactions's amount", + "type": "number", + "format": "double", + "readOnly": true + }, + "currency": { + "description": "The transactions's currency", + "type": "string", + "readOnly": true + }, + "parentTransactionId": { + "description": "The transactions's parent ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ], + "readOnly": true + }, + "childTransactions": { + "description": "The child transaction IDs", + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceId" + } + }, + "invoiceIds": { + "description": "The invoice IDs related to transaction", + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceId" + } + }, + "subscriptionIds": { + "description": "The subscription IDs related to transaction", + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceId" + } + }, + "isRebill": { + "type": "boolean", + "readOnly": true + }, + "rebillNumber": { + "description": "The transactions's rebill number", + "type": "integer", + "readOnly": true + }, + "gatewayAccountId": { + "description": "The transactions's Gateway Account ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ], + "readOnly": true + }, + "gatewayTransactionId": { + "description": "The gateway's transaction ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ], + "readOnly": true + }, + "gateway": { + "type": "object", + "description": "The related gateway information", + "readOnly": true, + "properties": { + "response": { + "description": "The gateway's response", + "type": "object", + "properties": { + "code": { + "description": "The gateway's response code", + "type": "string" + }, + "message": { + "description": "The gateway's response message", + "type": "string" + }, + "type": { + "description": "The gateway's response type", + "type": "string" + }, + "originalCode": { + "description": "The raw, unmapped gateway's response code", + "type": "string" + }, + "originalMessage": { + "description": "The raw, unmapped gateway's response message", + "type": "string" + } + } + }, + "avsResponse": { + "description": "The AVS gateway's response", + "type": "object", + "properties": { + "code": { + "description": "The raw response code", + "type": "string" + }, + "message": { + "description": "The raw response message", + "type": "string" + } + } + }, + "cvvResponse": { + "description": "The CVV gateway's response", + "type": "object", + "properties": { + "code": { + "description": "The raw response code", + "type": "string" + }, + "message": { + "description": "The raw response message", + "type": "string" + } + } + } + } + }, + "gatewayName": { + "description": "Payment Gateway name, available only when transaction use gateway, else null", + "type": "string", + "readOnly": true + }, + "acquirerName": { + "description": "Acquirer name, available only when transaction use gateway, else null", + "type": "string", + "readOnly": true + }, + "websiteId": { + "description": "Website's ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ], + "readOnly": true + }, + "customerId": { + "description": "Customer's ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ], + "readOnly": true + }, + "method": { + "description": "Payment Method", + "allOf": [ + { + "$ref": "#/components/schemas/Method" + } + ] + }, + "velocity": { + "description": "The number of transactions by the same customer in the past 24 hours", + "type": "number", + "format": "integer" + }, + "bin": { + "description": "Payment Card BIN", + "type": "string", + "format": "bin", + "readOnly": true + }, + "paymentInstrument": { + "$ref": "#/components/schemas/PaymentInstrument" + }, + "billingAddress": { + "description": "Billing Address", + "allOf": [ + { + "$ref": "#/components/schemas/ContactObject" + } + ] + }, + "has3ds": { + "type": "boolean", + "readOnly": true + }, + "3ds": { + "allOf": [ + { + "$ref": "#/components/schemas/ThreeDSecureResult" + } + ] + }, + "hasDcc": { + "description": "True if transaction has Dynamic Currency Conversion applied", + "type": "boolean", + "readOnly": true + }, + "dcc": { + "description": "Dynamic Currency Conversion detailed information. Null if hasDcc is false", + "type": "object", + "readOnly": true, + "properties": { + "base": { + "type": "object", + "description": "Initial amount and currency to convert from", + "properties": { + "amount": { + "type": "number", + "format": "double" + }, + "currency": { + "type": "string" + } + } + }, + "quote": { + "type": "object", + "description": "Suggested amount and currency to convert to", + "properties": { + "amount": { + "type": "number", + "format": "double" + }, + "currency": { + "type": "string" + } + } + }, + "usdMarkup": { + "description": "The amount of markup translated to USD", + "type": "number", + "format": "double" + }, + "outcome": { + "type": "string", + "description": "Dynamic Currency Conversion outcome", + "enum": [ + "rejected", + "selected", + "unknown" + ] + } + } + }, + "riskScore": { + "description": "The transactions's risk score", + "type": "number", + "format": "integer", + "readOnly": true + }, + "riskMetadata": { + "description": "Risk metadata", + "allOf": [ + { + "$ref": "#/components/schemas/RiskMetadata" + } + ] + }, + "redirectUrls": { + "$ref": "#/components/schemas/RedirectUrls" + }, + "retryInstruction": { + "$ref": "#/components/schemas/PaymentRetry" + }, + "retryNumber": { + "type": "integer", + "readOnly": true, + "description": "The position in the sequence of retries" + }, + "retriedTransactionId": { + "readOnly": true, + "description": "The retried transaction ID", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "description": { + "type": "string", + "description": "The payment description", + "maxLength": 255 + }, + "isDisputed": { + "description": "True if transaction is disputed", + "type": "boolean", + "readOnly": true + }, + "customFields": { + "$ref": "#/components/schemas/ResourceCustomFields" + }, + "scheduledTime": { + "type": "string", + "description": "The time the transaction is scheduled for collection", + "format": "date-time" + }, + "processedTime": { + "description": "Transaction processed time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "createdTime": { + "description": "Transaction created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "Transaction updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 13, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/GatewayAccountLink" + }, + { + "$ref": "#/components/schemas/CustomerLink" + }, + { + "$ref": "#/components/schemas/WebsiteLink" + }, + { + "$ref": "#/components/schemas/PaymentCardLink" + }, + { + "$ref": "#/components/schemas/ParentTransactionLink" + }, + { + "$ref": "#/components/schemas/RetriedTransactionLink" + }, + { + "$ref": "#/components/schemas/BillingContactLink" + }, + { + "$ref": "#/components/schemas/LeadSourceLink" + }, + { + "$ref": "#/components/schemas/ApprovalUrlLink" + }, + { + "$ref": "#/components/schemas/CancelUrlLink" + }, + { + "$ref": "#/components/schemas/RefundUrlLink" + }, + { + "$ref": "#/components/schemas/DisputeLink" + } + ] + } + } + } + }, + "UpdatePassword": { + "type": "object", + "properties": { + "currentPassword": { + "description": "Current user's password - used when requesting password change", + "type": "string", + "format": "password" + }, + "newPassword": { + "description": "New user's password - used when requesting password change", + "type": "string", + "format": "password" + } + } + }, + "User": { + "type": "object", + "required": [ + "email", + "firstName", + "lastName" + ], + "properties": { + "id": { + "description": "The user identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "email": { + "description": "The user email", + "type": "string", + "format": "email", + "maxLength": 100 + }, + "firstName": { + "description": "User's first name", + "type": "string" + }, + "lastName": { + "description": "User's last name", + "type": "string" + }, + "businessPhone": { + "description": "The user business phone number", + "type": "string" + }, + "mobilePhone": { + "description": "The user mobile phone number", + "type": "string" + }, + "password": { + "description": "User's password. If not provided, password reset email will be sent", + "type": "string", + "format": "password" + }, + "permissions": { + "description": "The user's permissions. See the format in example", + "allOf": [ + { + "$ref": "#/components/schemas/UserPermissions" + } + ] + }, + "createdTime": { + "description": "The user created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "The user updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "loginTime": { + "description": "The user last login time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "reportingCurrency": { + "description": "The user's ISO Alpha-3 code used for reports", + "type": "string" + }, + "availableCurrencies": { + "type": "array", + "description": "An array of reporting currencies enabled for the merchant", + "readOnly": true, + "items": { + "type": "string" + } + }, + "totpRequired": { + "description": "The user setting of two-factor authentication", + "type": "boolean" + }, + "totpSecret": { + "description": "The user TOTP key for authentication app (if TOTP enabled)", + "type": "string" + }, + "totpUrl": { + "description": "The user link to QR-code for TOTP authentication app (if TOTP enabled)", + "type": "string", + "format": "url" + }, + "status": { + "description": "The user status", + "type": "string", + "enum": [ + "active", + "inactive", + "pending-confirmation" + ], + "readOnly": true + }, + "country": { + "description": "The user country setting - two letter code", + "type": "string" + }, + "preferences": { + "description": "User preferences like timezone, language and many more. This is an object with custom properties.", + "type": "object" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 1, + "items": { + "$ref": "#/components/schemas/SelfLink" + } + } + } + }, + "UserPermissions": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "resourceName": { + "type": "string", + "enum": [ + "3dsecure", + "api-keys", + "api-tracking", + "authentication-options", + "authentication-tokens", + "bank-accounts", + "blacklists", + "checkout-pages", + "contacts", + "coupons", + "coupons-redemptions", + "credentials", + "custom-events", + "custom-fields", + "customers", + "disputes", + "events", + "gateway-accounts", + "invoices", + "layouts", + "lead-sources", + "lists", + "matched-rules", + "notes", + "oct-batch", + "organizations", + "password-tokens", + "payments", + "payment-cards", + "payment-cards-migrations", + "paypal-accounts", + "plans", + "reports", + "reset-sandbox", + "rulesets", + "sessions", + "subscriptions", + "subscription-tracking", + "tokens", + "transactions", + "users", + "webhook", + "webhook-tracking", + "websites" + ] + }, + "methods": { + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "enum": [ + "HEAD", + "GET", + "POST", + "PUT", + "DELETE", + "PATCH" + ] + } + }, + "resourceIds": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceId" + } + } + } + }, + "example": [ + { + "resourceName": "plans", + "methods": [ + "GET", + "POST", + "PUT", + "HEAD", + "DELETE" + ] + }, + { + "resourceName": "invoices", + "methods": [ + "GET", + "HEAD" + ], + "resourceIds": [ + "4f6cf35x-2c4y-483z-a0a9-158621f77a21", + "1586f35x-4f6c-483z-a0a9-2c4y21f77a21" + ] + }, + { + "resourceName": null, + "methods": null, + "resourceIds": null + } + ] + }, + "WebhookAuthorization": { + "type": "object", + "discriminator": { + "propertyName": "type" + }, + "properties": { + "type": { + "type": "string", + "description": "The authorization type", + "enum": [ + "none", + "basic", + "digest", + "oauth1" + ], + "default": "none" + } + }, + "required": [ + "type" + ] + }, + "basic": { + "allOf": [ + { + "$ref": "#/components/schemas/WebhookAuthorization" + }, + { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string", + "format": "password" + } + }, + "required": [ + "username", + "password" + ] + } + ] + }, + "digest": { + "allOf": [ + { + "$ref": "#/components/schemas/WebhookAuthorization" + }, + { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string", + "format": "password" + } + }, + "required": [ + "username", + "password" + ] + } + ] + }, + "oauth1": { + "allOf": [ + { + "$ref": "#/components/schemas/WebhookAuthorization" + }, + { + "type": "object", + "properties": { + "consumerKey": { + "type": "string" + }, + "consumerSecret": { + "type": "string" + }, + "token": { + "type": "string" + }, + "tokenSecret": { + "type": "string" + } + }, + "required": [ + "consumerKey", + "consumerSecret", + "token", + "tokenSecret" + ] + } + ] + }, + "WebhookCredential": { + "type": "object", + "description": "Webhook credential", + "properties": { + "hash": { + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "host": { + "type": "string", + "description": "The host name" + }, + "auth": { + "$ref": "#/components/schemas/WebhookAuthorization" + } + }, + "required": [ + "host" + ] + }, + "Website": { + "type": "object", + "required": [ + "name", + "url", + "servicePhone", + "serviceEmail" + ], + "properties": { + "id": { + "description": "The website identifier string", + "readOnly": true, + "allOf": [ + { + "$ref": "#/components/schemas/ResourceId" + } + ] + }, + "name": { + "description": "The website's name", + "type": "string" + }, + "url": { + "description": "The website's domain address", + "type": "string" + }, + "servicePhone": { + "description": "The website's customer service phone number", + "type": "string" + }, + "serviceEmail": { + "description": "The website's customer service email address", + "type": "string", + "format": "email" + }, + "checkoutPageUri": { + "description": "Your own custom URI for this Checkout Page", + "type": "string" + }, + "createdTime": { + "description": "Website created time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "updatedTime": { + "description": "Website updated time", + "allOf": [ + { + "$ref": "#/components/schemas/ServerTimestamp" + } + ] + }, + "customFields": { + "$ref": "#/components/schemas/ResourceCustomFields" + }, + "_links": { + "type": "array", + "description": "The links related to resource", + "readOnly": true, + "minItems": 1, + "maxItems": 2, + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/SelfLink" + }, + { + "$ref": "#/components/schemas/NotesLink" + } + ] + } + } + } + }, + "WebsiteWebhook": { + "type": "object", + "required": [ + "webHookUrl", + "webHookUsername", + "webHookPassword" + ], + "properties": { + "webHookUrl": { + "description": "Webhook Url", + "type": "string" + }, + "webHookUsername": { + "description": "Webhook HTTP Authentication Username", + "type": "string" + }, + "webHookPassword": { + "description": "Webhook HTTP Authentication Password. An empty string will be returned in the response", + "type": "string" + } + } + } + }, + "responses": { + "AccessForbidden": { + "description": "Access forbidden, invalid API-KEY was used", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "NotFound": { + "description": "Resource was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "Conflict": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "InvalidDataError": { + "description": "Invalid data was sent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvalidError" + } + } + } + } + }, + "parameters": { + "resourceId": { + "name": "id", + "in": "path", + "description": "The resource identifier string", + "required": true, + "schema": { + "type": "string" + } + }, + "collectionLimit": { + "name": "limit", + "in": "query", + "description": "The collection items limit", + "schema": { + "type": "integer", + "minimum": 0, + "maximum": 1000 + } + }, + "collectionOffset": { + "name": "offset", + "in": "query", + "description": "The collection items offset", + "schema": { + "type": "integer", + "minimum": 0 + } + }, + "collectionFilter": { + "name": "filter", + "in": "query", + "description": "The collection items filter requires a special format.\nUse \",\" for multiple allowed values. Use \";\" for multiple fields.\nSee the filter guide for more options and examples about this format.\n", + "schema": { + "type": "string" + } + }, + "collectionQuery": { + "name": "q", + "in": "query", + "description": "The partial search of the text fields.", + "schema": { + "type": "string" + } + }, + "collectionCriteria": { + "name": "criteria", + "in": "query", + "description": "The json criteria for collection", + "schema": { + "type": "string" + } + }, + "collectionSort": { + "name": "sort", + "in": "query", + "description": "The collection items sort field and order (prefix with \"-\" for descending sort).", + "style": "form", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "collectionFields": { + "name": "fields", + "in": "query", + "description": "Limit the returned fields to the list specified, separated by comma. Note that id is always returned.", + "schema": { + "type": "string" + } + }, + "collectionExpand": { + "name": "expand", + "in": "query", + "description": "Expand response to get full related object instead of ID. See the expand guide for more info.", + "schema": { + "type": "string" + } + }, + "systemEventType": { + "name": "eventType", + "in": "path", + "description": "The event type", + "required": true, + "schema": { + "type": "string" + } + }, + "rulesVersion": { + "name": "version", + "in": "path", + "required": true, + "description": "The rule set version. Expand response to get full related object instead of ID. See the expand guide for more info.", + "schema": { + "type": "integer", + "minimum": 1 + } + }, + "hash": { + "name": "hash", + "in": "path", + "description": "The token identifier string", + "required": true, + "schema": { + "type": "string" + } + }, + "mediaType": { + "name": "Accept", + "in": "header", + "description": "The response media type", + "schema": { + "type": "string", + "enum": [ + "application/json" + ], + "default": "application/json" + } + } + }, + "requestBodies": { + "ApiKey": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiKey" + } + } + }, + "description": "ApiKey resource", + "required": true + }, + "Attachment": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Attachment" + } + } + }, + "description": "Attachment resource", + "required": true + }, + "BankAccount": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BankAccount" + } + } + }, + "description": "BankAccount resource", + "required": true + }, + "Blacklist": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Blacklist" + } + } + }, + "description": "Blacklist resource", + "required": true + }, + "CheckoutPage": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CheckoutPage" + } + } + }, + "description": "Checkout Page resource", + "required": true + }, + "Contact": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Contact" + } + } + }, + "description": "Contact resource", + "required": true + }, + "Coupon": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Coupon" + } + } + }, + "description": "Coupon resource", + "required": true + }, + "Credential": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Credential" + } + } + }, + "description": "Credential resource", + "required": true + }, + "CustomEvent": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomEvent" + } + } + }, + "description": "Custom event resource", + "required": true + }, + "RuleSet": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RuleSet" + } + } + }, + "description": "Set of rules resource", + "required": true + }, + "Customer": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Customer" + } + } + }, + "description": "Customer resource", + "required": true + }, + "LeadSource": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadSource" + } + } + }, + "description": "Lead Source resource", + "required": true + }, + "Dispute": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Dispute" + } + } + }, + "description": "Dispute resource", + "required": true + }, + "GatewayAccount": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GatewayAccount" + } + } + }, + "description": "Gateway Account resource", + "required": true + }, + "Invoice": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Invoice" + } + } + }, + "description": "Invoice resource", + "required": true + }, + "Layout": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Layout" + } + } + }, + "description": "Layout resource", + "required": true + }, + "List": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/List" + } + } + }, + "description": "List resource", + "required": true + }, + "Note": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Note" + } + } + }, + "description": "Note resource", + "required": true + }, + "Organization": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Organization" + } + } + }, + "description": "Organization resource", + "required": true + }, + "Payment": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Payment" + } + } + }, + "description": "Payment resource", + "required": true + }, + "Plan": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Plan" + } + } + }, + "description": "Plan resource", + "required": true + }, + "GlobalWebhook": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalWebhook" + } + } + }, + "description": "Webhook resource", + "required": true + }, + "Product": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Product" + } + } + }, + "description": "Product resource", + "required": true + }, + "UpdatePassword": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdatePassword" + } + } + }, + "description": "currentPassword and newPassword", + "required": true + }, + "Subscription": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Subscription" + } + } + }, + "description": "Subscription resource", + "required": true + }, + "PaymentToken": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentToken" + } + } + }, + "description": "PaymentToken resource", + "required": true + }, + "User": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/User" + } + } + }, + "description": "User resource", + "required": true + }, + "Website": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Website" + } + } + }, + "description": "Website resource", + "required": true + } + }, + "securitySchemes": { + "ApiKey": { + "description": "When you sign up for an account, you are given your first API key.\nTo do so please follow this link: https://www.rebilly.com/site/signup/\nAlso you can generate additional API keys, and delete API keys (as you may\nneed to rotate your keys in the future).\n", + "name": "REB-APIKEY", + "type": "apiKey", + "in": "header" + }, + "JWT": { + "description": "You can create a JSON Web Token (JWT) via our Sessions resource.\n", + "type": "http", + "scheme": "basic" + }, + "RebAuth": { + "description": "Only for the Tokens resource.\nThe REB-AUTH value is created in this way\nGenerate a Nonce (random string), and a Timestamp (unix timestamp)\nConcatenate the values of ApiUser, Nonce, and Timestamp (in that order).\nUse that value as the input data when you calculate the HMAC-SHA1 with your secret key, called the signature.\nForming the four data points into a JSON object.\n\n```json\n{\n \"REB-APIUSER\": \"abcdefg\",\n \"REB-NONCE\": \"adfsjtreitou345fgkdafgj\",\n \"REB-TIMESTAMP\": \"1382591345\",\n \"REB-SIGNATURE\": \"a234fc95460401cfg09c9d09\"\n}\n```\n\nThen base64 encode that JSON object. This is the final value of the REB-AUTH HTTP header\n", + "name": "REB-AUTH", + "type": "apiKey", + "in": "header" + } + } + } +} diff --git a/packages/test-app/src/components/Layout.tsx b/packages/test-app/src/components/Layout.tsx index 01cbbde..656bf5b 100644 --- a/packages/test-app/src/components/Layout.tsx +++ b/packages/test-app/src/components/Layout.tsx @@ -2,15 +2,19 @@ import { Masthead, MastheadBrand, MastheadContent, + MastheadLogo, MastheadMain, MastheadToggle, Page, + PageSidebar, + PageSidebarBody, PageToggleButton, Switch, ToggleGroup, ToggleGroupItem, Toolbar, ToolbarContent, + ToolbarGroup, ToolbarItem, } from "@patternfly/react-core"; import BarsIcon from "@patternfly/react-icons/dist/esm/icons/bars-icon"; @@ -20,10 +24,18 @@ import viteImg from "/vite.svg"; import { useAppContext } from "../AppContext.tsx"; export function Layout({ children }: { children: ReactNode }) { - const [isSidebarOpen, setIsSidebarOpen] = useState(true); + const [isSidebarOpen, setIsSidebarOpen] = useState(false); const [isLightMode, setIsLightMode] = useState(true); - const { showDebugger, setDebugger, showXStateInspector, setXStateInspector } = - useAppContext(); + const { + showDebugger, + setDebugger, + showXStateInspector, + setXStateInspector, + spec, + setSpec, + } = useAppContext(); + + const hasSpec = spec !== undefined; const onSidebarToggle = () => { setIsSidebarOpen(!isSidebarOpen); @@ -39,47 +51,53 @@ export function Layout({ children }: { children: ReactNode }) { const headerToolbar = ( - - - } - aria-label="Light mode" - isSelected={isLightMode} - onChange={() => { - setLightMode(true); - }} + + + setDebugger(v)} + isDisabled={!hasSpec} /> - } - aria-label="Dark mode" - isSelected={!isLightMode} - onChange={() => { - setLightMode(false); - }} + + + setXStateInspector(v)} + isDisabled={hasSpec} /> - - - - setDebugger(v)} - /> - - - setXStateInspector(v)} - /> - + + + + + + } + aria-label="Light mode" + isSelected={isLightMode} + onChange={() => { + setLightMode(true); + }} + /> + } + aria-label="Dark mode" + isSelected={!isLightMode} + onChange={() => { + setLightMode(false); + }} + /> + + + ); const masthead = ( - + - - + + setSpec(undefined)} component={"a"}> + + - {headerToolbar} + + {headerToolbar} + ); + const sidebar = ( + + Navigation + + ); + return ( - + {children} ); diff --git a/packages/test-app/src/components/SpecUploader.tsx b/packages/test-app/src/components/SpecUploader.tsx index 263aa53..50edf53 100644 --- a/packages/test-app/src/components/SpecUploader.tsx +++ b/packages/test-app/src/components/SpecUploader.tsx @@ -1,16 +1,25 @@ import { - Button, + Card, + CardBody, + CardFooter, + CardHeader, + CardTitle, FileUpload, FileUploadProps, Form, FormGroup, FormHelperText, + Gallery, HelperText, HelperTextItem, + Icon, PageSection, + Stack, + StackItem, + Title, } from "@patternfly/react-core"; import { useState } from "react"; -import REGISTRY_SPEC from "../_test-data/openapi-registry-v3.json"; +import { ExclamationTriangleIcon } from "@patternfly/react-icons"; export function SpecUploader({ previousSpec, @@ -54,8 +63,9 @@ export function SpecUploader({ setIsLoading(false); }; - const loadRegistrySpec = async () => { - const specContent: string = JSON.stringify(REGISTRY_SPEC); + const loadSpec = async (path: string) => { + const spec = await import(path); + const specContent: string = JSON.stringify(spec); onSpec(specContent); }; @@ -67,6 +77,7 @@ export function SpecUploader({ - {isRejected ? "Must be a YAML or JSON file" : "Upload a file"} + {isRejected ? "Must be a YAML or JSON file" : ""} @@ -99,7 +110,96 @@ export function SpecUploader({ - + + Spec samples + + + + loadSpec("../_test-data/openapi-registry-v3.json"), + selectableActionAriaLabelledby: "registry", + }} + > + Apicurio Registry v3 + + + This OpenAPI spec includes features like path-based operations + (CRUD for artifacts, rules, metadata), reusable components + (schemas, responses), query and path parameters, content + negotiation, version management, and detailed error handling. It + supports advanced features like artifact branching, global + rules, and admin tasks (export/import, configuration).{" "} + + + Document size: 190KB + + + + + loadSpec("../_test-data/rebilly-rest-api.json"), + selectableActionAriaLabelledby: "rebilly", + }} + > + Rebilly REST Api + + + The OpenAPI spec includes features like multi-server support, + detailed authentication options (API keys, JWT, client-side + HMAC), path-based operations with reusable components (schemas, + parameters, responses), error handling, pagination, + rate-limiting, and support for diverse resources (customers, + payments, subscriptions, files). It integrates customization + options like rules and custom fields.{" "} + + + Document size: 838KB + + + + + loadSpec("../_test-data/github-v3-rest-api.json"), + selectableActionAriaLabelledby: "github", + }} + > + GitHub v3 REST Api + + + This OpenAPI spec for GitHub's v3 REST API includes features + such as multi-server support, path-based operations with + reusable components (schemas, responses, parameters), + pagination, authentication mechanisms (OAuth, JWT), error + handling, and support for diverse resources (e.g., gists, repos, + issues, actions, and apps). It also provides extensive + documentation links, rate-limiting endpoints, and support for + metadata retrieval and customization options.{" "} + + + + + Document size: 11MB + + + + + {" "} + Editing this specification requires using the provided web + workers for optimal performance + + + + + + );